Home
last modified time | relevance | path

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

/Linux-v5.10/net/ipv4/
Dcipso_ipv4.c1188 u32 tag_len; in cipso_v4_gentag_rbm() local
1212 tag_len = 14; in cipso_v4_gentag_rbm()
1214 tag_len = 4 + ret_val; in cipso_v4_gentag_rbm()
1216 tag_len = 4; in cipso_v4_gentag_rbm()
1219 buffer[1] = tag_len; in cipso_v4_gentag_rbm()
1222 return tag_len; in cipso_v4_gentag_rbm()
1242 u8 tag_len = tag[1]; in cipso_v4_parsetag_rbm() local
1251 if (tag_len > 4) { in cipso_v4_parsetag_rbm()
1254 tag_len - 4, in cipso_v4_parsetag_rbm()
1286 u32 tag_len; in cipso_v4_gentag_enum() local
[all …]
/Linux-v5.10/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.h763 int tag_len = ops->overhead; in dsa_tag_generic_flow_dissect() local
765 *offset = tag_len; in dsa_tag_generic_flow_dissect()
766 *proto = ((__be16 *)skb->data)[(tag_len / 2) - 1]; in dsa_tag_generic_flow_dissect()
/Linux-v5.10/net/ceph/
Dcls_lock_client.c32 int tag_len = strlen(tag); in ceph_cls_lock() local
41 tag_len + sizeof(__le32) + in ceph_cls_lock()
63 ceph_encode_string(&p, end, tag, tag_len); in ceph_cls_lock()
193 int tag_len = strlen(tag); in ceph_cls_set_cookie() local
201 tag_len + sizeof(__le32) + in ceph_cls_set_cookie()
220 ceph_encode_string(&p, end, tag, tag_len); in ceph_cls_set_cookie()
389 int tag_len = strlen(tag); in ceph_cls_assert_locked() local
396 tag_len + sizeof(__le32) + in ceph_cls_assert_locked()
418 ceph_encode_string(&p, end, tag, tag_len); in ceph_cls_assert_locked()
/Linux-v5.10/net/9p/
Dtrans_virtio.c531 int tag_len; in p9_mount_tag_show() local
535 tag_len = strlen(chan->tag); in p9_mount_tag_show()
537 memcpy(buf, chan->tag, tag_len + 1); in p9_mount_tag_show()
539 return tag_len + 1; in p9_mount_tag_show()
554 __u16 tag_len; in p9_virtio_probe() local
587 virtio_cread(vdev, struct virtio_9p_config, tag_len, &tag_len); in p9_virtio_probe()
592 tag = kzalloc(tag_len + 1, GFP_KERNEL); in p9_virtio_probe()
599 tag, tag_len); in p9_virtio_probe()
/Linux-v5.10/drivers/net/wireless/ath/ath11k/
Ddebugfs_htt_stats.c33 u16 tag_len, in htt_print_stats_string_tlv() argument
44 tag_len = tag_len >> 2; in htt_print_stats_string_tlv()
48 for (i = 0; i < tag_len; i++) { in htt_print_stats_string_tlv()
186 u16 tag_len, in htt_print_tx_pdev_stats_urrn_tlv_v() argument
194 u16 num_elems = min_t(u16, (tag_len >> 2), HTT_TX_PDEV_MAX_URRN_STATS); in htt_print_tx_pdev_stats_urrn_tlv_v()
211 u16 tag_len, in htt_print_tx_pdev_stats_flush_tlv_v() argument
219 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()
236 u16 tag_len, in htt_print_tx_pdev_stats_sifs_tlv_v() argument
244 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-v5.10/include/uapi/linux/
Dvirtio_9p.h39 __virtio16 tag_len; member
Dif_pppox.h124 __be16 tag_len; member
/Linux-v5.10/drivers/bluetooth/
Dbtqca.c150 u16 tag_id, tag_len; in qca_tlv_check_data() local
212 tag_len = le16_to_cpu(tlv_nvm->tag_len); in qca_tlv_check_data()
240 idx += (sizeof(u16) + sizeof(u16) + 8 + tag_len); in qca_tlv_check_data()
Dbtqca.h114 __le16 tag_len; member
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dstrobemeta.h153 int16_t tag_len; member
396 descr->tag_len = 0; /* presume no tag is set */ in read_map_var()
416 descr->tag_len = len; in read_map_var()
/Linux-v5.10/drivers/md/
Ddm-crypt.c1137 unsigned int tag_len; in dm_crypt_integrity_io_alloc() local
1147 tag_len = io->cc->on_disk_tag_size * (bio_sectors(bio) >> io->cc->sector_shift); in dm_crypt_integrity_io_alloc()
1149 bip->bip_iter.bi_size = tag_len; in dm_crypt_integrity_io_alloc()
1153 tag_len, offset_in_page(io->integrity_metadata)); in dm_crypt_integrity_io_alloc()
1154 if (unlikely(ret != tag_len)) in dm_crypt_integrity_io_alloc()
3241 unsigned tag_len = cc->on_disk_tag_size * (bio_sectors(bio) >> cc->sector_shift); in crypt_map() local
3243 if (unlikely(tag_len > KMALLOC_MAX_SIZE) || in crypt_map()
3244 unlikely(!(io->integrity_metadata = kmalloc(tag_len, in crypt_map()
/Linux-v5.10/drivers/net/wireless/microchip/wilc1000/
Dcfg80211.c72 u8 tag_len; member
1032 wilc_wfi_cfg_parse_ch_attr(p->attr, p->tag_len - 4, vif->wilc->sta_ch); in wilc_wfi_p2p_rx()
1182 wilc_wfi_cfg_parse_ch_attr(p->attr, p->tag_len - 4, vif->wilc->sta_ch); in mgmt_tx()