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

/linux-4.1.27/drivers/scsi/bfa/
H A Dbfad_im.c257 struct scsi_lun scsilun; bfad_im_target_reset_send() local
274 memset(&scsilun, 0, sizeof(scsilun)); bfad_im_target_reset_send()
275 bfa_tskim_start(tskim, bfa_itnim, scsilun, bfad_im_target_reset_send()
302 struct scsi_lun scsilun; bfad_im_reset_lun_handler() local
329 int_to_scsilun(cmnd->device->lun, &scsilun); bfad_im_reset_lun_handler()
330 bfa_tskim_start(tskim, bfa_itnim, scsilun, bfad_im_reset_lun_handler()
H A Dbfa_fcpim.c3322 struct scsi_lun scsilun; bfa_tskim_gather_ios() local
3332 int_to_scsilun(cmnd->device->lun, &scsilun); bfa_tskim_gather_ios()
3333 if (bfa_tskim_match_scope(tskim, scsilun)) { bfa_tskim_gather_ios()
3345 int_to_scsilun(cmnd->device->lun, &scsilun); bfa_tskim_gather_ios()
3346 if (bfa_tskim_match_scope(tskim, scsilun)) { bfa_tskim_gather_ios()
/linux-4.1.27/drivers/scsi/
H A Dscsi_scan.c1273 * @scsilun: struct scsi_lun to be converted.
1276 * Convert @scsilun from a struct scsi_lun to a four byte host byte-ordered
1291 u64 scsilun_to_int(struct scsi_lun *scsilun) scsilun_to_int() argument
1298 lun = lun | (((u64)scsilun->scsi_lun[i] << ((i + 1) * 8)) | scsilun_to_int()
1299 ((u64)scsilun->scsi_lun[i + 1] << (i * 8))); scsilun_to_int()
1307 * @scsilun: struct scsi_lun to be set.
1319 void int_to_scsilun(u64 lun, struct scsi_lun *scsilun) int_to_scsilun() argument
1323 memset(scsilun->scsi_lun, 0, sizeof(scsilun->scsi_lun)); int_to_scsilun()
1326 scsilun->scsi_lun[i] = (lun >> 8) & 0xFF; int_to_scsilun()
1327 scsilun->scsi_lun[i+1] = lun & 0xFF; int_to_scsilun()

Completed in 239 milliseconds