Lines Matching refs:i
200 unsigned int i; in strset_cleanup_data() local
202 for (i = 0; i < ETH_SS_COUNT; i++) in strset_cleanup_data()
203 if (data->sets[i].free_strings) { in strset_cleanup_data()
204 kfree(data->sets[i].strings); in strset_cleanup_data()
205 data->sets[i].strings = NULL; in strset_cleanup_data()
206 data->sets[i].free_strings = false; in strset_cleanup_data()
257 unsigned int i; in strset_prepare_data() local
264 for (i = 0; i < ETH_SS_COUNT; i++) { in strset_prepare_data()
265 if ((req_info->req_ids & (1U << i)) && in strset_prepare_data()
266 data->sets[i].per_dev) { in strset_prepare_data()
278 for (i = 0; i < ETH_SS_COUNT; i++) { in strset_prepare_data()
279 if (!strset_include(req_info, data, i) || in strset_prepare_data()
280 !data->sets[i].per_dev) in strset_prepare_data()
283 ret = strset_prepare_set(&data->sets[i], dev, i, in strset_prepare_data()
302 unsigned int i; in strset_set_size() local
309 for (i = 0; i < info->count; i++) { in strset_set_size()
310 const char *str = info->strings[i]; in strset_set_size()
327 unsigned int i; in strset_reply_size() local
333 for (i = 0; i < ETH_SS_COUNT; i++) { in strset_reply_size()
334 const struct strset_info *set_info = &data->sets[i]; in strset_reply_size()
336 if (!strset_include(req_info, data, i)) in strset_reply_size()
378 unsigned int i; in strset_fill_set() local
396 for (i = 0; i < set_info->count; i++) { in strset_fill_set()
397 if (strset_fill_string(skb, set_info, i) < 0) in strset_fill_set()
418 unsigned int i; in strset_fill_reply() local
425 for (i = 0; i < ETH_SS_COUNT; i++) { in strset_fill_reply()
426 if (strset_include(req_info, data, i)) { in strset_fill_reply()
427 ret = strset_fill_set(skb, &data->sets[i], i, in strset_fill_reply()