Home
last modified time | relevance | path

Searched refs:tag_len (Results 1 – 16 of 16) sorted by relevance

/Linux-v6.6/net/ipv4/
Dcipso_ipv4.c1180 u32 tag_len; in cipso_v4_gentag_rbm() local
1205 tag_len = 14; in cipso_v4_gentag_rbm()
1207 tag_len = 4 + ret_val; in cipso_v4_gentag_rbm()
1209 tag_len = 4; in cipso_v4_gentag_rbm()
1212 buffer[1] = tag_len; in cipso_v4_gentag_rbm()
1215 return tag_len; in cipso_v4_gentag_rbm()
1235 u8 tag_len = tag[1]; in cipso_v4_parsetag_rbm() local
1244 if (tag_len > 4) { in cipso_v4_parsetag_rbm()
1247 tag_len - 4, in cipso_v4_parsetag_rbm()
1279 u32 tag_len; in cipso_v4_gentag_enum() local
[all …]
/Linux-v6.6/tools/testing/selftests/arm64/mte/
Dcheck_user_mem.c35 int tag_offset, int tag_len, in check_usermem_access_fault() argument
73 if (!tag_len) in check_usermem_access_fault()
74 tag_len = len - tag_offset; in check_usermem_access_fault()
78 mte_set_tag_address_range(ptr_next, tag_len); in check_usermem_access_fault()
227 int tag_len = tag_lens[l]; in main() local
230 tag_len, t); in main()
232 t, sync, map, tag_len, offset); in main()
/Linux-v6.6/include/net/
Dcipso_ipv4.h274 u8 tag_len; in cipso_v4_validate() local
291 tag_len = opt[opt_iter + 1]; in cipso_v4_validate()
292 if ((tag_len == 0) || (tag_len > (opt_len - opt_iter))) { in cipso_v4_validate()
296 opt_iter += tag_len; in cipso_v4_validate()
Ddsa.h1339 int tag_len = ops->needed_headroom; in dsa_tag_generic_flow_dissect() local
1341 *offset = tag_len; in dsa_tag_generic_flow_dissect()
1342 *proto = ((__be16 *)skb->data)[(tag_len / 2) - 1]; in dsa_tag_generic_flow_dissect()
/Linux-v6.6/net/ceph/
Dcls_lock_client.c34 int tag_len = strlen(tag); in ceph_cls_lock() local
43 tag_len + sizeof(__le32) + in ceph_cls_lock()
65 ceph_encode_string(&p, end, tag, tag_len); in ceph_cls_lock()
199 int tag_len = strlen(tag); in ceph_cls_set_cookie() local
207 tag_len + sizeof(__le32) + in ceph_cls_set_cookie()
226 ceph_encode_string(&p, end, tag, tag_len); in ceph_cls_set_cookie()
395 int tag_len = strlen(tag); in ceph_cls_assert_locked() local
402 tag_len + sizeof(__le32) + in ceph_cls_assert_locked()
424 ceph_encode_string(&p, end, tag, tag_len); in ceph_cls_assert_locked()
/Linux-v6.6/net/9p/
Dtrans_virtio.c571 int tag_len; in p9_mount_tag_show() local
575 tag_len = strlen(chan->tag); in p9_mount_tag_show()
577 memcpy(buf, chan->tag, tag_len + 1); in p9_mount_tag_show()
579 return tag_len + 1; in p9_mount_tag_show()
594 __u16 tag_len; in p9_virtio_probe() local
627 virtio_cread(vdev, struct virtio_9p_config, tag_len, &tag_len); in p9_virtio_probe()
632 tag = kzalloc(tag_len + 1, GFP_KERNEL); in p9_virtio_probe()
639 tag, tag_len); in p9_virtio_probe()
/Linux-v6.6/drivers/net/wireless/ath/ath11k/
Ddebugfs_htt_stats.c39 u16 tag_len, in htt_print_stats_string_tlv() argument
48 tag_len = tag_len >> 2; in htt_print_stats_string_tlv()
54 for (i = 0; i < tag_len; i++) { in htt_print_stats_string_tlv()
190 u16 tag_len, in htt_print_tx_pdev_stats_urrn_tlv_v() argument
197 u16 num_elems = min_t(u16, (tag_len >> 2), HTT_TX_PDEV_MAX_URRN_STATS); in htt_print_tx_pdev_stats_urrn_tlv_v()
214 u16 tag_len, in htt_print_tx_pdev_stats_flush_tlv_v() argument
221 u16 num_elems = min_t(u16, (tag_len >> 2), HTT_TX_PDEV_MAX_FLUSH_REASON_STATS); in htt_print_tx_pdev_stats_flush_tlv_v()
238 u16 tag_len, in htt_print_tx_pdev_stats_sifs_tlv_v() argument
245 u16 num_elems = min_t(u16, (tag_len >> 2), HTT_TX_PDEV_MAX_SIFS_BURST_STATS); in htt_print_tx_pdev_stats_sifs_tlv_v()
262 u16 tag_len, in htt_print_tx_pdev_stats_phy_err_tlv_v() argument
[all …]
/Linux-v6.6/include/uapi/linux/
Dvirtio_9p.h39 __virtio16 tag_len; member
Dif_pppox.h124 __be16 tag_len; member
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dstrobemeta.h153 int16_t tag_len; member
395 descr->tag_len = 0; /* presume no tag is set */ in read_map_var()
415 descr->tag_len = len; in read_map_var()
/Linux-v6.6/drivers/bluetooth/
Dbtqca.c236 u16 tag_id, tag_len; in qca_tlv_check_data() local
309 tag_len = le16_to_cpu(tlv_nvm->tag_len); in qca_tlv_check_data()
337 idx += (sizeof(u16) + sizeof(u16) + 8 + tag_len); in qca_tlv_check_data()
Dbtqca.h130 __le16 tag_len; member
/Linux-v6.6/fs/smb/server/
Doplock.h121 struct create_context *smb2_find_context_vals(void *open_req, const char *tag, int tag_len);
Doplock.c1450 struct create_context *smb2_find_context_vals(void *open_req, const char *tag, int tag_len) in smb2_find_context_vals() argument
1489 if (name_len == tag_len && !memcmp(name, tag, name_len)) in smb2_find_context_vals()
/Linux-v6.6/drivers/md/
Ddm-crypt.c1152 unsigned int tag_len; in dm_crypt_integrity_io_alloc() local
1162 tag_len = io->cc->on_disk_tag_size * (bio_sectors(bio) >> io->cc->sector_shift); in dm_crypt_integrity_io_alloc()
1167 tag_len, offset_in_page(io->integrity_metadata)); in dm_crypt_integrity_io_alloc()
1168 if (unlikely(ret != tag_len)) in dm_crypt_integrity_io_alloc()
3449 unsigned int tag_len = cc->on_disk_tag_size * (bio_sectors(bio) >> cc->sector_shift); in crypt_map() local
3451 if (unlikely(tag_len > KMALLOC_MAX_SIZE)) in crypt_map()
3454 …io->integrity_metadata = kmalloc(tag_len, GFP_NOIO | __GFP_NORETRY | __GFP_NOMEMALLOC | __GFP_NOWA… in crypt_map()
/Linux-v6.6/drivers/net/wireless/microchip/wilc1000/
Dcfg80211.c74 u8 tag_len; member
1083 wilc_wfi_cfg_parse_ch_attr(p->attr, p->tag_len - 4, vif->wilc->sta_ch); in wilc_wfi_p2p_rx()
1239 wilc_wfi_cfg_parse_ch_attr(p->attr, p->tag_len - 4, vif->wilc->sta_ch); in mgmt_tx()