Home
last modified time | relevance | path

Searched refs:scsilun (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_common.c59 * @scsilun: struct scsi_lun to be converted.
62 * Convert @scsilun from a struct scsi_lun to a four-byte host byte-ordered
77 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()
93 * @scsilun: struct scsi_lun to be set.
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 in int_to_scsilun()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_common.c111 * @scsilun: struct scsi_lun to be converted.
114 * Convert @scsilun from a struct scsi_lun to a four-byte host byte-ordered
129 u64 scsilun_to_int(struct scsi_lun *scsilun) in scsilun_to_int() argument
136 lun = lun | (((u64)scsilun->scsi_lun[i] << ((i + 1) * 8)) | in scsilun_to_int()
137 ((u64)scsilun->scsi_lun[i + 1] << (i * 8))); in scsilun_to_int()
145 * @scsilun: struct scsi_lun to be set.
157 void int_to_scsilun(u64 lun, struct scsi_lun *scsilun) in int_to_scsilun() argument
161 memset(scsilun->scsi_lun, 0, sizeof(scsilun->scsi_lun)); in int_to_scsilun()
164 scsilun in int_to_scsilun()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/bfa/
H A 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()
H A 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()
/kernel/linux/linux-6.6/drivers/scsi/bfa/
H A 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()
H A 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()

Completed in 19 milliseconds