Home
last modified time | relevance | path

Searched refs:user_size (Results 1 – 3 of 3) sorted by relevance

/net/ethtool/
Dioctl.c1049 u32 user_size, dev_size; in ethtool_get_rxfh_indir() local
1060 if (copy_from_user(&user_size, in ethtool_get_rxfh_indir()
1062 sizeof(user_size))) in ethtool_get_rxfh_indir()
1073 if (user_size < dev_size) in ethtool_get_rxfh_indir()
1074 return user_size == 0 ? 0 : -EINVAL; in ethtool_get_rxfh_indir()
1098 u32 user_size, dev_size, i; in ethtool_set_rxfh_indir() local
1112 if (copy_from_user(&user_size, in ethtool_set_rxfh_indir()
1114 sizeof(user_size))) in ethtool_set_rxfh_indir()
1117 if (user_size != 0 && user_size != dev_size) in ethtool_set_rxfh_indir()
1129 if (user_size == 0) { in ethtool_set_rxfh_indir()
[all …]
/net/bpf/
Dtest_run.c253 u32 user_size = kattr->test.data_size_in; in bpf_test_init() local
259 if (user_size > size) in bpf_test_init()
267 if (copy_from_user(data + headroom, data_in, user_size)) { in bpf_test_init()
/net/netfilter/
Dnft_compat.c318 unsigned int size, unsigned int user_size) in nft_extension_dump_info() argument
327 info_size = user_size ? : size; in nft_extension_dump_info()