Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/
Dscsi_common.c86 u64 scsilun_to_int(struct scsi_lun *scsilun) in scsilun_to_int() argument
93 lun = lun | (((u64)scsilun->scsi_lun[i] << ((i + 1) * 8)) | in scsilun_to_int()
94 ((u64)scsilun->scsi_lun[i + 1] << (i * 8))); in scsilun_to_int()
114 void int_to_scsilun(u64 lun, struct scsi_lun *scsilun) in int_to_scsilun() argument
118 memset(scsilun->scsi_lun, 0, sizeof(scsilun->scsi_lun)); in int_to_scsilun()
121 scsilun->scsi_lun[i] = (lun >> 8) & 0xFF; in int_to_scsilun()
122 scsilun->scsi_lun[i+1] = lun & 0xFF; in int_to_scsilun()
/linux-6.1.9/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()