Searched refs:tag_len (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/net/ipv4/ |
D | cipso_ipv4.c | 1201 u32 tag_len; in cipso_v4_gentag_rbm() local 1225 tag_len = 14; in cipso_v4_gentag_rbm() 1227 tag_len = 4 + ret_val; in cipso_v4_gentag_rbm() 1229 tag_len = 4; in cipso_v4_gentag_rbm() 1232 buffer[1] = tag_len; in cipso_v4_gentag_rbm() 1235 return tag_len; in cipso_v4_gentag_rbm() 1255 u8 tag_len = tag[1]; in cipso_v4_parsetag_rbm() local 1264 if (tag_len > 4) { in cipso_v4_parsetag_rbm() 1267 tag_len - 4, in cipso_v4_parsetag_rbm() 1298 u32 tag_len; in cipso_v4_gentag_enum() local [all …]
|
/Linux-v4.19/include/net/ |
D | cipso_ipv4.h | 300 u8 tag_len; in cipso_v4_validate() local 317 tag_len = opt[opt_iter + 1]; in cipso_v4_validate() 318 if ((tag_len == 0) || (tag_len > (opt_len - opt_iter))) { in cipso_v4_validate() 322 opt_iter += tag_len; in cipso_v4_validate()
|
/Linux-v4.19/net/9p/ |
D | trans_virtio.c | 529 int tag_len; in p9_mount_tag_show() local 533 tag_len = strlen(chan->tag); in p9_mount_tag_show() 535 memcpy(buf, chan->tag, tag_len + 1); in p9_mount_tag_show() 537 return tag_len + 1; in p9_mount_tag_show() 552 __u16 tag_len; in p9_virtio_probe() local 585 virtio_cread(vdev, struct virtio_9p_config, tag_len, &tag_len); in p9_virtio_probe() 590 tag = kzalloc(tag_len + 1, GFP_KERNEL); in p9_virtio_probe() 597 tag, tag_len); in p9_virtio_probe()
|
/Linux-v4.19/net/ceph/ |
D | cls_lock_client.c | 31 int tag_len = strlen(tag); in ceph_cls_lock() local 40 tag_len + sizeof(__le32) + in ceph_cls_lock() 62 ceph_encode_string(&p, end, tag, tag_len); in ceph_cls_lock() 192 int tag_len = strlen(tag); in ceph_cls_set_cookie() local 200 tag_len + sizeof(__le32) + in ceph_cls_set_cookie() 219 ceph_encode_string(&p, end, tag, tag_len); in ceph_cls_set_cookie()
|
/Linux-v4.19/drivers/bluetooth/ |
D | btqca.c | 120 u16 tag_id, tag_len; in qca_tlv_check_data() local 179 tag_len = le16_to_cpu(tlv_nvm->tag_len); in qca_tlv_check_data() 204 idx += (sizeof(u16) + sizeof(u16) + 8 + tag_len); in qca_tlv_check_data()
|
D | btqca.h | 119 __le16 tag_len; member
|
/Linux-v4.19/include/uapi/linux/ |
D | virtio_9p.h | 39 __u16 tag_len; member
|
D | if_pppox.h | 124 __be16 tag_len; member
|
/Linux-v4.19/drivers/md/ |
D | dm-crypt.c | 925 unsigned int tag_len; in dm_crypt_integrity_io_alloc() local 935 tag_len = io->cc->on_disk_tag_size * bio_sectors(bio); in dm_crypt_integrity_io_alloc() 937 bip->bip_iter.bi_size = tag_len; in dm_crypt_integrity_io_alloc() 941 tag_len, offset_in_page(io->integrity_metadata)); in dm_crypt_integrity_io_alloc() 942 if (unlikely(ret != tag_len)) in dm_crypt_integrity_io_alloc() 2887 unsigned tag_len = cc->on_disk_tag_size * (bio_sectors(bio) >> cc->sector_shift); in crypt_map() local 2889 if (unlikely(tag_len > KMALLOC_MAX_SIZE) || in crypt_map() 2890 unlikely(!(io->integrity_metadata = kmalloc(tag_len, in crypt_map()
|