Searched refs:user_size (Results 1 – 3 of 3) sorted by relevance
1049 u32 user_size, dev_size; in ethtool_get_rxfh_indir() local1060 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() local1112 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 …]
253 u32 user_size = kattr->test.data_size_in; in bpf_test_init() local259 if (user_size > size) in bpf_test_init()267 if (copy_from_user(data + headroom, data_in, user_size)) { in bpf_test_init()
318 unsigned int size, unsigned int user_size) in nft_extension_dump_info() argument327 info_size = user_size ? : size; in nft_extension_dump_info()