Home
last modified time | relevance | path

Searched refs:unpacked_lun (Results 1 – 20 of 20) sorted by relevance

/linux-4.4.14/include/trace/events/
Dtarget.h138 __field( unsigned int, unpacked_lun )
147 __entry->unpacked_lun = cmd->orig_fe_lun;
156 __get_str(initiator), __entry->unpacked_lun,
173 __field( unsigned int, unpacked_lun )
185 __entry->unpacked_lun = cmd->orig_fe_lun;
198 __get_str(initiator), __entry->unpacked_lun,
/linux-4.4.14/drivers/target/
Dtarget_core_device.c59 transport_lookup_cmd_lun(struct se_cmd *se_cmd, u64 unpacked_lun) in transport_lookup_cmd_lun() argument
68 deve = target_nacl_find_deve(nacl, unpacked_lun); in transport_lookup_cmd_lun()
82 se_cmd->orig_fe_lun = unpacked_lun; in transport_lookup_cmd_lun()
93 unpacked_lun); in transport_lookup_cmd_lun()
107 if (unpacked_lun != 0) { in transport_lookup_cmd_lun()
111 unpacked_lun); in transport_lookup_cmd_lun()
153 int transport_lookup_tmr_lun(struct se_cmd *se_cmd, u64 unpacked_lun) in transport_lookup_tmr_lun() argument
163 deve = target_nacl_find_deve(nacl, unpacked_lun); in transport_lookup_tmr_lun()
169 se_cmd->orig_fe_lun = unpacked_lun; in transport_lookup_tmr_lun()
177 unpacked_lun); in transport_lookup_tmr_lun()
[all …]
Dtarget_core_tpg.c143 tpg->se_tpg_tfo->tpg_get_tag(tpg), lun->unpacked_lun, in core_tpg_add_node_to_devs()
147 core_enable_device_list_for_node(lun, NULL, lun->unpacked_lun, in core_tpg_add_node_to_devs()
155 lun->unpacked_lun); in core_tpg_add_node_to_devs()
616 u64 unpacked_lun) in core_tpg_alloc_lun() argument
625 lun->unpacked_lun = unpacked_lun; in core_tpg_alloc_lun()
Dtarget_core_ua.c172 u32 unpacked_lun, u8 asc, u8 ascq) in target_ua_allocate_lun() argument
180 deve = target_nacl_find_deve(nacl, unpacked_lun); in target_ua_allocate_lun()
Dtarget_core_fabric_configfs.c799 unsigned long long unpacked_lun; in target_fabric_make_lun() local
807 errno = kstrtoull(name + 4, 0, &unpacked_lun); in target_fabric_make_lun()
811 lun = core_tpg_alloc_lun(se_tpg, unpacked_lun); in target_fabric_make_lun()
Dtarget_core_transport.c1409 unsigned char *cdb, unsigned char *sense, u64 unpacked_lun, in target_submit_cmd_map_sgls() argument
1449 rc = transport_lookup_cmd_lun(se_cmd, unpacked_lun); in target_submit_cmd_map_sgls()
1545 unsigned char *cdb, unsigned char *sense, u64 unpacked_lun, in target_submit_cmd() argument
1549 unpacked_lun, data_length, task_attr, data_dir, in target_submit_cmd()
1582 unsigned char *sense, u64 unpacked_lun, in target_submit_tmr() argument
1612 ret = transport_lookup_tmr_lun(se_cmd, unpacked_lun); in target_submit_tmr()
Dtarget_core_pr.c235 cmd->se_lun->unpacked_lun, cmd->orig_fe_lun, in target_scsi2_reservation_release()
280 cmd->se_lun->unpacked_lun, in target_scsi2_reservation_reserve()
283 " from %s \n", cmd->se_lun->unpacked_lun, in target_scsi2_reservation_reserve()
298 cmd->se_lun->unpacked_lun, cmd->orig_fe_lun, in target_scsi2_reservation_reserve()
667 pr_reg->pr_aptpl_target_lun = lun->unpacked_lun; in __core_scsi3_do_alloc_registration()
1016 lun->unpacked_lun, nacl, in core_scsi3_check_aptpl_registration()
Dtarget_core_alua.c1280 lun->unpacked_lun); in core_alua_update_tpg_secondary_metadata()
/linux-4.4.14/drivers/target/sbp/
Dsbp_target.c109 struct sbp_session *session, u32 unpacked_lun) in sbp_login_find_by_lun() argument
115 if (login->login_lun == unpacked_lun) in sbp_login_find_by_lun()
125 u32 unpacked_lun, in sbp_login_count_all_by_lun() argument
139 if (login->login_lun != unpacked_lun) in sbp_login_count_all_by_lun()
182 if (se_lun->unpacked_lun == login_lun) { in sbp_get_lun_from_tpg()
299 u32 unpacked_lun; in sbp_management_request_login() local
302 unpacked_lun = sbp_get_lun_from_tpg(tpg, in sbp_management_request_login()
325 unpacked_lun, guid); in sbp_management_request_login()
329 login = sbp_login_find_by_lun(sess, unpacked_lun); in sbp_management_request_login()
357 sbp_login_count_all_by_lun(tpg, unpacked_lun, 0)) { in sbp_management_request_login()
[all …]
/linux-4.4.14/drivers/usb/gadget/legacy/
Dtcm_usb_gadget.h67 int unpacked_lun; member
Dtcm_usb_gadget.c1063 cmd->cmd_buf, cmd->sense_iu.sense, cmd->unpacked_lun, in usbg_cmd_work()
1146 cmd->unpacked_lun = scsilun_to_int(&cmd_iu->lun); in usbg_submit_command()
1180 cmd->cmd_buf, cmd->sense_iu.sense, cmd->unpacked_lun, in bot_cmd_work()
1240 cmd->unpacked_lun = cbw->Lun; in bot_submit_command()
/linux-4.4.14/include/target/
Dtarget_core_fabric.h141 unsigned char *sense, u64 unpacked_lun,
Dtarget_core_base.h710 u64 unpacked_lun; member
/linux-4.4.14/drivers/xen/
Dxen-scsiback.c863 unsigned long long unpacked_lun; in scsiback_add_translation_entry() local
875 err = kstrtoull(lunp, 10, &unpacked_lun); in scsiback_add_translation_entry()
887 if (se_lun->unpacked_lun == unpacked_lun) { in scsiback_add_translation_entry()
907 pr_err("%s:%llu %s\n", phy, unpacked_lun, error); in scsiback_add_translation_entry()
935 new->lun = unpacked_lun; in scsiback_add_translation_entry()
/linux-4.4.14/drivers/target/loopback/
Dtcm_loop.c727 scsi_add_device(tl_hba->sh, 0, tl_tpg->tl_tpgt, lun->unpacked_lun); in tcm_loop_port_link()
745 se_lun->unpacked_lun); in tcm_loop_port_unlink()
748 "%llu\n", 0, tl_tpg->tl_tpgt, se_lun->unpacked_lun); in tcm_loop_port_unlink()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_target.c500 uint32_t unpacked_lun, lun = 0; in qlt_reset() local
553 unpacked_lun = scsilun_to_int((struct scsi_lun *)&lun); in qlt_reset()
555 return qlt_issue_task_mgmt(sess, unpacked_lun, mcmd, in qlt_reset()
1376 lun = cmd->unpacked_lun; in __qlt_24xx_handle_abts()
3565 cmd->unpacked_lun = scsilun_to_int( in __qlt_do_work()
3918 uint32_t lun, unpacked_lun; in qlt_handle_task_mgmt() local
3927 unpacked_lun = scsilun_to_int((struct scsi_lun *)&lun); in qlt_handle_task_mgmt()
3940 return qlt_issue_task_mgmt(sess, unpacked_lun, fn, iocb, 0); in qlt_handle_task_mgmt()
3950 uint32_t lun, unpacked_lun; in __qlt_abort_task() local
3967 unpacked_lun = scsilun_to_int((struct scsi_lun *)&lun); in __qlt_abort_task()
[all …]
Dqla_target.h957 uint32_t unpacked_lun; member
Dtcm_qla2xxx.c458 cmd->unpacked_lun, data_length, fcp_task_attr, in tcm_qla2xxx_handle_cmd()
/linux-4.4.14/drivers/infiniband/ulp/srpt/
Dib_srpt.c1689 uint64_t unpacked_lun; in srpt_handle_cmd() local
1724 unpacked_lun = srpt_unpack_lun((uint8_t *)&srp_cmd->lun, in srpt_handle_cmd()
1727 &send_ioctx->sense_data[0], unpacked_lun, data_len, in srpt_handle_cmd()
1773 uint64_t unpacked_lun; in srpt_handle_tsk_mgmt() local
1789 unpacked_lun = srpt_unpack_lun((uint8_t *)&srp_tsk->lun, in srpt_handle_tsk_mgmt()
1791 rc = target_submit_tmr(&send_ioctx->cmd, sess, NULL, unpacked_lun, in srpt_handle_tsk_mgmt()
/linux-4.4.14/drivers/vhost/
Dscsi.c1121 if (lun->unpacked_lun >= 256) in vhost_scsi_send_evt()
1122 evt->event.lun[2] = lun->unpacked_lun >> 8 | 0x40 ; in vhost_scsi_send_evt()
1123 evt->event.lun[3] = lun->unpacked_lun & 0xFF; in vhost_scsi_send_evt()