Home
last modified time | relevance | path

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

/Linux-v5.4/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()
1285 u32 tag_len; in cipso_v4_gentag_enum() local
[all …]
/Linux-v5.4/include/net/
Dcipso_ipv4.h286 u8 tag_len; in cipso_v4_validate() local
303 tag_len = opt[opt_iter + 1]; in cipso_v4_validate()
304 if ((tag_len == 0) || (tag_len > (opt_len - opt_iter))) { in cipso_v4_validate()
308 opt_iter += tag_len; in cipso_v4_validate()
/Linux-v5.4/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.4/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.4/drivers/bluetooth/
Dbtqca.c129 u16 tag_id, tag_len; in qca_tlv_check_data() local
190 tag_len = le16_to_cpu(tlv_nvm->tag_len); in qca_tlv_check_data()
215 idx += (sizeof(u16) + sizeof(u16) + 8 + tag_len); in qca_tlv_check_data()
Dbtqca.h112 __le16 tag_len; member
/Linux-v5.4/include/uapi/linux/
Dvirtio_9p.h39 __u16 tag_len; member
Dif_pppox.h124 __be16 tag_len; member
/Linux-v5.4/tools/testing/selftests/bpf/progs/
Dstrobemeta.h153 int16_t tag_len; member
387 descr->tag_len = 0; /* presume no tag is set */ in read_map_var()
407 descr->tag_len = len; in read_map_var()
/Linux-v5.4/drivers/md/
Ddm-crypt.c816 unsigned int tag_len; in dm_crypt_integrity_io_alloc() local
826 tag_len = io->cc->on_disk_tag_size * (bio_sectors(bio) >> io->cc->sector_shift); in dm_crypt_integrity_io_alloc()
828 bip->bip_iter.bi_size = tag_len; in dm_crypt_integrity_io_alloc()
832 tag_len, offset_in_page(io->integrity_metadata)); in dm_crypt_integrity_io_alloc()
833 if (unlikely(ret != tag_len)) in dm_crypt_integrity_io_alloc()
2785 unsigned tag_len = cc->on_disk_tag_size * (bio_sectors(bio) >> cc->sector_shift); in crypt_map() local
2787 if (unlikely(tag_len > KMALLOC_MAX_SIZE) || in crypt_map()
2788 unlikely(!(io->integrity_metadata = kmalloc(tag_len, in crypt_map()