Home
last modified time | relevance | path

Searched refs:need_padding (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/net/wireless/marvell/libertas_tf/
Dmain.c492 int need_padding; in lbtf_rx() local
519 need_padding = ieee80211_is_data_qos(hdr->frame_control); in lbtf_rx()
520 need_padding ^= ieee80211_has_a4(hdr->frame_control); in lbtf_rx()
521 need_padding ^= ieee80211_is_data_qos(hdr->frame_control) && in lbtf_rx()
525 if (need_padding) { in lbtf_rx()
/linux-5.19.10/drivers/net/wireless/purelifi/plfxlc/
Dmac.c409 int need_padding; in plfxlc_mac_rx() local
450 need_padding = ieee80211_is_data_qos(fc) ^ ieee80211_has_a4(fc); in plfxlc_mac_rx()
489 skb = dev_alloc_skb(payload_length + (need_padding ? 2 : 0)); in plfxlc_mac_rx()
493 if (need_padding) in plfxlc_mac_rx()
/linux-5.19.10/drivers/net/wireless/zydas/zd1211rw/
Dzd_mac.c1023 int need_padding; in zd_mac_rx() local
1080 need_padding = ieee80211_is_data_qos(fc) ^ ieee80211_has_a4(fc); in zd_mac_rx()
1082 skb = dev_alloc_skb(length + (need_padding ? 2 : 0)); in zd_mac_rx()
1085 if (need_padding) { in zd_mac_rx()
/linux-5.19.10/net/ceph/
Dmessenger_v2.c374 static bool need_padding(int len) in need_padding() function
879 sg_cnt = need_padding(buf_len) ? 1 : 0; in calc_sg_cnt()
899 sg_cnt = need_padding(data_len) ? 1 : 0; in calc_sg_cnt_cursor()
935 if (need_padding(buf_len)) { in init_sgs()
958 if (need_padding(data_len)) { in init_sgs_cursor()
1202 if (need_padding(rem_len)) in prepare_head_secure_big()