Searched refs:num_elems (Results 1 – 2 of 2) sorted by relevance
313 int i, maxpages, ret = 0, num_elems = sk_msg_elem_used(msg); in sk_msg_zerocopy_from_iter() local321 maxpages = to_max_pages - num_elems; in sk_msg_zerocopy_from_iter()348 num_elems++; in sk_msg_zerocopy_from_iter()
5345 u8 num_elems) in nl80211_parse_mbssid_config() argument5362 if (num_elems > wiphy->ema_max_profile_periodicity) in nl80211_parse_mbssid_config()5368 (!config->index && !num_elems)) in nl80211_parse_mbssid_config()5410 u8 i = 0, num_elems = 0; in nl80211_parse_mbssid_elems() local5416 num_elems++; in nl80211_parse_mbssid_elems()5418 elems = kzalloc(struct_size(elems, elem, num_elems), GFP_KERNEL); in nl80211_parse_mbssid_elems()5427 elems->cnt = num_elems; in nl80211_parse_mbssid_elems()