Home
last modified time | relevance | path

Searched refs:size_user (Results 1 – 2 of 2) sorted by relevance

/net/mptcp/
Dsockopt.c1038 sfd->size_user > INT_MAX) in mptcp_get_subflow_data()
1066 sfd.size_user = min_t(unsigned int, sfd.size_user, in mptcp_getsockopt_tcpinfo()
1078 if (len && len >= sfd.size_user) { in mptcp_getsockopt_tcpinfo()
1083 if (copy_to_user(infoptr, &info, sfd.size_user)) { in mptcp_getsockopt_tcpinfo()
1088 infoptr += sfd.size_user; in mptcp_getsockopt_tcpinfo()
1089 copied += sfd.size_user; in mptcp_getsockopt_tcpinfo()
1090 len -= sfd.size_user; in mptcp_getsockopt_tcpinfo()
1158 sfd.size_user = min_t(unsigned int, sfd.size_user, in mptcp_getsockopt_subflow_addrs()
1170 if (len && len >= sfd.size_user) { in mptcp_getsockopt_subflow_addrs()
1175 if (copy_to_user(addrptr, &a, sfd.size_user)) { in mptcp_getsockopt_subflow_addrs()
[all …]
/net/bridge/netfilter/
Debtables.c2198 static int compat_copy_entries(unsigned char *data, unsigned int size_user, in compat_copy_entries() argument
2201 unsigned int size_remaining = size_user; in compat_copy_entries()
2204 ret = EBT_ENTRY_ITERATE(data, size_user, size_entry_mwt, data, in compat_copy_entries()