Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dblk-mq.h777 static inline u16 blk_mq_unique_tag_to_hwq(u32 unique_tag) in blk_mq_unique_tag_to_hwq() argument
779 return unique_tag >> BLK_MQ_UNIQUE_TAG_BITS; in blk_mq_unique_tag_to_hwq()
782 static inline u16 blk_mq_unique_tag_to_tag(u32 unique_tag) in blk_mq_unique_tag_to_tag() argument
784 return unique_tag & BLK_MQ_UNIQUE_TAG_MASK; in blk_mq_unique_tag_to_tag()
/linux-6.1.9/drivers/scsi/mpi3mr/
Dmpi3mr_os.c58 u32 unique_tag; in mpi3mr_host_tag_for_scmd() local
61 unique_tag = blk_mq_unique_tag(scsi_cmd_to_rq(scmd)); in mpi3mr_host_tag_for_scmd()
63 hw_queue = blk_mq_unique_tag_to_hwq(unique_tag); in mpi3mr_host_tag_for_scmd()
66 host_tag = blk_mq_unique_tag_to_tag(unique_tag); in mpi3mr_host_tag_for_scmd()
99 u32 unique_tag = host_tag - 1; in mpi3mr_scmd_from_host_tag() local
104 unique_tag |= (qidx << BLK_MQ_UNIQUE_TAG_BITS); in mpi3mr_scmd_from_host_tag()
106 scmd = scsi_host_find_tag(mrioc->shost, unique_tag); in mpi3mr_scmd_from_host_tag()
/linux-6.1.9/drivers/scsi/mpt3sas/
Dmpt3sas_base.c3931 u32 tag, unique_tag; in mpt3sas_base_get_smid_scsiio() local
3933 unique_tag = blk_mq_unique_tag(scsi_cmd_to_rq(scmd)); in mpt3sas_base_get_smid_scsiio()
3934 tag = blk_mq_unique_tag_to_tag(unique_tag); in mpt3sas_base_get_smid_scsiio()
3946 ioc->io_queue_num[tag] = blk_mq_unique_tag_to_hwq(unique_tag); in mpt3sas_base_get_smid_scsiio()
Dmpt3sas_scsih.c1758 u32 unique_tag = in mpt3sas_scsih_scsi_lookup_get() local
1772 scmd = scsi_host_find_tag(ioc->shost, unique_tag); in mpt3sas_scsih_scsi_lookup_get()