Home
last modified time | relevance | path

Searched refs:tail_len (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.12.1/arch/riscv/lib/
Dcrc32.c182 size_t offset, head_len, tail_len; in crc32_le_generic() local
199 tail_len = len & OFFSET_MASK; in crc32_le_generic()
211 if (tail_len) in crc32_le_generic()
212 crc = crc32_le_unaligned(crc, p, tail_len, poly, poly_qt); in crc32_le_generic()
258 size_t offset, head_len, tail_len; in crc32_be() local
275 tail_len = len & OFFSET_MASK; in crc32_be()
287 if (tail_len) in crc32_be()
288 crc = crc32_be_unaligned(crc, p, tail_len); in crc32_be()
/linux-6.12.1/drivers/net/ethernet/intel/fm10k/
Dfm10k_mbx.c338 if (!mbx->tail_len) in fm10k_mbx_write_copy()
343 len = mbx->tail_len; in fm10k_mbx_write_copy()
389 mbx->pulled += mbx->tail_len - ack; in fm10k_mbx_pull_head()
399 mbx->tail_len = len; in fm10k_mbx_pull_head()
619 u16 len = mbx->tail_len - fm10k_mbx_index_len(mbx, head, mbx->tail); in fm10k_mbx_update_local_crc()
774 if (!mbx->tail_len) in fm10k_mbx_enqueue_tx()
859 if (mbx->tail_len) in fm10k_mbx_create_data_hdr()
864 mbx->tail_len, mbx->local); in fm10k_mbx_create_data_hdr()
975 if (fm10k_mbx_index_len(mbx, head, mbx->tail) > mbx->tail_len) in fm10k_mbx_validate_msg_hdr()
1030 if (mbx->tail_len || (mbx->state == FM10K_STATE_OPEN)) in fm10k_mbx_create_reply()
[all …]
Dfm10k_mbx.h266 u16 tail, tail_len, pulled; member
/linux-6.12.1/fs/reiserfs/
Dtail_conversion.c215 int tail_len, round_tail_len; in indirect2direct() local
228 tail_len = (n_new_file_size & (block_size - 1)); in indirect2direct()
230 round_tail_len = ROUND_UP(tail_len); in indirect2direct()
232 round_tail_len = tail_len; in indirect2direct()
Dstree.c1599 int tail_len; in indirect_to_direct_roll_back() local
1606 tail_len = in indirect_to_direct_roll_back()
1608 while (tail_len) { in indirect_to_direct_roll_back()
1623 || removed > tail_len, in indirect_to_direct_roll_back()
1625 tail_len, removed); in indirect_to_direct_roll_back()
1626 tail_len -= removed; in indirect_to_direct_roll_back()
/linux-6.12.1/include/trace/events/
Dsunrpc.h66 __field(size_t, tail_len)
79 __entry->tail_len = xdr->tail[0].iov_len;
90 __entry->tail_base, __entry->tail_len,
685 __field(size_t, tail_len)
717 __entry->tail_len = xdr->buf->tail[0].iov_len,
728 __entry->tail_base, __entry->tail_len,
751 __field(size_t, tail_len)
775 __entry->tail_len = xdr->buf->tail[0].iov_len,
786 __entry->tail_base, __entry->tail_len,
1584 __field(size_t, tail_len)
[all …]
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/
Die.c326 if (!info->tail || !info->tail_len) in mwifiex_uap_parse_tail_ies()
333 left_len = info->tail_len; in mwifiex_uap_parse_tail_ies()
384 info->tail, info->tail_len); in mwifiex_uap_parse_tail_ies()
Duap_cmd.c152 params->beacon.tail_len); in mwifiex_set_ht_params()
176 params->beacon.tail_len); in mwifiex_set_vht_params()
198 params->beacon.tail_len); in mwifiex_set_tpc_params()
260 params->beacon.tail_len); in mwifiex_set_uap_rates()
380 params->beacon.tail_len); in mwifiex_set_wmm_params()
447 beacon_data->tail_len); in mwifiex_config_uap_11d()
/linux-6.12.1/net/ceph/
Dmessenger_v2.c1133 int tail_len; in decrypt_tail() local
1136 tail_len = tail_onwire_len(con->in_msg, true); in decrypt_tail()
1138 con->v2.in_enc_page_cnt, 0, tail_len, in decrypt_tail()
1156 ret = gcm_crypt(con, false, enc_sgt.sgl, sgt.sgl, tail_len); in decrypt_tail()
1669 int tail_len; in prepare_message_secure() local
1677 tail_len = tail_onwire_len(con->out_msg, true); in prepare_message_secure()
1678 if (!tail_len) { in prepare_message_secure()
1693 enc_page_cnt = calc_pages_for(0, tail_len); in prepare_message_secure()
1703 con->v2.out_enc_resid = tail_len; in prepare_message_secure()
1707 0, tail_len, GFP_NOIO); in prepare_message_secure()
[all …]
Dosd_client.c2263 int oloc_len, oid_len, tail_len; in encode_request_finish() local
2289 tail_len = partial_end - p; in encode_request_finish()
2314 memmove(p, tail, tail_len); in encode_request_finish()
2315 p += tail_len; in encode_request_finish()
/linux-6.12.1/fs/btrfs/
Dreflink.c662 u64 i, tail_len, chunk_count; in btrfs_extent_same() local
677 tail_len = olen % BTRFS_MAX_DEDUPE_LEN; in btrfs_extent_same()
690 if (tail_len > 0) in btrfs_extent_same()
691 ret = btrfs_extent_same_range(src, loff, tail_len, dst, dst_loff); in btrfs_extent_same()
Dfile.c2630 u64 tail_len; in btrfs_punch_hole() local
2711 tail_len = offset + len - tail_start; in btrfs_punch_hole()
2712 if (tail_len) { in btrfs_punch_hole()
2713 ret = find_first_non_hole(BTRFS_I(inode), &tail_start, &tail_len); in btrfs_punch_hole()
2718 if (tail_start + tail_len < ino_size) { in btrfs_punch_hole()
2721 tail_start + tail_len, in btrfs_punch_hole()
/linux-6.12.1/net/mac80211/
Dmesh.c950 int head_len, tail_len; in ieee80211_mesh_build_beacon() local
980 tail_len = 2 + (IEEE80211_MAX_SUPP_RATES - 8) + in ieee80211_mesh_build_beacon()
997 bcn = kzalloc(sizeof(*bcn) + head_len + tail_len, GFP_KERNEL); in ieee80211_mesh_build_beacon()
999 skb = __dev_alloc_skb(max(head_len, tail_len), GFP_KERNEL); in ieee80211_mesh_build_beacon()
1124 bcn->tail_len = skb->len; in ieee80211_mesh_build_beacon()
1125 memcpy(bcn->tail, skb->data, bcn->tail_len); in ieee80211_mesh_build_beacon()
1126 ieee80211_mesh_update_bss_params(sdata, bcn->tail, bcn->tail_len); in ieee80211_mesh_build_beacon()
1437 bcn->head_len + bcn->tail_len); in ieee80211_mesh_rx_probe_req()
1443 skb_put_data(presp, bcn->tail, bcn->tail_len); in ieee80211_mesh_rx_probe_req()
Dcfg.c1123 new_tail_len = params->tail_len; in ieee80211_assign_beacon()
1125 new_tail_len = old->tail_len; in ieee80211_assign_beacon()
1163 new->tail_len = new_tail_len; in ieee80211_assign_beacon()
1166 u8 *pos = new->tail + new->tail_len; in ieee80211_assign_beacon()
3534 len = beacon->head_len + beacon->tail_len + beacon->beacon_ies_len + in cfg80211_beacon_dup()
3577 if (beacon->tail_len) { in cfg80211_beacon_dup()
3578 new_beacon->tail_len = beacon->tail_len; in cfg80211_beacon_dup()
3580 memcpy(pos, beacon->tail, beacon->tail_len); in cfg80211_beacon_dup()
3581 pos += beacon->tail_len; in cfg80211_beacon_dup()
Dtx.c4997 beacon_data_len = beacon->tail_len; in ieee80211_set_beacon_cntdwn()
5129 beacon_data_len = beacon->tail_len; in ieee80211_beacon_cntdwn_is_complete()
5324 beacon->tail_len + 256 + in ieee80211_beacon_get_ap()
5349 skb_put_data(skb, beacon->tail, beacon->tail_len); in ieee80211_beacon_get_ap()
5510 beacon->tail_len + in __ieee80211_beacon_get()
5524 skb_put_data(skb, beacon->tail, beacon->tail_len); in __ieee80211_beacon_get()
/linux-6.12.1/fs/ntfs3/
Drun.c322 CLST tail_vcn = 0, tail_len = 0, tail_lcn = 0; in run_add_entry() local
440 tail_len = r->len - Tovcn; in run_add_entry()
478 !run_add_entry(run, tail_vcn, tail_lcn, tail_len, is_mft)) in run_add_entry()
/linux-6.12.1/drivers/net/wireless/ath/ath12k/
Ddp_tx.c129 static void *ath12k_dp_metadata_align_skb(struct sk_buff *skb, u8 tail_len) in ath12k_dp_metadata_align_skb() argument
134 if (unlikely(skb_cow_data(skb, tail_len, &tail) < 0)) in ath12k_dp_metadata_align_skb()
137 metadata = pskb_put(skb, tail, tail_len); in ath12k_dp_metadata_align_skb()
138 memset(metadata, 0, tail_len); in ath12k_dp_metadata_align_skb()
Ddp_rx.c2844 int head_len, tail_len, ret; in ath12k_dp_rx_h_verify_tkip_mic() local
2856 tail_len = IEEE80211_CCMP_MIC_LEN + IEEE80211_TKIP_ICV_LEN + FCS_LEN; in ath12k_dp_rx_h_verify_tkip_mic()
2866 data_len = msdu->len - head_len - tail_len; in ath12k_dp_rx_h_verify_tkip_mic()
/linux-6.12.1/drivers/video/fbdev/
Dbroadsheetfb.c652 int tail_len; in broadsheet_spiflash_rewrite_sector() local
654 tail_len = sector_size - tail_start_addr; in broadsheet_spiflash_rewrite_sector()
658 tail_len, sector_buffer + tail_start_addr); in broadsheet_spiflash_rewrite_sector()
/linux-6.12.1/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c2253 …d_beacon(struct adapter *adapter, const u8 *head, size_t head_len, const u8 *tail, size_t tail_len) in rtw_add_beacon() argument
2266 pbuf = rtw_zmalloc(head_len + tail_len); in rtw_add_beacon()
2271 memcpy(pbuf + head_len - 24, (void *)tail, tail_len); in rtw_add_beacon()
2273 len = head_len + tail_len - 24; in rtw_add_beacon()
2300 settings->beacon.tail_len); in cfg80211_rtw_start_ap()
2324 info->beacon.tail_len); in cfg80211_rtw_change_beacon()
/linux-6.12.1/drivers/net/wireless/microchip/wilc1000/
Dhif.c1773 wid.size = params->head_len + params->tail_len + 16; in wilc_add_beacon()
1790 put_unaligned_le32(params->tail_len, cur_byte); in wilc_add_beacon()
1793 if (params->tail_len > 0) in wilc_add_beacon()
1794 memcpy(cur_byte, params->tail, params->tail_len); in wilc_add_beacon()
/linux-6.12.1/fs/
Ddax.c1162 loff_t tail_len = pg_end - end; in dax_iomap_copy_around() local
1165 memset(daddr + tail_off, 0, tail_len); in dax_iomap_copy_around()
1168 saddr + tail_off, tail_len); in dax_iomap_copy_around()
/linux-6.12.1/drivers/net/wireless/ath/wil6210/
Dcfg80211.c1848 b->tail, b->tail_len, true); in wil_print_bcon_data()
1921 bcon->tail_len, bcon->tail); in _wil_cfg80211_set_ies()
2096 bcon->tail_len)) in wil_cfg80211_change_beacon()
/linux-6.12.1/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.c196 len += round_up(s->beacon.tail_len, QLINK_ALIGN); in qtnf_cmd_start_ap_can_fit()
311 s->beacon.tail, s->beacon.tail_len); in qtnf_cmd_send_start_ap()
/linux-6.12.1/drivers/net/wireless/ath/ath11k/
Ddp_rx.c3281 int head_len, tail_len, ret; in ath11k_dp_rx_h_verify_tkip_mic() local
3294 tail_len = IEEE80211_CCMP_MIC_LEN + IEEE80211_TKIP_ICV_LEN + FCS_LEN; in ath11k_dp_rx_h_verify_tkip_mic()
3304 data_len = msdu->len - head_len - tail_len; in ath11k_dp_rx_h_verify_tkip_mic()

12