/kernel/linux/linux-5.10/include/linux/ |
D | sockptr.h | 53 static inline int copy_from_sockptr(void *dst, sockptr_t src, size_t size) in copy_from_sockptr() function 73 if (copy_from_sockptr(p, src, len)) { in memdup_sockptr() 86 if (copy_from_sockptr(p, src, len)) { in memdup_sockptr_nul()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | ipv6_sockglue.c | 147 if (copy_from_sockptr(&gr32, optval, sizeof(gr32))) in copy_group_source_from_sockptr() 155 if (copy_from_sockptr(greqs, optval, sizeof(*greqs))) in copy_group_source_from_sockptr() 254 if (copy_from_sockptr(gf32, optval, optlen)) in compat_ipv6_set_mcast_msfilter() 286 if (copy_from_sockptr(&greq, optval, sizeof(greq))) in ipv6_mcast_join_leave() 306 if (copy_from_sockptr(&gr32, optval, sizeof(gr32))) in compat_ipv6_mcast_join_leave() 405 if (copy_from_sockptr(&val, optval, sizeof(val))) in do_ipv6_setsockopt() 679 if (copy_from_sockptr(&pkt, optval, sizeof(pkt))) { in do_ipv6_setsockopt() 722 if (copy_from_sockptr(opt + 1, optval, optlen)) in do_ipv6_setsockopt() 844 if (copy_from_sockptr(&mreq, optval, sizeof(struct ipv6_mreq))) in do_ipv6_setsockopt() 862 if (copy_from_sockptr(&mreq, optval, sizeof(struct ipv6_mreq))) in do_ipv6_setsockopt()
|
D | ip6mr.c | 1669 if (copy_from_sockptr(&vif, optval, sizeof(vif))) in ip6_mroute_setsockopt() 1682 if (copy_from_sockptr(&mifi, optval, sizeof(mifi_t))) in ip6_mroute_setsockopt() 1701 if (copy_from_sockptr(&mfc, optval, sizeof(mfc))) in ip6_mroute_setsockopt() 1722 if (copy_from_sockptr(&flags, optval, sizeof(flags))) in ip6_mroute_setsockopt() 1739 if (copy_from_sockptr(&v, optval, sizeof(v))) in ip6_mroute_setsockopt() 1752 if (copy_from_sockptr(&v, optval, sizeof(v))) in ip6_mroute_setsockopt() 1773 if (copy_from_sockptr(&v, optval, sizeof(v))) in ip6_mroute_setsockopt()
|
D | raw.c | 985 if (copy_from_sockptr(&raw6_sk(sk)->filter, optval, optlen)) in rawv6_seticmpfilter() 1030 if (copy_from_sockptr(&val, optval, sizeof(val))) in do_rawv6_setsockopt()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ip_sockglue.c | 706 if (copy_from_sockptr(&gr32, optval, sizeof(gr32))) in copy_group_source_from_sockptr() 714 if (copy_from_sockptr(greqs, optval, sizeof(*greqs))) in copy_group_source_from_sockptr() 820 if (copy_from_sockptr(gf32, optval, optlen)) in compat_ip_set_mcast_msfilter() 853 if (copy_from_sockptr(&greq, optval, sizeof(greq))) in ip_mcast_join_leave() 875 if (copy_from_sockptr(&greq, optval, sizeof(greq))) in compat_ip_mcast_join_leave() 924 if (copy_from_sockptr(&val, optval, sizeof(val))) in do_ip_setsockopt() 929 if (copy_from_sockptr(&ucval, optval, sizeof(ucval))) in do_ip_setsockopt() 1151 if (copy_from_sockptr(&mreq, optval, sizeof(mreq))) in do_ip_setsockopt() 1156 if (copy_from_sockptr(&mreq, optval, in do_ip_setsockopt() 1160 if (copy_from_sockptr(&mreq.imr_address, optval, in do_ip_setsockopt() [all …]
|
D | ipmr.c | 1420 if (copy_from_sockptr(&vif, optval, sizeof(vif))) { in ip_mroute_setsockopt() 1448 if (copy_from_sockptr(&mfc, optval, sizeof(mfc))) { in ip_mroute_setsockopt() 1466 if (copy_from_sockptr(&val, optval, sizeof(val))) { in ip_mroute_setsockopt() 1478 if (copy_from_sockptr(&val, optval, sizeof(val))) { in ip_mroute_setsockopt() 1493 if (copy_from_sockptr(&val, optval, sizeof(val))) { in ip_mroute_setsockopt() 1515 if (copy_from_sockptr(&uval, optval, sizeof(uval))) { in ip_mroute_setsockopt()
|
/kernel/linux/linux-5.10/net/rds/ |
D | af_rds.c | 310 if (copy_from_sockptr(&sin, optval, in rds_cancel_sent_to() 318 if (copy_from_sockptr(&sin6, optval, in rds_cancel_sent_to() 337 if (copy_from_sockptr(&value, optval, sizeof(int))) in rds_set_bool_option() 370 if (copy_from_sockptr(&t_type, optval, sizeof(t_type))) in rds_set_transport() 389 if (copy_from_sockptr(&val, optval, sizeof(int))) in rds_enable_recvtstamp() 414 if (copy_from_sockptr(&trace, optval, sizeof(trace))) in rds_recv_track_latency()
|
D | rdma.c | 363 if (copy_from_sockptr(&args, optval, sizeof(struct rds_get_mr_args))) in rds_get_mr() 377 if (copy_from_sockptr(&args, optval, in rds_get_mr_for_dest() 405 if (copy_from_sockptr(&args, optval, sizeof(struct rds_free_mr_args))) in rds_free_mr()
|
/kernel/linux/linux-5.10/net/can/ |
D | raw.c | 545 if (copy_from_sockptr(&sfilter, optval, sizeof(sfilter))) in raw_setsockopt() 607 if (copy_from_sockptr(&err_mask, optval, optlen)) in raw_setsockopt() 653 if (copy_from_sockptr(&ro->loopback, optval, optlen)) in raw_setsockopt() 662 if (copy_from_sockptr(&ro->recv_own_msgs, optval, optlen)) in raw_setsockopt() 671 if (copy_from_sockptr(&ro->fd_frames, optval, optlen)) in raw_setsockopt() 680 if (copy_from_sockptr(&ro->join_filters, optval, optlen)) in raw_setsockopt()
|
D | isotp.c | 1200 if (copy_from_sockptr(&so->opt, optval, optlen)) in isotp_setsockopt() 1212 if (copy_from_sockptr(&so->rxfc, optval, optlen)) in isotp_setsockopt() 1220 if (copy_from_sockptr(&so->force_tx_stmin, optval, optlen)) in isotp_setsockopt() 1228 if (copy_from_sockptr(&so->force_rx_stmin, optval, optlen)) in isotp_setsockopt() 1236 if (copy_from_sockptr(&ll, optval, optlen)) in isotp_setsockopt()
|
/kernel/linux/linux-5.10/net/bluetooth/ |
D | l2cap_sock.c | 774 if (copy_from_sockptr(&opts, optval, len)) { in l2cap_sock_setsockopt_old() 820 if (copy_from_sockptr(&opt, optval, sizeof(u32))) { in l2cap_sock_setsockopt_old() 931 if (copy_from_sockptr(&sec, optval, len)) { in l2cap_sock_setsockopt() 979 if (copy_from_sockptr(&opt, optval, sizeof(u32))) { in l2cap_sock_setsockopt() 994 if (copy_from_sockptr(&opt, optval, sizeof(u32))) { in l2cap_sock_setsockopt() 1030 if (copy_from_sockptr(&pwr, optval, len)) { in l2cap_sock_setsockopt() 1042 if (copy_from_sockptr(&opt, optval, sizeof(u32))) { in l2cap_sock_setsockopt() 1090 if (copy_from_sockptr(&mtu, optval, sizeof(u16))) { in l2cap_sock_setsockopt() 1121 if (copy_from_sockptr(&mode, optval, sizeof(u8))) { in l2cap_sock_setsockopt()
|
D | sco.c | 849 if (copy_from_sockptr(&opt, optval, sizeof(u32))) { in sco_sock_setsockopt() 870 if (copy_from_sockptr(&voice, optval, len)) { in sco_sock_setsockopt() 886 if (copy_from_sockptr(&opt, optval, sizeof(u32))) { in sco_sock_setsockopt()
|
D | hci_sock.c | 1888 if (copy_from_sockptr(&opt, optval, sizeof(opt))) { in hci_sock_setsockopt() 1900 if (copy_from_sockptr(&opt, optval, sizeof(opt))) { in hci_sock_setsockopt() 1922 if (copy_from_sockptr(&uf, optval, len)) { in hci_sock_setsockopt()
|
/kernel/linux/linux-5.10/net/packet/ |
D | af_packet.c | 1580 if (copy_from_sockptr(&fd, data, len)) in fanout_set_data_ebpf() 3730 if (copy_from_sockptr(&mreq, optval, len)) in packet_setsockopt() 3761 if (copy_from_sockptr(&req_u.req, optval, len)) in packet_setsockopt() 3776 if (copy_from_sockptr(&val, optval, sizeof(val))) in packet_setsockopt() 3788 if (copy_from_sockptr(&val, optval, sizeof(val))) in packet_setsockopt() 3814 if (copy_from_sockptr(&val, optval, sizeof(val))) in packet_setsockopt() 3834 if (copy_from_sockptr(&val, optval, sizeof(val))) in packet_setsockopt() 3853 if (copy_from_sockptr(&val, optval, sizeof(val))) in packet_setsockopt() 3867 if (copy_from_sockptr(&val, optval, sizeof(val))) in packet_setsockopt() 3883 if (copy_from_sockptr(&val, optval, sizeof(val))) in packet_setsockopt() [all …]
|
/kernel/linux/linux-5.10/net/core/ |
D | sock.c | 375 if (copy_from_sockptr(&tv32, optval, sizeof(tv32))) in sock_set_timeout() 384 if (copy_from_sockptr(&old_tv, optval, sizeof(old_tv))) in sock_set_timeout() 391 if (copy_from_sockptr(&tv, optval, sizeof(tv))) in sock_set_timeout() 623 if (copy_from_sockptr(devname, optval, optlen)) in sock_setbindtodevice() 851 if (copy_from_sockptr(&val, optval, sizeof(val))) in sock_setsockopt() 964 if (copy_from_sockptr(&ling, optval, sizeof(ling))) { in sock_setsockopt() 1077 if (copy_from_sockptr(&ufd, optval, sizeof(ufd))) in sock_setsockopt() 1098 if (copy_from_sockptr(&ufd, optval, sizeof(ufd))) in sock_setsockopt() 1178 copy_from_sockptr(&ulval, optval, sizeof(ulval))) { in sock_setsockopt() 1221 } else if (copy_from_sockptr(&sk_txtime, optval, in sock_setsockopt()
|
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/ |
D | sock.c | 660 if (copy_from_sockptr(&opt, optval, sizeof(u32))) { in rfcomm_sock_setsockopt_old() 718 if (copy_from_sockptr(&sec, optval, len)) { in rfcomm_sock_setsockopt() 737 if (copy_from_sockptr(&opt, optval, sizeof(u32))) { in rfcomm_sock_setsockopt()
|
/kernel/linux/linux-5.10/net/atm/ |
D | svc.c | 467 if (copy_from_sockptr(&vcc->sap, optval, optlen)) { in svc_setsockopt() 478 if (copy_from_sockptr(&value, optval, sizeof(int))) { in svc_setsockopt()
|
D | common.c | 763 if (copy_from_sockptr(&qos, optval, sizeof(qos))) in vcc_setsockopt() 777 if (copy_from_sockptr(&value, optval, sizeof(value))) in vcc_setsockopt()
|
/kernel/linux/linux-5.10/net/xdp/ |
D | xsk.c | 839 if (copy_from_sockptr(&entries, optval, sizeof(entries))) in xsk_setsockopt() 866 if (copy_from_sockptr(&mr, optval, mr_size)) in xsk_setsockopt() 893 if (copy_from_sockptr(&entries, optval, sizeof(entries))) in xsk_setsockopt()
|
/kernel/linux/linux-5.10/net/rxrpc/ |
D | af_rxrpc.c | 643 ret = copy_from_sockptr(&min_sec_level, optval, in rxrpc_setsockopt() 662 if (copy_from_sockptr(service_upgrade, optval, in rxrpc_setsockopt()
|
/kernel/linux/linux-5.10/net/caif/ |
D | caif_socket.c | 689 if (copy_from_sockptr(&linksel, ov, sizeof(int))) in setsockopt() 703 copy_from_sockptr(&cf_sk->conn_req.param.data, ov, ol)) { in setsockopt()
|
/kernel/linux/linux-5.10/net/nfc/ |
D | llcp_sock.c | 250 if (copy_from_sockptr(&opt, optval, sizeof(u32))) { in nfc_llcp_setsockopt() 272 if (copy_from_sockptr(&opt, optval, sizeof(u32))) { in nfc_llcp_setsockopt()
|
/kernel/linux/linux-5.10/net/can/j1939/ |
D | socket.c | 655 if (copy_from_sockptr(&tmp, optval, optlen)) in j1939_sk_setsockopt_flag() 724 if (copy_from_sockptr(&tmp, optval, optlen)) in j1939_sk_setsockopt()
|
/kernel/linux/linux-5.10/net/bridge/netfilter/ |
D | ebtables.c | 1072 if (copy_from_sockptr(&tmp, arg, sizeof(tmp)) != 0) in do_replace() 1316 if (copy_from_sockptr(&hlp, arg, sizeof(hlp))) in update_counters() 2112 if (copy_from_sockptr(&tmp, arg, sizeof(tmp))) in compat_copy_ebt_replace_from_user() 2246 if (copy_from_sockptr(&hlp, arg, sizeof(hlp))) in compat_update_counters()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_main.c | 506 rc = copy_from_sockptr(&tmp_crypto_info, optval, sizeof(*crypto_info)); in do_chtls_setsockopt()
|