Home
last modified time | relevance | path

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

/drivers/scsi/
Dscsi_scan.c1240 int scsilun_to_int(struct scsi_lun *scsilun) in scsilun_to_int() argument
1247 lun = lun | (((scsilun->scsi_lun[i] << 8) | in scsilun_to_int()
1248 scsilun->scsi_lun[i + 1]) << (i * 8)); in scsilun_to_int()
1271 void int_to_scsilun(unsigned int lun, struct scsi_lun *scsilun) in int_to_scsilun() argument
1275 memset(scsilun->scsi_lun, 0, sizeof(scsilun->scsi_lun)); in int_to_scsilun()
1278 scsilun->scsi_lun[i] = (lun >> 8) & 0xFF; in int_to_scsilun()
1279 scsilun->scsi_lun[i+1] = lun & 0xFF; in int_to_scsilun()
Dscsi_tgt_lib.c309 struct scsi_lun *scsilun, u64 tag) in scsi_tgt_queue_command() argument
315 err = scsi_tgt_uspace_send_cmd(cmd, itn_id, scsilun, tag); in scsi_tgt_queue_command()
531 int function, u64 tag, struct scsi_lun *scsilun, in scsi_tgt_tsk_mgmt_request() argument
538 function, tag, scsilun, data); in scsi_tgt_tsk_mgmt_request()
Dscsi_tgt_priv.h27 struct scsi_lun *scsilun, void *data);
Dscsi_tgt_if.c158 u64 tag, struct scsi_lun *scsilun, void *data) in scsi_tgt_uspace_send_tsk_mgmt() argument
168 memcpy(ev.p.tsk_mgmt_req.lun, scsilun, sizeof(ev.p.tsk_mgmt_req.lun)); in scsi_tgt_uspace_send_tsk_mgmt()
/drivers/scsi/bfa/
Dbfad_im.c252 struct scsi_lun scsilun; in bfad_im_target_reset_send() local
269 memset(&scsilun, 0, sizeof(scsilun)); in bfad_im_target_reset_send()
270 bfa_tskim_start(tskim, bfa_itnim, scsilun, in bfad_im_target_reset_send()
297 struct scsi_lun scsilun; in bfad_im_reset_lun_handler() local
324 int_to_scsilun(cmnd->device->lun, &scsilun); in bfad_im_reset_lun_handler()
325 bfa_tskim_start(tskim, bfa_itnim, scsilun, in bfad_im_reset_lun_handler()
Dbfa_fcpim.c3322 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()