Searched refs:user_size (Results 1 – 2 of 2) sorted by relevance
1036 u32 user_size, dev_size; in ethtool_get_rxfh_indir() local1047 if (copy_from_user(&user_size, in ethtool_get_rxfh_indir()1049 sizeof(user_size))) in ethtool_get_rxfh_indir()1060 if (user_size < dev_size) in ethtool_get_rxfh_indir()1061 return user_size == 0 ? 0 : -EINVAL; in ethtool_get_rxfh_indir()1085 u32 user_size, dev_size, i; in ethtool_set_rxfh_indir() local1099 if (copy_from_user(&user_size, in ethtool_set_rxfh_indir()1101 sizeof(user_size))) in ethtool_set_rxfh_indir()1104 if (user_size != 0 && user_size != dev_size) in ethtool_set_rxfh_indir()1116 if (user_size == 0) { in ethtool_set_rxfh_indir()[all …]
271 unsigned int size, unsigned int user_size) in nft_extension_dump_info() argument280 info_size = user_size ? : size; in nft_extension_dump_info()