Home
last modified time | relevance | path

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

1234

/linux-6.1.9/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()
578 static int mptcp_setsockopt_sol_tcp_congestion(struct mptcp_sock *msk, sockptr_t optval, in mptcp_setsockopt_sol_tcp_congestion()
621 static int mptcp_setsockopt_sol_tcp_cork(struct mptcp_sock *msk, sockptr_t optval, in mptcp_setsockopt_sol_tcp_cork()
[all …]
/linux-6.1.9/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()
1014 int ipv6_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in ipv6_setsockopt()
1037 int optname, sockptr_t optval, int len) in ipv6_getsockopt_sticky()
[all …]
Draw.c945 sockptr_t optval, int optlen) in rawv6_seticmpfilter()
962 char __user *optval, int __user *optlen) in rawv6_geticmpfilter()
988 sockptr_t optval, unsigned int optlen) in do_rawv6_setsockopt()
1038 sockptr_t optval, unsigned int optlen) in rawv6_setsockopt()
1061 char __user *optval, int __user *optlen) in do_rawv6_getsockopt()
1099 char __user *optval, int __user *optlen) in rawv6_getsockopt()
/linux-6.1.9/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-6.1.9/net/sctp/
Dsocket.c1386 char __user *optval, in sctp_getsockopt_connectx3()
2256 static int sctp_setsockopt_autoclose(struct sock *sk, u32 *optval, in sctp_setsockopt_autoclose()
4557 sockptr_t optval, unsigned int optlen) in sctp_setsockopt()
5390 char __user *optval, in sctp_getsockopt_sctp_status()
5470 char __user *optval, in sctp_getsockopt_peer_addr_info()
5533 char __user *optval, int __user *optlen) in sctp_getsockopt_disable_fragments()
5554 static int sctp_getsockopt_events(struct sock *sk, int len, char __user *optval, in sctp_getsockopt_events()
5589 static int sctp_getsockopt_autoclose(struct sock *sk, int len, char __user *optval, int __user *opt… in sctp_getsockopt_autoclose()
5691 static int sctp_getsockopt_peeloff(struct sock *sk, int len, char __user *optval, int __user *optle… in sctp_getsockopt_peeloff()
5725 char __user *optval, int __user *optlen) in sctp_getsockopt_peeloff_flags()
[all …]
/linux-6.1.9/net/tls/
Dtls_main.c354 static int do_tls_getsockopt_conf(struct sock *sk, char __user *optval, in do_tls_getsockopt_conf()
583 static int do_tls_getsockopt_tx_zc(struct sock *sk, char __user *optval, in do_tls_getsockopt_tx_zc()
603 static int do_tls_getsockopt_no_pad(struct sock *sk, char __user *optval, in do_tls_getsockopt_no_pad()
634 char __user *optval, int __user *optlen) in do_tls_getsockopt()
658 char __user *optval, int __user *optlen) in tls_getsockopt()
669 static int do_tls_setsockopt_conf(struct sock *sk, sockptr_t optval, in do_tls_setsockopt_conf()
819 static int do_tls_setsockopt_tx_zc(struct sock *sk, sockptr_t optval, in do_tls_setsockopt_tx_zc()
839 static int do_tls_setsockopt_no_pad(struct sock *sk, sockptr_t optval, in do_tls_setsockopt_no_pad()
871 static int do_tls_setsockopt(struct sock *sk, int optname, sockptr_t optval, in do_tls_setsockopt()
900 sockptr_t optval, unsigned int optlen) in tls_setsockopt()
/linux-6.1.9/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.1.9/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-6.1.9/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, sockptr_t optval, in ip_get_mcast_msfilter()
1492 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.1.9/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.1.9/net/dccp/
Dproto.c402 sockptr_t optval, unsigned int optlen) in dccp_setsockopt_service()
472 sockptr_t optval, unsigned int optlen) in dccp_setsockopt_ccid()
497 sockptr_t optval, unsigned int optlen) in do_dccp_setsockopt()
562 int dccp_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in dccp_setsockopt()
575 __be32 __user *optval, in dccp_getsockopt_service()
603 char __user *optval, int __user *optlen) in do_dccp_getsockopt()
671 char __user *optval, int __user *optlen) in dccp_getsockopt()
/linux-6.1.9/include/linux/
Dmroute.h27 sockptr_t optval, unsigned int optlen) in ip_mroute_setsockopt()
33 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.h363 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
384 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, optlen, \ argument
400 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT_KERN(sock, level, optname, optval, \ argument
502 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, \ argument
504 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT_KERN(sock, level, optname, optval, \ argument
506 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
/linux-6.1.9/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.1.9/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.1.9/net/bluetooth/rfcomm/
Dsock.c627 sockptr_t optval, unsigned int optlen) in rfcomm_sock_setsockopt_old()
669 sockptr_t optval, unsigned int optlen) in rfcomm_sock_setsockopt()
737 static int rfcomm_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __… in rfcomm_sock_getsockopt_old()
812 static int rfcomm_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval,… in rfcomm_sock_getsockopt()
/linux-6.1.9/net/core/
Dsock.c359 int sock_get_timeout(long timeo, void *optval, bool old_timeval) in sock_get_timeout()
391 sockptr_t optval, int optlen, bool old_timeval) in sock_copy_user_timeval()
423 static int sock_set_timeout(long *timeo_p, sockptr_t optval, int optlen, in sock_set_timeout()
667 static int sock_setbindtodevice(struct sock *sk, sockptr_t optval, int optlen) in sock_setbindtodevice()
715 static int sock_getbindtodevice(struct sock *sk, sockptr_t optval, in sock_getbindtodevice()
1081 sockptr_t optval, unsigned int optlen) in sk_setsockopt()
1540 sockptr_t optval, unsigned int optlen) in sock_setsockopt()
1587 sockptr_t optval, sockptr_t optlen) in sk_getsockopt()
1954 char __user *optval, int __user *optlen) in sock_getsockopt()
3609 char __user *optval, int __user *optlen) in sock_common_getsockopt()
[all …]
/linux-6.1.9/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.1.9/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()

1234