Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/target/
Dtarget_core_device.c61 int transport_lookup_cmd_lun(struct se_cmd *se_cmd, u32 unpacked_lun) in transport_lookup_cmd_lun() argument
68 if (unpacked_lun >= TRANSPORT_MAX_LUNS_PER_TPG) { in transport_lookup_cmd_lun()
75 se_cmd->se_deve = se_sess->se_node_acl->device_list[unpacked_lun]; in transport_lookup_cmd_lun()
89 unpacked_lun); in transport_lookup_cmd_lun()
104 se_cmd->orig_fe_lun = unpacked_lun; in transport_lookup_cmd_lun()
115 if (unpacked_lun != 0) { in transport_lookup_cmd_lun()
121 unpacked_lun); in transport_lookup_cmd_lun()
170 int transport_lookup_tmr_lun(struct se_cmd *se_cmd, u32 unpacked_lun) in transport_lookup_tmr_lun() argument
178 if (unpacked_lun >= TRANSPORT_MAX_LUNS_PER_TPG) { in transport_lookup_tmr_lun()
185 se_cmd->se_deve = se_sess->se_node_acl->device_list[unpacked_lun]; in transport_lookup_tmr_lun()
[all …]
Dtarget_core_tpg.c168 tpg->se_tpg_tfo->tpg_get_tag(tpg), lun->unpacked_lun, in core_tpg_add_node_to_devs()
172 core_update_device_list_for_node(lun, NULL, lun->unpacked_lun, in core_tpg_add_node_to_devs()
346 core_dev_del_lun(tpg, lun->unpacked_lun); in core_tpg_clear_object_luns()
629 lun->unpacked_lun = 0; in core_tpg_setup_virtual_lun0()
673 lun->unpacked_lun = i; in core_tpg_register()
766 u32 unpacked_lun) in core_tpg_pre_addlun() argument
770 if (unpacked_lun > (TRANSPORT_MAX_LUNS_PER_TPG-1)) { in core_tpg_pre_addlun()
774 unpacked_lun, TRANSPORT_MAX_LUNS_PER_TPG-1, in core_tpg_pre_addlun()
780 lun = tpg->tpg_lun_list[unpacked_lun]; in core_tpg_pre_addlun()
784 unpacked_lun, tpg->se_tpg_tfo->get_fabric_name(), in core_tpg_pre_addlun()
[all …]
Dtarget_core_ua.c88 u32 unpacked_lun, in core_scsi3_ua_allocate() argument
113 deve = nacl->device_list[unpacked_lun]; in core_scsi3_ua_allocate()
179 nacl->se_tpg->se_tpg_tfo->get_fabric_name(), unpacked_lun, in core_scsi3_ua_allocate()
Dtarget_core_fabric_configfs.c133 lun->unpacked_lun, lun_access); in target_fabric_mappedlun_link()
787 lun->unpacked_lun); in target_fabric_port_link()
826 core_dev_del_lun(se_tpg, lun->unpacked_lun); in target_fabric_port_unlink()
877 unsigned long unpacked_lun; in target_fabric_make_lun() local
885 if (strict_strtoul(name + 4, 0, &unpacked_lun) || unpacked_lun > UINT_MAX) in target_fabric_make_lun()
888 lun = core_get_lun_from_tpg(se_tpg, unpacked_lun); in target_fabric_make_lun()
Dtarget_core_internal.h96 struct se_lun *core_tpg_pre_dellun(struct se_portal_group *, u32 unpacked_lun);
Dtarget_core_transport.c1689 unsigned char *cdb, unsigned char *sense, u32 unpacked_lun, in target_submit_cmd() argument
1721 if (transport_lookup_cmd_lun(se_cmd, unpacked_lun) < 0) { in target_submit_cmd()
1775 unsigned char *sense, u32 unpacked_lun, in target_submit_tmr() argument
1801 ret = transport_lookup_tmr_lun(se_cmd, unpacked_lun); in target_submit_tmr()
4303 cmd->se_lun->unpacked_lun, in __transport_clear_lun_from_sessions()
4321 "_lun_wait_for_tasks()\n", cmd->se_lun->unpacked_lun, in __transport_clear_lun_from_sessions()
4331 cmd->se_lun->unpacked_lun, in __transport_clear_lun_from_sessions()
4362 lun->unpacked_lun, in __transport_clear_lun_from_sessions()
4373 lun->unpacked_lun, cmd->se_tfo->get_task_tag(cmd)); in __transport_clear_lun_from_sessions()
4396 "tcm_cl_%u", lun->unpacked_lun); in transport_clear_lun_from_sessions()
[all …]
Dtarget_core_pr.c234 cmd->se_lun->unpacked_lun, cmd->se_deve->mapped_lun, in target_scsi2_reservation_release()
285 cmd->se_lun->unpacked_lun, in target_scsi2_reservation_reserve()
288 " from %s \n", cmd->se_lun->unpacked_lun, in target_scsi2_reservation_reserve()
304 cmd->se_lun->unpacked_lun, cmd->se_deve->mapped_lun, in target_scsi2_reservation_reserve()
670 pr_reg->pr_aptpl_target_lun = deve->se_lun->unpacked_lun; in __core_scsi3_do_alloc_registration()
1012 lun->unpacked_lun, nacl, deve); in core_scsi3_check_aptpl_registration()
1976 lun->lun_sep->sep_rtpi, lun->unpacked_lun, reg_count); in __core_scsi3_update_aptpl_buf()
Dtarget_core_alua.c1021 port->sep_lun->unpacked_lun); in core_alua_update_tpg_secondary_metadata()
Dtarget_core_configfs.c1218 tfo->get_fabric_name(), lun->unpacked_lun); in target_core_dev_pr_show_attr_res_pr_holder_tg_port()
/linux-3.4.99/include/target/
Dtarget_core_fabric.h119 unsigned char *sense, u32 unpacked_lun,
Dtarget_core_base.h880 u32 unpacked_lun; member
/linux-3.4.99/drivers/target/loopback/
Dtcm_loop.c891 scsi_add_device(tl_hba->sh, 0, tl_tpg->tl_tpgt, lun->unpacked_lun); in tcm_loop_port_link()
909 se_lun->unpacked_lun); in tcm_loop_port_unlink()
912 "%d\n", 0, tl_tpg->tl_tpgt, se_lun->unpacked_lun); in tcm_loop_port_unlink()
/linux-3.4.99/drivers/infiniband/ulp/srpt/
Dib_srpt.c1728 uint64_t unpacked_lun; in srpt_handle_cmd() local
1768 unpacked_lun = srpt_unpack_lun((uint8_t *)&srp_cmd->lun, in srpt_handle_cmd()
1770 if (transport_lookup_cmd_lun(cmd, unpacked_lun) < 0) { in srpt_handle_cmd()
1866 uint64_t unpacked_lun; in srpt_handle_tsk_mgmt() local
1895 unpacked_lun = srpt_unpack_lun((uint8_t *)&srp_tsk->lun, in srpt_handle_tsk_mgmt()
1897 res = transport_lookup_tmr_lun(&send_ioctx->cmd, unpacked_lun); in srpt_handle_tsk_mgmt()
1899 pr_debug("rejecting TMR for LUN %lld\n", unpacked_lun); in srpt_handle_tsk_mgmt()