Searched refs:cur_len (Results 1 – 2 of 2) sorted by relevance
/net/wireless/ |
D | util.c | 702 int cur_len; in __ieee80211_amsdu_copy_frag() local 719 cur_len = min(len, frag_len); in __ieee80211_amsdu_copy_frag() 721 __frame_add_frag(frame, frag_page, frag_ptr, cur_len, frag_size); in __ieee80211_amsdu_copy_frag() 722 len -= cur_len; in __ieee80211_amsdu_copy_frag() 726 cur_len = min(len, frag_len); in __ieee80211_amsdu_copy_frag() 728 skb_frag_address(frag), cur_len, frag_len); in __ieee80211_amsdu_copy_frag() 729 len -= cur_len; in __ieee80211_amsdu_copy_frag() 740 int cur_len = len; in __ieee80211_amsdu_copy() local 751 cur_len = min_t(int, len, min_len); in __ieee80211_amsdu_copy() 757 frame = dev_alloc_skb(hlen + sizeof(struct ethhdr) + 2 + cur_len); in __ieee80211_amsdu_copy() [all …]
|
/net/bluetooth/ |
D | mgmt.c | 8459 int i, cur_len; in tlv_data_is_valid() local 8468 for (i = 0; i < len; i += (cur_len + 1)) { in tlv_data_is_valid() 8469 cur_len = data[i]; in tlv_data_is_valid() 8471 if (!cur_len) in tlv_data_is_valid() 8494 if (i + cur_len >= len) in tlv_data_is_valid()
|