Searched refs:scsilun (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/scsi/ |
D | scsi_common.c | 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() 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->scsi_lun[i] = (lun >> 8) & 0xFF; in int_to_scsilun() 165 scsilun->scsi_lun[i+1] = lun & 0xFF; in int_to_scsilun()
|
/linux-6.6.21/drivers/scsi/bfa/ |
D | bfad_im.c | 247 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()
|
D | bfa_fcpim.c | 3309 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()
|