Home
last modified time | relevance | path

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

1234

/linux-6.6.21/net/mptcp/
Dsockopt.c58 static int mptcp_get_int_option(struct mptcp_sock *msk, sockptr_t optval, in mptcp_get_int_option()
125 sockptr_t optval = KERNEL_SOCKPTR(&val); in mptcp_sol_socket_intval() local
149 sockptr_t optval = KERNEL_SOCKPTR(&val); in mptcp_setsockopt_sol_socket_tstamp() local
173 sockptr_t optval, in mptcp_setsockopt_sol_socket_int()
209 sockptr_t optval, in mptcp_setsockopt_sol_socket_timestamping()
251 static int mptcp_setsockopt_sol_socket_linger(struct mptcp_sock *msk, sockptr_t optval, in mptcp_setsockopt_sol_socket_linger()
293 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt_sol_socket()
390 sockptr_t optval, unsigned int optlen) in mptcp_setsockopt_v6()
583 static int mptcp_setsockopt_sol_tcp_congestion(struct mptcp_sock *msk, sockptr_t optval, in mptcp_setsockopt_sol_tcp_congestion()
626 static int mptcp_setsockopt_sol_tcp_cork(struct mptcp_sock *msk, sockptr_t optval, in mptcp_setsockopt_sol_tcp_cork()
[all …]
/linux-6.6.21/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()
1001 int ipv6_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in ipv6_setsockopt()
1024 int optname, sockptr_t optval, int len) in ipv6_getsockopt_sticky()
[all …]
Draw.c939 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()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dsockopt_multi.c14 __u8 *optval = ctx->optval; in _getsockopt_child() local
43 __u8 *optval = ctx->optval; in _getsockopt_parent() local
72 __u8 *optval = ctx->optval; in _setsockopt() local
Dsockopt_sk.c33 __u8 *optval = ctx->optval; in _getsockopt() local
143 __u8 *optval = ctx->optval; in _setsockopt() local
Dsockopt_inherit.c57 __u8 *optval = ctx->optval; in _getsockopt() local
88 __u8 *optval = ctx->optval; in _setsockopt() local
Dsockopt_qos_to_cc.c18 int *optval = ctx->optval; in sockopt_qos_to_cc() local
/linux-6.6.21/net/sctp/
Dsocket.c1387 char __user *optval, in sctp_getsockopt_connectx3()
2268 static int sctp_setsockopt_autoclose(struct sock *sk, u32 *optval, in sctp_setsockopt_autoclose()
4570 sockptr_t optval, unsigned int optlen) in sctp_setsockopt()
5408 char __user *optval, in sctp_getsockopt_sctp_status()
5488 char __user *optval, in sctp_getsockopt_peer_addr_info()
5551 char __user *optval, int __user *optlen) in sctp_getsockopt_disable_fragments()
5572 static int sctp_getsockopt_events(struct sock *sk, int len, char __user *optval, in sctp_getsockopt_events()
5607 static int sctp_getsockopt_autoclose(struct sock *sk, int len, char __user *optval, int __user *opt… in sctp_getsockopt_autoclose()
5709 static int sctp_getsockopt_peeloff(struct sock *sk, int len, char __user *optval, int __user *optle… in sctp_getsockopt_peeloff()
5743 char __user *optval, int __user *optlen) in sctp_getsockopt_peeloff_flags()
[all …]
/linux-6.6.21/net/ipv4/bpfilter/
Dsockopt.c15 static int bpfilter_mbox_request(struct sock *sk, int optname, sockptr_t optval, in bpfilter_mbox_request()
45 int bpfilter_ip_set_sockopt(struct sock *sk, int optname, sockptr_t optval, in bpfilter_ip_set_sockopt()
51 int bpfilter_ip_get_sockopt(struct sock *sk, int optname, char __user *optval, in bpfilter_ip_get_sockopt()
/linux-6.6.21/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-6.6.21/net/tls/
Dtls_main.c438 static int do_tls_getsockopt_conf(struct sock *sk, char __user *optval, in do_tls_getsockopt_conf()
499 static int do_tls_getsockopt_tx_zc(struct sock *sk, char __user *optval, in do_tls_getsockopt_tx_zc()
519 static int do_tls_getsockopt_no_pad(struct sock *sk, char __user *optval, 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()
588 static int do_tls_setsockopt_conf(struct sock *sk, sockptr_t optval, in do_tls_setsockopt_conf()
715 static int do_tls_setsockopt_tx_zc(struct sock *sk, sockptr_t optval, in do_tls_setsockopt_tx_zc()
735 static int do_tls_setsockopt_no_pad(struct sock *sk, sockptr_t optval, in do_tls_setsockopt_no_pad()
767 static int do_tls_setsockopt(struct sock *sk, int optname, sockptr_t optval, in do_tls_setsockopt()
796 sockptr_t optval, unsigned int optlen) in tls_setsockopt()
/linux-6.6.21/net/ipv4/
Dip_sockglue.c701 sockptr_t optval, int optlen) in copy_group_source_from_sockptr()
724 sockptr_t optval, int optlen) in do_mcast_group_source()
771 static int ip_set_mcast_msfilter(struct sock *sk, sockptr_t optval, int optlen) in ip_set_mcast_msfilter()
803 static int compat_ip_set_mcast_msfilter(struct sock *sk, sockptr_t optval, 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()
1411 int ip_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in ip_setsockopt()
1452 static int ip_get_mcast_msfilter(struct sock *sk, sockptr_t optval, in ip_get_mcast_msfilter()
1479 static int compat_ip_get_mcast_msfilter(struct sock *sk, sockptr_t 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-6.6.21/include/net/
Dbond_options.h138 static inline void __bond_opt_init(struct bond_opt_value *optval, in __bond_opt_init()
152 #define bond_opt_initval(optval, value) __bond_opt_init(optval, NULL, value, NULL, 0) argument
153 #define bond_opt_initstr(optval, str) __bond_opt_init(optval, str, ULLONG_MAX, NULL, 0) argument
154 #define bond_opt_initextra(optval, extra, extra_len) \ argument
156 #define bond_opt_slave_initval(optval, slave_dev, value) \ argument
/linux-6.6.21/net/dccp/
Dproto.c415 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()
575 int dccp_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in dccp_setsockopt()
588 __be32 __user *optval, 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()
/linux-6.6.21/include/linux/
Dmroute.h28 sockptr_t optval, unsigned int optlen) in ip_mroute_setsockopt()
34 sockptr_t optval, sockptr_t optlen) in ip_mroute_getsockopt()
Dmroute6.h38 sockptr_t optval, unsigned int optlen) in ip6_mroute_setsockopt()
45 int optname, sockptr_t optval, sockptr_t optlen) in ip6_mroute_getsockopt()
Dbpf-cgroup.h364 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
385 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, optlen, \ argument
401 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT_KERN(sock, level, optname, optval, \ argument
503 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, \ argument
505 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT_KERN(sock, level, optname, optval, \ argument
507 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
/linux-6.6.21/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-6.6.21/net/atm/
Dpvc.c66 sockptr_t optval, unsigned int optlen) in pvc_setsockopt()
78 char __user *optval, int __user *optlen) in pvc_getsockopt()
/linux-6.6.21/net/bluetooth/rfcomm/
Dsock.c620 sockptr_t optval, unsigned int optlen) in rfcomm_sock_setsockopt_old()
662 sockptr_t optval, unsigned int optlen) in rfcomm_sock_setsockopt()
730 static int rfcomm_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __… in rfcomm_sock_getsockopt_old()
805 static int rfcomm_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval,… in rfcomm_sock_getsockopt()
/linux-6.6.21/net/core/
Dsock.c364 int sock_get_timeout(long timeo, void *optval, bool old_timeval) in sock_get_timeout()
396 sockptr_t optval, int optlen, bool old_timeval) in sock_copy_user_timeval()
428 static int sock_set_timeout(long *timeo_p, sockptr_t optval, int optlen, in sock_set_timeout()
674 static int sock_setbindtodevice(struct sock *sk, sockptr_t optval, int optlen) in sock_setbindtodevice()
722 static int sock_getbindtodevice(struct sock *sk, sockptr_t optval, in sock_getbindtodevice()
1097 sockptr_t optval, unsigned int optlen) in sk_setsockopt()
1558 sockptr_t optval, unsigned int optlen) in sock_setsockopt()
1605 sockptr_t optval, sockptr_t optlen) in sk_getsockopt()
2022 char __user *optval, int __user *optlen) in sock_getsockopt()
3676 char __user *optval, int __user *optlen) in sock_common_getsockopt()
[all …]
/linux-6.6.21/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-6.6.21/net/bluetooth/
Dl2cap_sock.c435 char __user *optval, int __user *optlen) in l2cap_sock_getsockopt_old()
554 char __user *optval, int __user *optlen) in l2cap_sock_getsockopt()
724 sockptr_t optval, unsigned int optlen) in l2cap_sock_setsockopt_old()
880 sockptr_t optval, unsigned int optlen) in l2cap_sock_setsockopt()

1234