Home
last modified time | relevance | path

Searched refs:scsilun (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/scsi/
Dscsi_common.c77 u64 scsilun_to_int(struct scsi_lun *scsilun) in scsilun_to_int() argument
84 lun = lun | (((u64)scsilun->scsi_lun[i] << ((i + 1) * 8)) | in scsilun_to_int()
85 ((u64)scsilun->scsi_lun[i + 1] << (i * 8))); in scsilun_to_int()
105 void int_to_scsilun(u64 lun, struct scsi_lun *scsilun) in int_to_scsilun() argument
109 memset(scsilun->scsi_lun, 0, sizeof(scsilun->scsi_lun)); in int_to_scsilun()
112 scsilun->scsi_lun[i] = (lun >> 8) & 0xFF; in int_to_scsilun()
113 scsilun->scsi_lun[i+1] = lun & 0xFF; in int_to_scsilun()
/Linux-v5.10/drivers/scsi/bfa/
Dbfad_im.c247 struct scsi_lun scsilun; in bfad_im_target_reset_send() local
277 memset(&scsilun, 0, sizeof(scsilun)); in bfad_im_target_reset_send()
278 bfa_tskim_start(tskim, bfa_itnim, scsilun, in bfad_im_target_reset_send()
305 struct scsi_lun scsilun; in bfad_im_reset_lun_handler() local
345 int_to_scsilun(cmnd->device->lun, &scsilun); in bfad_im_reset_lun_handler()
346 bfa_tskim_start(tskim, bfa_itnim, scsilun, in bfad_im_reset_lun_handler()
Dbfa_fcpim.c3309 struct scsi_lun scsilun; in bfa_tskim_gather_ios() local
3319 int_to_scsilun(cmnd->device->lun, &scsilun); in bfa_tskim_gather_ios()
3320 if (bfa_tskim_match_scope(tskim, scsilun)) { in bfa_tskim_gather_ios()
3332 int_to_scsilun(cmnd->device->lun, &scsilun); in bfa_tskim_gather_ios()
3333 if (bfa_tskim_match_scope(tskim, scsilun)) { in bfa_tskim_gather_ios()