/openbmc/linux/net/sctp/ |
H A D | socket.c | 2220 unsigned int optlen) in sctp_setsockopt_events() 3019 unsigned int optlen) in sctp_setsockopt_primary_addr() 3844 unsigned int optlen) in sctp_setsockopt_auto_asconf() 3962 unsigned int optlen) in sctp_setsockopt_pr_supported() 4289 unsigned int optlen) in sctp_setsockopt_event() 5573 int __user *optlen) in sctp_getsockopt_events() 6426 int __user *optlen) in sctp_getsockopt_default_send_param() 6552 int __user *optlen) { in sctp_getsockopt_rtoinfo() 7324 int __user *optlen) in sctp_getsockopt_pr_supported() 7749 int __user *optlen) in sctp_getsockopt_event() [all …]
|
/openbmc/linux/net/mptcp/ |
H A D | sockopt.c | 59 unsigned int optlen, int *val) in mptcp_get_int_option() 174 unsigned int optlen) in mptcp_setsockopt_sol_socket_int() 208 unsigned int optlen) in mptcp_setsockopt_sol_socket_timestamping() 250 unsigned int optlen) in mptcp_setsockopt_sol_socket_linger() 995 int __user *optlen) in mptcp_put_subflow_data() 1015 int __user *optlen) in mptcp_get_subflow_data() 1052 int __user *optlen) in mptcp_getsockopt_tcpinfo() 1144 int __user *optlen) in mptcp_getsockopt_subflow_addrs() 1198 int __user *optlen) in mptcp_get_full_info() 1230 int __user *optlen) in mptcp_put_full_info() [all …]
|
/openbmc/linux/net/ipv6/ |
H A D | ipv6_sockglue.c | 142 sockptr_t optval, int optlen) in copy_group_source_from_sockptr() 165 sockptr_t optval, int optlen) in do_ipv6_mcast_group_source() 206 int optlen) in ipv6_set_mcast_msfilter() 237 int optlen) in compat_ipv6_set_mcast_msfilter() 281 sockptr_t optval, int optlen) in ipv6_mcast_join_leave() 301 sockptr_t optval, int optlen) in compat_ipv6_mcast_join_leave() 321 int optlen) in ipv6_set_opt_hdr() 1002 unsigned int optlen) in ipv6_setsockopt() 1058 sockptr_t optlen, int len) in ipv6_get_msfilter() 1087 sockptr_t optlen, int len) in compat_ipv6_get_msfilter() [all …]
|
H A D | raw.c | 939 sockptr_t optval, int optlen) in rawv6_seticmpfilter() 956 char __user *optval, int __user *optlen) in rawv6_geticmpfilter() 982 sockptr_t optval, unsigned int optlen) in do_rawv6_setsockopt() 1032 sockptr_t optval, unsigned int optlen) in rawv6_setsockopt() 1055 char __user *optval, int __user *optlen) in do_rawv6_getsockopt() 1093 char __user *optval, int __user *optlen) in rawv6_getsockopt()
|
/openbmc/linux/net/ipv4/bpfilter/ |
H A D | sockopt.c | 16 unsigned int optlen, bool is_set) in bpfilter_mbox_request() 46 unsigned int optlen) in bpfilter_ip_set_sockopt() 52 int __user *optlen) in bpfilter_ip_get_sockopt()
|
/openbmc/linux/net/tls/ |
H A D | tls_main.c | 439 int __user *optlen, int tx) in do_tls_getsockopt_conf() 500 int __user *optlen) in do_tls_getsockopt_tx_zc() 520 int __user *optlen) in do_tls_getsockopt_no_pad() 548 char __user *optval, int __user *optlen) in do_tls_getsockopt() 577 char __user *optval, int __user *optlen) in tls_getsockopt() 589 unsigned int optlen, int tx) in do_tls_setsockopt_conf() 716 unsigned int optlen) in do_tls_setsockopt_tx_zc() 736 unsigned int optlen) in do_tls_setsockopt_no_pad() 768 unsigned int optlen) in do_tls_setsockopt() 796 sockptr_t optval, unsigned int optlen) in tls_setsockopt()
|
/openbmc/linux/net/ipv4/ |
H A D | ip_sockglue.c | 701 sockptr_t optval, int optlen) in copy_group_source_from_sockptr() 724 sockptr_t optval, int optlen) in do_mcast_group_source() 804 int optlen) in compat_ip_set_mcast_msfilter() 848 sockptr_t optval, int optlen) in ip_mcast_join_leave() 870 sockptr_t optval, int optlen) in compat_ip_mcast_join_leave() 895 sockptr_t optval, unsigned int optlen) in do_ip_setsockopt() 1412 unsigned int optlen) in ip_setsockopt() 1453 sockptr_t optlen, int len) in ip_get_mcast_msfilter() 1480 sockptr_t optlen, int len) in compat_ip_get_mcast_msfilter() 1515 sockptr_t optval, sockptr_t optlen) in do_ip_getsockopt() [all …]
|
H A D | ip_options.c | 82 int optlen; in __ip_options_echo() local 200 int optlen; in ip_options_fragment() local 250 int optlen, l; in __ip_options_compile() local 513 sockptr_t data, int optlen) in ip_options_get()
|
H A D | raw.c | 793 static int raw_seticmpfilter(struct sock *sk, sockptr_t optval, int optlen) in raw_seticmpfilter() 802 static int raw_geticmpfilter(struct sock *sk, char __user *optval, int __user *optlen) in raw_geticmpfilter() 822 sockptr_t optval, unsigned int optlen) in do_raw_setsockopt() 834 sockptr_t optval, unsigned int optlen) in raw_setsockopt() 842 char __user *optval, int __user *optlen) in do_raw_getsockopt() 854 char __user *optval, int __user *optlen) in raw_getsockopt()
|
/openbmc/linux/net/rds/ |
H A D | af_rds.c | 331 int optlen) in rds_set_bool_option() 343 static int rds_cong_monitor(struct rds_sock *rs, sockptr_t optval, int optlen) in rds_cong_monitor() 360 static int rds_set_transport(struct rds_sock *rs, sockptr_t optval, int optlen) in rds_set_transport() 382 int optlen, int optname) in rds_enable_recvtstamp() 406 int optlen) in rds_recv_track_latency() 433 sockptr_t optval, unsigned int optlen) in rds_setsockopt() 484 char __user *optval, int __user *optlen) in rds_getsockopt()
|
H A D | rdma.c | 359 int rds_get_mr(struct rds_sock *rs, sockptr_t optval, int optlen) in rds_get_mr() 372 int rds_get_mr_for_dest(struct rds_sock *rs, sockptr_t optval, int optlen) in rds_get_mr_for_dest() 399 int rds_free_mr(struct rds_sock *rs, sockptr_t optval, int optlen) in rds_free_mr()
|
/openbmc/linux/net/dccp/ |
H A D | proto.c | 415 sockptr_t optval, unsigned int optlen) in dccp_setsockopt_service() 485 sockptr_t optval, unsigned int optlen) in dccp_setsockopt_ccid() 510 sockptr_t optval, unsigned int optlen) in do_dccp_setsockopt() 576 unsigned int optlen) in dccp_setsockopt() 589 int __user *optlen) in dccp_getsockopt_service() 616 char __user *optval, int __user *optlen) in do_dccp_getsockopt() 684 char __user *optval, int __user *optlen) in dccp_getsockopt()
|
/openbmc/linux/samples/bpf/ |
H A D | test_cgrp2_sock.c | 132 socklen_t optlen = len; in get_bind_to_device() local 146 socklen_t optlen = sizeof(mark); in get_somark() local 159 socklen_t optlen = sizeof(prio); in get_priority() local
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockopt_multi.c | 12 socklen_t optlen; in run_getsockopt_test() local 163 socklen_t optlen; in run_setsockopt_test() local
|
H A D | cgroup_getset_retval.c | 330 socklen_t optlen = sizeof(buf); in test_getsockopt_get() local 372 socklen_t optlen = sizeof(buf); in test_getsockopt_override() local 411 socklen_t optlen = sizeof(buf); in test_getsockopt_retval_sync() local
|
H A D | sk_storage_omem_uncharge.c | 13 socklen_t optlen; in test_sk_storage_omem_uncharge() local
|
H A D | sockopt_qos_to_cc.c | 9 socklen_t optlen; in run_setsockopt_test() local
|
/openbmc/linux/drivers/net/ppp/ |
H A D | ppp_mppe.c | 171 static void *mppe_alloc(unsigned char *options, int optlen) in mppe_alloc() 250 mppe_init(void *arg, unsigned char *options, int optlen, int unit, int debug, in mppe_init() 308 mppe_comp_init(void *arg, unsigned char *options, int optlen, int unit, in mppe_comp_init() 414 mppe_decomp_init(void *arg, unsigned char *options, int optlen, int unit, in mppe_decomp_init()
|
/openbmc/linux/include/linux/ |
H A D | mroute.h | 28 sockptr_t optval, unsigned int optlen) in ip_mroute_setsockopt() 34 sockptr_t optval, sockptr_t optlen) in ip_mroute_getsockopt()
|
H A D | mroute6.h | 38 sockptr_t optval, unsigned int optlen) in ip6_mroute_setsockopt() 45 int optname, sockptr_t optval, sockptr_t optlen) in ip6_mroute_getsockopt()
|
H A D | bpf-cgroup.h | 365 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument 378 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, optlen, \ argument 395 optlen, retval) \ argument 496 optlen, max_optlen, retval) ({ retval; }) argument 498 optlen, retval) ({ retval; }) argument 499 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
|
/openbmc/linux/net/atm/ |
H A D | pvc.c | 66 sockptr_t optval, unsigned int optlen) in pvc_setsockopt() 78 char __user *optval, int __user *optlen) in pvc_getsockopt()
|
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_main.c | 468 int __user *optlen) in do_chtls_getsockopt() 479 char __user *optval, int __user *optlen) in chtls_getsockopt() 491 sockptr_t optval, unsigned int optlen) in do_chtls_setsockopt() 570 sockptr_t optval, unsigned int optlen) in chtls_setsockopt()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_hdr_options.c | 164 __u8 optlen; in synack_opt_len() local 208 __u8 optlen; in syn_opt_len() local 236 __u8 optlen; in fin_opt_len() local
|
/openbmc/linux/net/bluetooth/rfcomm/ |
H A D | sock.c | 620 sockptr_t optval, unsigned int optlen) in rfcomm_sock_setsockopt_old() 662 sockptr_t optval, unsigned int optlen) in rfcomm_sock_setsockopt() 726 …comm_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __user *optlen) in rfcomm_sock_getsockopt_old() 801 …ck_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) in rfcomm_sock_getsockopt()
|