Home
last modified time | relevance | path

Searched refs:tag_offset (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/mtd/parsers/
H A Dparser_imagetag.c29 loff_t tag_offset, struct bcm_tag *buf) in bcm963xx_read_imagetag() argument
35 ret = mtd_read(master, tag_offset, sizeof(*buf), &retlen, (void *)buf); in bcm963xx_read_imagetag()
49 name, tag_offset, buf->tag_version, buf->board_id); in bcm963xx_read_imagetag()
55 name, tag_offset, buf->header_crc, computed_crc); in bcm963xx_read_imagetag()
/linux/tools/testing/selftests/arm64/mte/
H A Dcheck_user_mem.c35 int tag_offset, int tag_len, in check_usermem_access_fault() argument
74 tag_len = len - tag_offset; in check_usermem_access_fault()
76 ptr_next = (void *)((unsigned long)ptr + tag_offset); in check_usermem_access_fault()
/linux/block/
H A Dblk-mq-tag.c143 unsigned int tag_offset; in blk_mq_get_tag() local
152 tag_offset = 0; in blk_mq_get_tag()
155 tag_offset = tags->nr_reserved_tags; in blk_mq_get_tag()
222 blk_mq_put_tag(tags, data->ctx, tag + tag_offset); in blk_mq_get_tag()
225 return tag + tag_offset; in blk_mq_get_tag()
H A Dblk-mq.c466 unsigned int tag, tag_offset; in __blk_mq_alloc_requests_batch() local
473 tag_mask = blk_mq_get_tags(data, data->nr_tags - nr, &tag_offset); in __blk_mq_alloc_requests_batch()
483 tag = tag_offset + i; in __blk_mq_alloc_requests_batch()
1870 unsigned int tag_offset = rq->mq_hctx->tags->nr_reserved_tags; in __blk_mq_alloc_driver_tag() local
1877 tag_offset = 0; in __blk_mq_alloc_driver_tag()
1887 rq->tag = tag + tag_offset; in __blk_mq_alloc_driver_tag()
/linux/drivers/md/
H A Ddm-crypt.c65 unsigned int tag_offset; member
1220 ctx->tag_offset = 0; in crypt_convert_init()
1288 unsigned int tag_offset) in crypt_convert_block_aead() argument
1309 *org_tag_of_dmreq(cc, dmreq) = tag_offset; in crypt_convert_block_aead()
1390 unsigned int tag_offset) in crypt_convert_block_skcipher() argument
1410 *org_tag_of_dmreq(cc, dmreq) = tag_offset; in crypt_convert_block_skcipher()
1575 r = crypt_convert_block_aead(cc, ctx, ctx->r.req_aead, ctx->tag_offset); in crypt_convert()
1577 r = crypt_convert_block_skcipher(cc, ctx, ctx->r.req, ctx->tag_offset); in crypt_convert()
1597 ctx->tag_offset++; in crypt_convert()
1612 ctx->tag_offset++; in crypt_convert()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Ddefiner.c1873 u32 tag_offset = 0; in hws_definer_fc_bind() local
1879 ret = hws_definer_find_byte_in_tag(definer, fc->byte_off, &tag_offset); in hws_definer_fc_bind()
1884 byte_diff = fc->byte_off % DW_SIZE - tag_offset % DW_SIZE; in hws_definer_fc_bind()
1888 fc->byte_off = tag_offset; in hws_definer_fc_bind()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dcn10k_macsec.c503 u8 tag_offset; in cn10k_mcs_write_tx_secy() local
511 tag_offset = txsc->vlan_dev ? 16 : 12; in cn10k_mcs_write_tx_secy()
538 policy |= FIELD_PREP(MCS_TX_SECY_PLCY_ST_OFFSET, tag_offset); in cn10k_mcs_write_tx_secy()