Lines Matching refs:sub_elem
2439 const struct element **sub_elem) in cfg80211_iter_profile_continuation() argument
2453 if (((*sub_elem)->data + (*sub_elem)->datalen < mbssid_end - 1) || in cfg80211_iter_profile_continuation()
2479 *sub_elem = next_sub; in cfg80211_iter_profile_continuation()
2485 const struct element *sub_elem, in cfg80211_merge_profile() argument
2488 size_t copied_len = sub_elem->datalen; in cfg80211_merge_profile()
2490 if (sub_elem->datalen > max_copy_len) in cfg80211_merge_profile()
2493 memcpy(merged_ie, sub_elem->data, sub_elem->datalen); in cfg80211_merge_profile()
2497 &sub_elem)) { in cfg80211_merge_profile()
2498 if (copied_len + sub_elem->datalen > max_copy_len) in cfg80211_merge_profile()
2500 memcpy(merged_ie + copied_len, sub_elem->data, in cfg80211_merge_profile()
2501 sub_elem->datalen); in cfg80211_merge_profile()
2502 copied_len += sub_elem->datalen; in cfg80211_merge_profile()