Home
last modified time | relevance | path

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

12

/linux-6.1.9/rust/alloc/vec/
Ddrain.rs32 pub(super) tail_len: usize, field
114 if self.0.tail_len > 0 { in drop()
123 ptr::copy(src, dst, self.0.tail_len); in drop()
125 source_vec.set_len(start + self.0.tail_len); in drop()
142 vec.set_len(old_len + drop_len + self.tail_len); in drop()
143 vec.truncate(old_len + self.tail_len); in drop()
Ddrain_filter.rs128 let tail_len = self.drain.old_len - self.drain.idx; in drop() localVariable
129 src.copy_to(dst, tail_len); in drop()
Dmod.rs1887 tail_len: len - end, in drain()
/linux-6.1.9/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.1.9/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.c1601 int tail_len; in indirect_to_direct_roll_back() local
1608 tail_len = in indirect_to_direct_roll_back()
1610 while (tail_len) { in indirect_to_direct_roll_back()
1625 || removed > tail_len, in indirect_to_direct_roll_back()
1627 tail_len, removed); in indirect_to_direct_roll_back()
1628 tail_len -= removed; in indirect_to_direct_roll_back()
/linux-6.1.9/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,
649 __field(size_t, tail_len)
682 __entry->tail_len = xdr->buf->tail[0].iov_len,
693 __entry->tail_base, __entry->tail_len,
716 __field(size_t, tail_len)
741 __entry->tail_len = xdr->buf->tail[0].iov_len,
752 __entry->tail_base, __entry->tail_len,
1509 __field(size_t, tail_len)
[all …]
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Duap_cmd.c157 params->beacon.tail_len); in mwifiex_set_ht_params()
181 params->beacon.tail_len); in mwifiex_set_vht_params()
203 params->beacon.tail_len); in mwifiex_set_tpc_params()
265 params->beacon.tail_len); in mwifiex_set_uap_rates()
385 params->beacon.tail_len); in mwifiex_set_wmm_params()
452 beacon_data->tail_len); in mwifiex_config_uap_11d()
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()
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_br_ext.c87 int tail_len; in skb_pull_and_merge() local
98 tail_len = (int)(tail - end); in skb_pull_and_merge()
99 if (tail_len > 0) in skb_pull_and_merge()
100 memmove(src, src + len, tail_len); in skb_pull_and_merge()
/linux-6.1.9/net/mac80211/
Dmesh.c810 int head_len, tail_len; in ieee80211_mesh_build_beacon() local
840 tail_len = 2 + (IEEE80211_MAX_SUPP_RATES - 8) + in ieee80211_mesh_build_beacon()
854 bcn = kzalloc(sizeof(*bcn) + head_len + tail_len, GFP_KERNEL); in ieee80211_mesh_build_beacon()
856 skb = __dev_alloc_skb(max(head_len, tail_len), GFP_KERNEL); in ieee80211_mesh_build_beacon()
975 bcn->tail_len = skb->len; in ieee80211_mesh_build_beacon()
976 memcpy(bcn->tail, skb->data, bcn->tail_len); in ieee80211_mesh_build_beacon()
977 ieee80211_mesh_update_bss_params(sdata, bcn->tail, bcn->tail_len); in ieee80211_mesh_build_beacon()
1284 bcn->head_len + bcn->tail_len); in ieee80211_mesh_rx_probe_req()
1290 skb_put_data(presp, bcn->tail, bcn->tail_len); in ieee80211_mesh_rx_probe_req()
Dcfg.c1115 new_tail_len = params->tail_len; in ieee80211_assign_beacon()
1117 new_tail_len = old->tail_len; in ieee80211_assign_beacon()
1145 new->tail_len = new_tail_len; in ieee80211_assign_beacon()
1148 u8 *pos = new->tail + new->tail_len; in ieee80211_assign_beacon()
3343 len = beacon->head_len + beacon->tail_len + beacon->beacon_ies_len + in cfg80211_beacon_dup()
3370 if (beacon->tail_len) { in cfg80211_beacon_dup()
3371 new_beacon->tail_len = beacon->tail_len; in cfg80211_beacon_dup()
3373 memcpy(pos, beacon->tail, beacon->tail_len); in cfg80211_beacon_dup()
3374 pos += beacon->tail_len; in cfg80211_beacon_dup()
Dtx.c4885 beacon_data_len = beacon->tail_len; in ieee80211_set_beacon_cntdwn()
4999 beacon_data_len = beacon->tail_len; in ieee80211_beacon_cntdwn_is_complete()
5164 beacon->tail_len + 256 + in ieee80211_beacon_get_ap()
5189 skb_put_data(skb, beacon->tail, beacon->tail_len); in ieee80211_beacon_get_ap()
5288 beacon->tail_len + in __ieee80211_beacon_get()
5302 skb_put_data(skb, beacon->tail, beacon->tail_len); in __ieee80211_beacon_get()
/linux-6.1.9/net/ceph/
Dmessenger_v2.c1040 int tail_len; in decrypt_tail() local
1043 tail_len = tail_onwire_len(con->in_msg, true); in decrypt_tail()
1045 con->v2.in_enc_page_cnt, 0, tail_len, in decrypt_tail()
1058 ret = gcm_crypt(con, false, enc_sgt.sgl, sgt.sgl, tail_len); in decrypt_tail()
1565 int tail_len; in prepare_message_secure() local
1573 tail_len = tail_onwire_len(con->out_msg, true); in prepare_message_secure()
1574 if (!tail_len) { in prepare_message_secure()
1589 enc_page_cnt = calc_pages_for(0, tail_len); in prepare_message_secure()
1599 con->v2.out_enc_resid = tail_len; in prepare_message_secure()
1603 0, tail_len, GFP_NOIO); in prepare_message_secure()
[all …]
Dosd_client.c2182 int oloc_len, oid_len, tail_len; in encode_request_finish() local
2208 tail_len = partial_end - p; in encode_request_finish()
2233 memmove(p, tail, tail_len); in encode_request_finish()
2234 p += tail_len; in encode_request_finish()
/linux-6.1.9/fs/btrfs/
Dreflink.c682 u64 i, tail_len, chunk_count; in btrfs_extent_same() local
697 tail_len = olen % BTRFS_MAX_DEDUPE_LEN; in btrfs_extent_same()
710 if (tail_len > 0) in btrfs_extent_same()
711 ret = btrfs_extent_same_range(src, loff, tail_len, dst, dst_loff); in btrfs_extent_same()
Dfile.c2909 u64 tail_len; in btrfs_punch_hole() local
2990 tail_len = offset + len - tail_start; in btrfs_punch_hole()
2991 if (tail_len) { in btrfs_punch_hole()
2992 ret = find_first_non_hole(BTRFS_I(inode), &tail_start, &tail_len); in btrfs_punch_hole()
2997 if (tail_start + tail_len < ino_size) { in btrfs_punch_hole()
3000 tail_start + tail_len, in btrfs_punch_hole()
/linux-6.1.9/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.1.9/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.1.9/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c2289 …d_beacon(struct adapter *adapter, const u8 *head, size_t head_len, const u8 *tail, size_t tail_len) in rtw_add_beacon() argument
2302 pbuf = rtw_zmalloc(head_len+tail_len); in rtw_add_beacon()
2307 memcpy(pbuf+head_len-24, (void *)tail, tail_len); in rtw_add_beacon()
2309 len = head_len+tail_len-24; in rtw_add_beacon()
2336 settings->beacon.tail, settings->beacon.tail_len); in cfg80211_rtw_start_ap()
2358 return rtw_add_beacon(adapter, info->head, info->head_len, info->tail, info->tail_len); in cfg80211_rtw_change_beacon()
/linux-6.1.9/drivers/net/wireless/microchip/wilc1000/
Dhif.c1752 wid.size = params->head_len + params->tail_len + 16; in wilc_add_beacon()
1769 put_unaligned_le32(params->tail_len, cur_byte); in wilc_add_beacon()
1772 if (params->tail_len > 0) in wilc_add_beacon()
1773 memcpy(cur_byte, params->tail, params->tail_len); in wilc_add_beacon()
/linux-6.1.9/fs/
Ddax.c1132 loff_t tail_len = pg_end - end; in dax_iomap_cow_copy() local
1135 tail_len); in dax_iomap_cow_copy()
/linux-6.1.9/drivers/net/wireless/ath/wil6210/
Dcfg80211.c1851 b->tail, b->tail_len, true); in wil_print_bcon_data()
1924 bcon->tail_len, bcon->tail); in _wil_cfg80211_set_ies()
2098 bcon->tail_len)) in wil_cfg80211_change_beacon()
/linux-6.1.9/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()

12