Searched refs:size_user (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/tools/testing/selftests/net/mptcp/ |
D | mptcp_sockopt.c | 60 __u32 size_user; /* size of one element in data[] */ member 259 assert(bd.d.size_user == 0); in do_getsockopt_bogus_sf_data() 295 bd.d.size_user = 1; in do_getsockopt_bogus_sf_data() 344 ti.d.size_user = sizeof(struct tcp_info); in do_getsockopt_tcp_info() 352 assert(ti.d.size_user == ti.d.size_kernel); in do_getsockopt_tcp_info() 353 assert(ti.d.size_user == sizeof(struct tcp_info)); in do_getsockopt_tcp_info() 396 addrs.d.size_user = sizeof(struct mptcp_subflow_addrs); in do_getsockopt_subflow_addrs() 404 assert(addrs.d.size_user == addrs.d.size_kernel); in do_getsockopt_subflow_addrs() 405 assert(addrs.d.size_user == sizeof(struct mptcp_subflow_addrs)); in do_getsockopt_subflow_addrs() 432 addrs.d.size_user = sizeof(sa_family_t); in do_getsockopt_subflow_addrs()
|
/linux-5.19.10/net/mptcp/ |
D | sockopt.c | 964 sfd->size_user > INT_MAX) in mptcp_get_subflow_data() 992 sfd.size_user = min_t(unsigned int, sfd.size_user, in mptcp_getsockopt_tcpinfo() 1004 if (len && len >= sfd.size_user) { in mptcp_getsockopt_tcpinfo() 1009 if (copy_to_user(infoptr, &info, sfd.size_user)) { in mptcp_getsockopt_tcpinfo() 1014 infoptr += sfd.size_user; in mptcp_getsockopt_tcpinfo() 1015 copied += sfd.size_user; in mptcp_getsockopt_tcpinfo() 1016 len -= sfd.size_user; in mptcp_getsockopt_tcpinfo() 1084 sfd.size_user = min_t(unsigned int, sfd.size_user, in mptcp_getsockopt_subflow_addrs() 1096 if (len && len >= sfd.size_user) { in mptcp_getsockopt_subflow_addrs() 1101 if (copy_to_user(addrptr, &a, sfd.size_user)) { in mptcp_getsockopt_subflow_addrs() [all …]
|
/linux-5.19.10/include/uapi/linux/ |
D | mptcp.h | 219 __u32 size_user; /* size of one element in data[] */ member
|
/linux-5.19.10/net/bridge/netfilter/ |
D | ebtables.c | 2193 static int compat_copy_entries(unsigned char *data, unsigned int size_user, in compat_copy_entries() argument 2196 unsigned int size_remaining = size_user; in compat_copy_entries() 2199 ret = EBT_ENTRY_ITERATE(data, size_user, size_entry_mwt, data, in compat_copy_entries()
|