Home
last modified time | relevance | path

Searched refs:lun_id (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/cxlflash/
Dvlun.c68 __func__, ba_lun->lun_id, ba_lun->lsize, ba_lun->au_size); in ba_init()
81 __func__, ba_lun->lun_id); in ba_init()
96 "lun_id=%016llx\n", __func__, ba_lun->lun_id); in ba_init()
126 __func__, ba_lun->lun_id); in ba_init()
137 __func__, ba_lun->lun_id, bali->lun_bmap_size, in ba_init()
194 __func__, ba_lun->lun_id, bali->free_aun_cnt); in ba_alloc()
198 __func__, ba_lun->lun_id); in ba_alloc()
211 " lun_id=%016llx\n", __func__, ba_lun->lun_id); in ba_alloc()
224 ((bit_word * BITS_PER_LONG) + bit_pos), ba_lun->lun_id, in ba_alloc()
266 __func__, to_free, ba_lun->lun_id); in ba_free()
[all …]
Dcommon.h301 __be64 lun_id; in lun_to_lunid() local
303 int_to_scsilun(lun, (struct scsi_lun *)&lun_id); in lun_to_lunid()
304 return be64_to_cpu(lun_id); in lun_to_lunid()
Dvlun.h67 u64 lun_id; member
Dlunmgt.c254 lli->lun_id[chan] = lun_to_lunid(sdev->lun); in cxlflash_manage_lun()
272 __func__, lli->port_sel, chan, lli->lun_id[chan]); in cxlflash_manage_lun()
Dsislite.h54 u64 lun_id; member
517 u64 lun_id; member
Dsuperpipe.h55 u64 lun_id[MAX_FC_PORTS]; /* from REPORT_LUNS */ member
Dsuperpipe.c526 static void rht_format1(struct sisl_rht_entry *rhte, u64 lun_id, u32 perm, in rht_format1() argument
541 rhte_f1->lun_id = lun_id; in rht_format1()
703 rhte_f1->lun_id = 0; in _cxlflash_disk_release()
1347 __func__, lli->lun_id[sdev->channel]); in cxlflash_disk_attach()
2008 rht_format1(rhte, lli->lun_id[sdev->channel], ctxi->rht_perms, port); in cxlflash_disk_direct_open()
Dmain.c497 cmd->rcb.lun_id = lun_to_lunid(sdev->lun); in send_tmf()
625 cmd->rcb.lun_id = lun_to_lunid(scp->device->lun); in cxlflash_queuecommand()
3314 u64 lun_id; in cxlflash_lun_provision() local
3331 lun_id = 0; in cxlflash_lun_provision()
3336 lun_id = lunprov->lun_id; in cxlflash_lun_provision()
3359 rcb.lun_id = lun_id; in cxlflash_lun_provision()
3377 lunprov->lun_id = (u64)asa.lunid_hi << 32 | asa.lunid_lo; in cxlflash_lun_provision()
/kernel/linux/linux-5.10/drivers/scsi/snic/
Dsnic_res.h38 memcpy(&req->u.icmnd.lun_id, lun, LUN_ADDR_LEN); in snic_icmnd_init()
59 memcpy(&req->u.itmf.lun_id, lun, LUN_ADDR_LEN); in snic_itmf_init()
Dsnic_fwint.h272 __le64 lun_id; /* Destination LUN ID */ member
317 __le64 lun_id; /* Destination LUN ID */ member
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Df_mass_storage.h67 int lun_id; member
Df_mass_storage.c3189 opts->lun_id = num; in fsg_lun_make()
3217 fsg_opts->common->luns[lun_opts->lun_id] = NULL; in fsg_lun_drop()
3218 lun_opts->lun_id = 0; in fsg_lun_drop()
3377 opts->lun0.lun_id = 0; in fsg_alloc_inst()
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_scsi.c5033 unsigned int tgt_id, uint64_t lun_id, in lpfc_send_taskmgmt() argument
5058 status = lpfc_scsi_prep_task_mgmt_cmd(vport, lpfc_cmd, lun_id, in lpfc_send_taskmgmt()
5076 lpfc_taskmgmt_name(task_mgmt_cmd), tgt_id, lun_id, in lpfc_send_taskmgmt()
5090 tgt_id, lun_id, in lpfc_send_taskmgmt()
5184 uint64_t lun_id, lpfc_ctx_cmd context) in lpfc_reset_flush_io_context() argument
5190 cnt = lpfc_sli_sum_iocb(vport, tgt_id, lun_id, context); in lpfc_reset_flush_io_context()
5194 tgt_id, lun_id, context); in lpfc_reset_flush_io_context()
5198 cnt = lpfc_sli_sum_iocb(vport, tgt_id, lun_id, context); in lpfc_reset_flush_io_context()
5231 uint64_t lun_id = cmnd->device->lun; in lpfc_device_reset_handler() local
5256 scsi_event.lun = lun_id; in lpfc_device_reset_handler()
[all …]
Dlpfc_sli.c11584 uint16_t tgt_id, uint64_t lun_id, in lpfc_sli_validate_fcp_iocb() argument
11613 (scsilun_to_int(&lpfc_cmd->fcp_cmnd->fcp_lun) == lun_id)) in lpfc_sli_validate_fcp_iocb()
11653 lpfc_sli_sum_iocb(struct lpfc_vport *vport, uint16_t tgt_id, uint64_t lun_id, in lpfc_sli_sum_iocb() argument
11664 if (lpfc_sli_validate_fcp_iocb (iocbq, vport, tgt_id, lun_id, in lpfc_sli_sum_iocb()
11722 uint16_t tgt_id, uint64_t lun_id, lpfc_ctx_cmd abort_cmd) in lpfc_sli_abort_iocb() argument
11739 if (lpfc_sli_validate_fcp_iocb(iocbq, vport, tgt_id, lun_id, in lpfc_sli_abort_iocb()
11828 uint16_t tgt_id, uint64_t lun_id, lpfc_ctx_cmd cmd) in lpfc_sli_abort_taskmgmt() argument
11852 if (lpfc_sli_validate_fcp_iocb(iocbq, vport, tgt_id, lun_id, in lpfc_sli_abort_taskmgmt()
/kernel/linux/linux-5.10/include/uapi/scsi/
Dcxlflash_ioctl.h238 __u64 lun_id; /* SCSI LUN ID */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/scsi/
Dcxlflash_ioctl.h160 __u64 lun_id; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/scsi/
Dcxlflash_ioctl.h147 __u64 lun_id; member
/kernel/linux/linux-5.10/drivers/scsi/
Dhpsa_cmd.h616 u8 lun_id[8]; /* LUN ID for TMF request */ member
/kernel/linux/linux-5.10/drivers/scsi/ufs/
Dufshcd.c6318 static int ufshcd_issue_tm_cmd(struct ufs_hba *hba, int lun_id, int task_id, in ufshcd_issue_tm_cmd() argument
6329 treq.req_header.dword_0 = cpu_to_be32(lun_id << 8) | in ufshcd_issue_tm_cmd()
6337 treq.input_param1 = cpu_to_be32(lun_id); in ufshcd_issue_tm_cmd()