Home
last modified time | relevance | path

Searched defs:optval (Results 1 – 25 of 95) sorted by relevance

1234

/linux-5.19.10/net/mptcp/
Dsockopt.c57 static int mptcp_get_int_option(struct mptcp_sock *msk, sockptr_t optval, in mptcp_get_int_option()
123 sockptr_t optval = KERNEL_SOCKPTR(&val); in mptcp_sol_socket_intval() local
147 sockptr_t optval = KERNEL_SOCKPTR(&val); in mptcp_setsockopt_sol_socket_tstamp() local
171 sockptr_t optval, in mptcp_setsockopt_sol_socket_int()
207 sockptr_t optval, in mptcp_setsockopt_sol_socket_timestamping()
249 static int mptcp_setsockopt_sol_socket_linger(struct mptcp_sock *msk, sockptr_t optval, in mptcp_setsockopt_sol_socket_linger()
291 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt_sol_socket()
387 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt_v6()
577 static int mptcp_setsockopt_sol_tcp_congestion(struct mptcp_sock *msk, sockptr_t optval, in mptcp_setsockopt_sol_tcp_congestion()
620 static int mptcp_setsockopt_sol_tcp_cork(struct mptcp_sock *msk, sockptr_t optval, in mptcp_setsockopt_sol_tcp_cork()
[all …]
/linux-5.19.10/net/ipv6/
Dipv6_sockglue.c142 sockptr_t optval, int optlen) in copy_group_source_from_sockptr()
165 sockptr_t optval, int optlen) in do_ipv6_mcast_group_source()
205 static int ipv6_set_mcast_msfilter(struct sock *sk, sockptr_t optval, in ipv6_set_mcast_msfilter()
236 static int compat_ipv6_set_mcast_msfilter(struct sock *sk, sockptr_t optval, 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()
320 static int ipv6_set_opt_hdr(struct sock *sk, int optname, sockptr_t optval, in ipv6_set_opt_hdr()
395 sockptr_t optval, unsigned int optlen) in do_ipv6_setsockopt()
1010 int ipv6_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in ipv6_setsockopt()
1033 int optname, char __user *optval, int len) in ipv6_getsockopt_sticky()
[all …]
Draw.c941 sockptr_t optval, int optlen) in rawv6_seticmpfilter()
958 char __user *optval, int __user *optlen) in rawv6_geticmpfilter()
984 sockptr_t optval, unsigned int optlen) in do_rawv6_setsockopt()
1034 sockptr_t optval, unsigned int optlen) in rawv6_setsockopt()
1057 char __user *optval, int __user *optlen) in do_rawv6_getsockopt()
1095 char __user *optval, int __user *optlen) in rawv6_getsockopt()
/linux-5.19.10/tools/testing/selftests/bpf/progs/
Dsockopt_multi.c12 __u8 *optval = ctx->optval; in _getsockopt_child() local
35 __u8 *optval = ctx->optval; in _getsockopt_parent() local
58 __u8 *optval = ctx->optval; in _setsockopt() local
Dsockopt_sk.c33 __u8 *optval = ctx->optval; in _getsockopt() local
132 __u8 *optval = ctx->optval; in _setsockopt() local
Dsockopt_inherit.c55 __u8 *optval = ctx->optval; in _getsockopt() local
80 __u8 *optval = ctx->optval; in _setsockopt() local
Dsockopt_qos_to_cc.c16 int *optval = ctx->optval; in sockopt_qos_to_cc() local
/linux-5.19.10/net/sctp/
Dsocket.c1385 char __user *optval, in sctp_getsockopt_connectx3()
2258 static int sctp_setsockopt_autoclose(struct sock *sk, u32 *optval, in sctp_setsockopt_autoclose()
4559 sockptr_t optval, unsigned int optlen) in sctp_setsockopt()
5392 char __user *optval, in sctp_getsockopt_sctp_status()
5472 char __user *optval, in sctp_getsockopt_peer_addr_info()
5535 char __user *optval, int __user *optlen) in sctp_getsockopt_disable_fragments()
5556 static int sctp_getsockopt_events(struct sock *sk, int len, char __user *optval, in sctp_getsockopt_events()
5591 static int sctp_getsockopt_autoclose(struct sock *sk, int len, char __user *optval, int __user *opt… in sctp_getsockopt_autoclose()
5693 static int sctp_getsockopt_peeloff(struct sock *sk, int len, char __user *optval, int __user *optle… in sctp_getsockopt_peeloff()
5727 char __user *optval, int __user *optlen) in sctp_getsockopt_peeloff_flags()
[all …]
/linux-5.19.10/net/ipv4/bpfilter/
Dsockopt.c24 static int bpfilter_mbox_request(struct sock *sk, int optname, sockptr_t optval, in bpfilter_mbox_request()
54 int bpfilter_ip_set_sockopt(struct sock *sk, int optname, sockptr_t optval, in bpfilter_ip_set_sockopt()
60 int bpfilter_ip_get_sockopt(struct sock *sk, int optname, char __user *optval, in bpfilter_ip_get_sockopt()
/linux-5.19.10/net/rds/
Daf_rds.c293 static int rds_cancel_sent_to(struct rds_sock *rs, sockptr_t optval, int len) in rds_cancel_sent_to()
330 static int rds_set_bool_option(unsigned char *optvar, sockptr_t optval, 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()
381 static int rds_enable_recvtstamp(struct sock *sk, sockptr_t optval, in rds_enable_recvtstamp()
405 static int rds_recv_track_latency(struct rds_sock *rs, sockptr_t optval, 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()
Drdma.c356 int rds_get_mr(struct rds_sock *rs, sockptr_t optval, int optlen) in rds_get_mr()
369 int rds_get_mr_for_dest(struct rds_sock *rs, sockptr_t optval, int optlen) in rds_get_mr_for_dest()
396 int rds_free_mr(struct rds_sock *rs, sockptr_t optval, int optlen) in rds_free_mr()
/linux-5.19.10/net/tls/
Dtls_main.c335 static int do_tls_getsockopt_conf(struct sock *sk, char __user *optval, in do_tls_getsockopt_conf()
516 static int do_tls_getsockopt_tx_zc(struct sock *sk, char __user *optval, in do_tls_getsockopt_tx_zc()
537 char __user *optval, int __user *optlen) in do_tls_getsockopt()
558 char __user *optval, int __user *optlen) in tls_getsockopt()
569 static int do_tls_setsockopt_conf(struct sock *sk, sockptr_t optval, in do_tls_setsockopt_conf()
701 static int do_tls_setsockopt_tx_zc(struct sock *sk, sockptr_t optval, in do_tls_setsockopt_tx_zc()
721 static int do_tls_setsockopt(struct sock *sk, int optname, sockptr_t optval, in do_tls_setsockopt()
747 sockptr_t optval, unsigned int optlen) in tls_setsockopt()
/linux-5.19.10/net/ipv4/
Dip_sockglue.c698 sockptr_t optval, int optlen) in copy_group_source_from_sockptr()
721 sockptr_t optval, int optlen) in do_mcast_group_source()
768 static int ip_set_mcast_msfilter(struct sock *sk, sockptr_t optval, int optlen) in ip_set_mcast_msfilter()
800 static int compat_ip_set_mcast_msfilter(struct sock *sk, sockptr_t optval, in compat_ip_set_mcast_msfilter()
845 sockptr_t optval, int optlen) in ip_mcast_join_leave()
867 sockptr_t optval, int optlen) in compat_ip_mcast_join_leave()
892 sockptr_t optval, unsigned int optlen) in do_ip_setsockopt()
1424 int ip_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in ip_setsockopt()
1465 static int ip_get_mcast_msfilter(struct sock *sk, void __user *optval, in ip_get_mcast_msfilter()
1491 static int compat_ip_get_mcast_msfilter(struct sock *sk, void __user *optval, in compat_ip_get_mcast_msfilter()
[all …]
Draw.c789 static int raw_seticmpfilter(struct sock *sk, sockptr_t optval, int optlen) in raw_seticmpfilter()
798 static int raw_geticmpfilter(struct sock *sk, char __user *optval, int __user *optlen) in raw_geticmpfilter()
818 sockptr_t optval, unsigned int optlen) in do_raw_setsockopt()
830 sockptr_t optval, unsigned int optlen) in raw_setsockopt()
838 char __user *optval, int __user *optlen) in do_raw_getsockopt()
850 char __user *optval, int __user *optlen) in raw_getsockopt()
/linux-5.19.10/net/dccp/
Dproto.c403 sockptr_t optval, unsigned int optlen) in dccp_setsockopt_service()
473 sockptr_t optval, unsigned int optlen) in dccp_setsockopt_ccid()
498 sockptr_t optval, unsigned int optlen) in do_dccp_setsockopt()
563 int dccp_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in dccp_setsockopt()
576 __be32 __user *optval, in dccp_getsockopt_service()
604 char __user *optval, int __user *optlen) in do_dccp_getsockopt()
672 char __user *optval, int __user *optlen) in dccp_getsockopt()
/linux-5.19.10/include/net/
Dbond_options.h125 static inline void __bond_opt_init(struct bond_opt_value *optval, in __bond_opt_init()
138 #define bond_opt_initval(optval, value) __bond_opt_init(optval, NULL, value, NULL, 0) argument
139 #define bond_opt_initstr(optval, str) __bond_opt_init(optval, str, ULLONG_MAX, NULL, 0) argument
140 #define bond_opt_initextra(optval, extra, extra_len) \ argument
/linux-5.19.10/include/linux/
Dmroute.h27 sockptr_t optval, unsigned int optlen) in ip_mroute_setsockopt()
33 char __user *optval, int __user *optlen) in ip_mroute_getsockopt()
Dmroute6.h38 sockptr_t optval, unsigned int optlen) in ip6_mroute_setsockopt()
45 int optname, char __user *optval, int __user *optlen) in ip6_mroute_getsockopt()
Dbpf-cgroup.h356 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
377 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, optlen, \ argument
393 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT_KERN(sock, level, optname, optval, \ argument
478 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, \ argument
480 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT_KERN(sock, level, optname, optval, \ argument
482 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
/linux-5.19.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_main.c467 static int do_chtls_getsockopt(struct sock *sk, char __user *optval, 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()
/linux-5.19.10/net/atm/
Dpvc.c66 sockptr_t optval, unsigned int optlen) in pvc_setsockopt()
78 char __user *optval, int __user *optlen) in pvc_getsockopt()
/linux-5.19.10/net/bluetooth/rfcomm/
Dsock.c622 sockptr_t optval, unsigned int optlen) in rfcomm_sock_setsockopt_old()
664 sockptr_t optval, unsigned int optlen) in rfcomm_sock_setsockopt()
732 static int rfcomm_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __… in rfcomm_sock_getsockopt_old()
807 static int rfcomm_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval,… in rfcomm_sock_getsockopt()
/linux-5.19.10/net/dccp/ccids/
Dccid3.c458 u8 option, u8 *optval, u8 optlen) in ccid3_hc_tx_parse_options()
521 u32 __user *optval, int __user *optlen) in ccid3_hc_tx_getsockopt()
816 u32 __user *optval, int __user *optlen) in ccid3_hc_rx_getsockopt()
/linux-5.19.10/net/bluetooth/
Dl2cap_sock.c453 char __user *optval, int __user *optlen) in l2cap_sock_getsockopt_old()
572 char __user *optval, int __user *optlen) in l2cap_sock_getsockopt()
742 sockptr_t optval, unsigned int optlen) in l2cap_sock_setsockopt_old()
898 sockptr_t optval, unsigned int optlen) in l2cap_sock_setsockopt()
/linux-5.19.10/net/ieee802154/
Dsocket.c378 char __user *optval, int __user *optlen) in raw_getsockopt()
384 sockptr_t optval, unsigned int optlen) in raw_setsockopt()
827 char __user *optval, int __user *optlen) in dgram_getsockopt()
874 sockptr_t optval, unsigned int optlen) in dgram_setsockopt()

1234