Home
last modified time | relevance | path

Searched refs:unique_tag (Results 1 – 5 of 5) sorted by relevance

/linux/include/linux/
H A Dblk-mq.h795 static inline u16 blk_mq_unique_tag_to_hwq(u32 unique_tag) in blk_mq_unique_tag_to_hwq() argument
797 return unique_tag >> BLK_MQ_UNIQUE_TAG_BITS; in blk_mq_unique_tag_to_hwq()
800 static inline u16 blk_mq_unique_tag_to_tag(u32 unique_tag) in blk_mq_unique_tag_to_tag() argument
802 return unique_tag & BLK_MQ_UNIQUE_TAG_MASK; in blk_mq_unique_tag_to_tag()
/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_os.c65 u32 unique_tag; in mpi3mr_host_tag_for_scmd() local
68 unique_tag = blk_mq_unique_tag(scsi_cmd_to_rq(scmd)); in mpi3mr_host_tag_for_scmd()
70 hw_queue = blk_mq_unique_tag_to_hwq(unique_tag); in mpi3mr_host_tag_for_scmd()
73 host_tag = blk_mq_unique_tag_to_tag(unique_tag); in mpi3mr_host_tag_for_scmd()
106 u32 unique_tag = host_tag - 1; in mpi3mr_scmd_from_host_tag() local
111 unique_tag |= (qidx << BLK_MQ_UNIQUE_TAG_BITS); in mpi3mr_scmd_from_host_tag()
113 scmd = scsi_host_find_tag(mrioc->shost, unique_tag); in mpi3mr_scmd_from_host_tag()
/linux/drivers/scsi/
H A Dscsi_debug.c6775 u32 unique_tag = blk_mq_unique_tag(rq); in sdebug_submit_queue_iter() local
6776 u16 hwq = blk_mq_unique_tag_to_hwq(unique_tag); in sdebug_submit_queue_iter()
6777 u16 tag = blk_mq_unique_tag_to_tag(unique_tag); in sdebug_submit_queue_iter()
8343 u32 unique_tag = blk_mq_unique_tag(rq); in sdebug_blk_mq_poll_iter() local
8344 u16 hwq = blk_mq_unique_tag_to_hwq(unique_tag); in sdebug_blk_mq_poll_iter()
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.c3958 u32 tag, unique_tag; in mpt3sas_base_get_smid_scsiio() local
3960 unique_tag = blk_mq_unique_tag(scsi_cmd_to_rq(scmd)); in mpt3sas_base_get_smid_scsiio()
3961 tag = blk_mq_unique_tag_to_tag(unique_tag); in mpt3sas_base_get_smid_scsiio()
3973 ioc->io_queue_num[tag] = blk_mq_unique_tag_to_hwq(unique_tag); in mpt3sas_base_get_smid_scsiio()
H A Dmpt3sas_scsih.c1757 u32 unique_tag = in mpt3sas_scsih_scsi_lookup_get() local
1771 scmd = scsi_host_find_tag(ioc->shost, unique_tag); in mpt3sas_scsih_scsi_lookup_get()