Home
last modified time | relevance | path

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

12

/openbmc/linux/rust/alloc/vec/
H A Ddrain.rs32 pub(super) tail_len: usize, field
132 ptr::copy(src, dst, this.tail_len); in keep_rest()
136 source_vec.set_len(start + unyielded_len + this.tail_len); in keep_rest()
183 if self.0.tail_len > 0 { in drop()
192 ptr::copy(src, dst, self.0.tail_len); in drop()
194 source_vec.set_len(start + self.0.tail_len); in drop()
211 vec.set_len(old_len + drop_len + self.tail_len); in drop()
212 vec.truncate(old_len + self.tail_len); in drop()
H A Dextract_if.rs109 let tail_len = self.old_len - self.idx; in drop() localVariable
110 src.copy_to(dst, tail_len); in drop()
H A Dmod.rs2153 tail_len: len - end, in drain()
/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_mbx.c338 if (!mbx->tail_len) in fm10k_mbx_write_copy()
343 len = mbx->tail_len; in fm10k_mbx_write_copy()
399 mbx->tail_len = len; in fm10k_mbx_pull_head()
774 if (!mbx->tail_len) in fm10k_mbx_enqueue_tx()
859 if (mbx->tail_len) in fm10k_mbx_create_data_hdr()
1083 mbx->tail_len = 0; in fm10k_mbx_reset_work()
1633 if (mbx->tail_len) in fm10k_sm_mbx_create_data_hdr()
1937 tail_len = len; in fm10k_sm_mbx_transmit()
1942 if (mbx->tail_len > tail_len) { in fm10k_sm_mbx_transmit()
1943 mbx->tail = fm10k_mbx_tail_sub(mbx, mbx->tail_len - tail_len); in fm10k_sm_mbx_transmit()
[all …]
H A Dfm10k_mbx.h266 u16 tail, tail_len, pulled; member
/openbmc/linux/fs/reiserfs/
H A 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()
H A 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()
/openbmc/linux/include/trace/events/
H A Dsunrpc.h66 __field(size_t, tail_len)
79 __entry->tail_len = xdr->tail[0].iov_len;
90 __entry->tail_base, __entry->tail_len,
681 __field(size_t, tail_len)
725 __entry->tail_base, __entry->tail_len,
748 __field(size_t, tail_len)
784 __entry->tail_base, __entry->tail_len,
1585 __field(size_t, tail_len)
1597 __entry->tail_len = xdr->tail[0].iov_len;
1633 __field(size_t, tail_len)
[all …]
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A 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()
H A 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()
/openbmc/linux/net/mac80211/
H A Dmesh.c968 int head_len, tail_len; in ieee80211_mesh_build_beacon() local
1000 tail_len = 2 + (IEEE80211_MAX_SUPP_RATES - 8) + in ieee80211_mesh_build_beacon()
1017 bcn = kzalloc(sizeof(*bcn) + head_len + tail_len, GFP_KERNEL); in ieee80211_mesh_build_beacon()
1019 skb = __dev_alloc_skb(max(head_len, tail_len), GFP_KERNEL); in ieee80211_mesh_build_beacon()
1140 bcn->tail_len = skb->len; in ieee80211_mesh_build_beacon()
1141 memcpy(bcn->tail, skb->data, bcn->tail_len); in ieee80211_mesh_build_beacon()
1142 ieee80211_mesh_update_bss_params(sdata, bcn->tail, bcn->tail_len); in ieee80211_mesh_build_beacon()
1449 bcn->head_len + bcn->tail_len); in ieee80211_mesh_rx_probe_req()
1455 skb_put_data(presp, bcn->tail, bcn->tail_len); in ieee80211_mesh_rx_probe_req()
H A Dcfg.c1144 new_tail_len = params->tail_len; in ieee80211_assign_beacon()
1146 new_tail_len = old->tail_len; in ieee80211_assign_beacon()
1184 new->tail_len = new_tail_len; in ieee80211_assign_beacon()
1187 u8 *pos = new->tail + new->tail_len; in ieee80211_assign_beacon()
3468 len = beacon->head_len + beacon->tail_len + beacon->beacon_ies_len + in cfg80211_beacon_dup()
3511 if (beacon->tail_len) { in cfg80211_beacon_dup()
3512 new_beacon->tail_len = beacon->tail_len; in cfg80211_beacon_dup()
3514 memcpy(pos, beacon->tail, beacon->tail_len); in cfg80211_beacon_dup()
3515 pos += beacon->tail_len; in cfg80211_beacon_dup()
H A Dtx.c4978 beacon_data_len = beacon->tail_len; in ieee80211_set_beacon_cntdwn()
5092 beacon_data_len = beacon->tail_len; in ieee80211_beacon_cntdwn_is_complete()
5287 beacon->tail_len + 256 + in ieee80211_beacon_get_ap()
5312 skb_put_data(skb, beacon->tail, beacon->tail_len); in ieee80211_beacon_get_ap()
5471 beacon->tail_len + in __ieee80211_beacon_get()
5485 skb_put_data(skb, beacon->tail, beacon->tail_len); in __ieee80211_beacon_get()
/openbmc/linux/net/ceph/
H A Dmessenger_v2.c1137 int tail_len; in decrypt_tail() local
1673 int tail_len; in prepare_message_secure() local
1682 if (!tail_len) { in prepare_message_secure()
1711 0, tail_len, GFP_NOIO); in prepare_message_secure()
1716 tail_len - CEPH_GCM_TAG_LEN); in prepare_message_secure()
2110 int tail_len; in prepare_read_tail_secure() local
2113 WARN_ON(!tail_len); in prepare_read_tail_secure()
2123 con->v2.in_enc_resid = tail_len; in prepare_read_tail_secure()
2139 int tail_len; in prepare_skip_message() local
2146 if (!tail_len) { in prepare_skip_message()
[all …]
H A 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()
/openbmc/linux/fs/btrfs/
H A Dreflink.c687 u64 i, tail_len, chunk_count; in btrfs_extent_same() local
702 tail_len = olen % BTRFS_MAX_DEDUPE_LEN; in btrfs_extent_same()
715 if (tail_len > 0) in btrfs_extent_same()
716 ret = btrfs_extent_same_range(src, loff, tail_len, dst, dst_loff); in btrfs_extent_same()
H A Dfile.c2597 u64 tail_len; in btrfs_punch_hole() local
2678 tail_len = offset + len - tail_start; in btrfs_punch_hole()
2679 if (tail_len) { in btrfs_punch_hole()
2680 ret = find_first_non_hole(BTRFS_I(inode), &tail_start, &tail_len); in btrfs_punch_hole()
2685 if (tail_start + tail_len < ino_size) { in btrfs_punch_hole()
2688 tail_start + tail_len, in btrfs_punch_hole()
/openbmc/linux/fs/ntfs3/
H A 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()
/openbmc/linux/drivers/video/fbdev/
H A 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()
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/
H A Dioctl_cfg80211.c2256 …d_beacon(struct adapter *adapter, const u8 *head, size_t head_len, const u8 *tail, size_t tail_len) in rtw_add_beacon() argument
2269 pbuf = rtw_zmalloc(head_len + tail_len); in rtw_add_beacon()
2274 memcpy(pbuf + head_len - 24, (void *)tail, tail_len); in rtw_add_beacon()
2276 len = head_len + tail_len - 24; in rtw_add_beacon()
2303 settings->beacon.tail_len); in cfg80211_rtw_start_ap()
2326 return rtw_add_beacon(adapter, info->head, info->head_len, info->tail, info->tail_len); in cfg80211_rtw_change_beacon()
/openbmc/linux/fs/
H A 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()
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/
H A Dhif.c1764 wid.size = params->head_len + params->tail_len + 16; in wilc_add_beacon()
1781 put_unaligned_le32(params->tail_len, cur_byte); in wilc_add_beacon()
1784 if (params->tail_len > 0) in wilc_add_beacon()
1785 memcpy(cur_byte, params->tail, params->tail_len); in wilc_add_beacon()
/openbmc/linux/drivers/net/wireless/ath/wil6210/
H A 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()
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Ddp_rx.c2827 int head_len, tail_len, ret; in ath12k_dp_rx_h_verify_tkip_mic() local
2839 tail_len = IEEE80211_CCMP_MIC_LEN + IEEE80211_TKIP_ICV_LEN + FCS_LEN; in ath12k_dp_rx_h_verify_tkip_mic()
2849 data_len = msdu->len - head_len - tail_len; in ath12k_dp_rx_h_verify_tkip_mic()
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/
H A 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