Searched refs:scsilun (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/drivers/scsi/ |
D | scsi_common.c | 76 u64 scsilun_to_int(struct scsi_lun *scsilun) in scsilun_to_int() argument 83 lun = lun | (((u64)scsilun->scsi_lun[i] << ((i + 1) * 8)) | in scsilun_to_int() 84 ((u64)scsilun->scsi_lun[i + 1] << (i * 8))); in scsilun_to_int() 104 void int_to_scsilun(u64 lun, struct scsi_lun *scsilun) in int_to_scsilun() argument 108 memset(scsilun->scsi_lun, 0, sizeof(scsilun->scsi_lun)); in int_to_scsilun() 111 scsilun->scsi_lun[i] = (lun >> 8) & 0xFF; in int_to_scsilun() 112 scsilun->scsi_lun[i+1] = lun & 0xFF; in int_to_scsilun()
|
/linux-4.4.14/drivers/scsi/bfa/ |
D | bfad_im.c | 257 struct scsi_lun scsilun; in bfad_im_target_reset_send() local 274 memset(&scsilun, 0, sizeof(scsilun)); in bfad_im_target_reset_send() 275 bfa_tskim_start(tskim, bfa_itnim, scsilun, in bfad_im_target_reset_send() 302 struct scsi_lun scsilun; in bfad_im_reset_lun_handler() local 329 int_to_scsilun(cmnd->device->lun, &scsilun); in bfad_im_reset_lun_handler() 330 bfa_tskim_start(tskim, bfa_itnim, scsilun, in bfad_im_reset_lun_handler()
|
D | bfa_fcpim.c | 3322 struct scsi_lun scsilun; in bfa_tskim_gather_ios() local 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() 3345 int_to_scsilun(cmnd->device->lun, &scsilun); in bfa_tskim_gather_ios() 3346 if (bfa_tskim_match_scope(tskim, scsilun)) { in bfa_tskim_gather_ios()
|