Home
last modified time | relevance | path

Searched refs:se_lun (Results 1 – 21 of 21) sorted by relevance

/linux-6.3-rc2/drivers/target/
A Dtarget_core_internal.h62 int core_alloc_rtpi(struct se_lun *lun, struct se_device *dev);
75 struct se_lun *lun);
76 void core_dev_del_lun(struct se_portal_group *, struct se_lun *);
80 struct se_lun_acl *, struct se_lun *lun, bool);
81 int core_dev_del_initiator_node_lun_acl(struct se_lun *,
126 struct se_lun *);
128 struct se_lun *core_tpg_alloc_lun(struct se_portal_group *, u64);
129 int core_tpg_add_lun(struct se_portal_group *, struct se_lun *,
144 void transport_dump_dev_info(struct se_device *, struct se_lun *,
150 void transport_clear_lun_ref(struct se_lun *);
[all …]
A Dtarget_core_alua.h90 struct se_device *, struct se_lun *,
114 extern void target_detach_tg_pt_gp(struct se_lun *);
115 extern void target_attach_tg_pt_gp(struct se_lun *, struct t10_alua_tg_pt_gp *);
116 extern ssize_t core_alua_show_tg_pt_gp_info(struct se_lun *, char *);
117 extern ssize_t core_alua_store_tg_pt_gp_info(struct se_lun *, const char *,
138 extern ssize_t core_alua_show_offline_bit(struct se_lun *, char *);
139 extern ssize_t core_alua_store_offline_bit(struct se_lun *, const char *,
141 extern ssize_t core_alua_show_secondary_status(struct se_lun *, char *);
142 extern ssize_t core_alua_store_secondary_status(struct se_lun *,
144 extern ssize_t core_alua_show_secondary_write_metadata(struct se_lun *,
[all …]
A Dtarget_core_device.c50 struct se_lun *se_lun = NULL; in transport_lookup_cmd_lun() local
78 se_lun = deve->se_lun; in transport_lookup_cmd_lun()
81 se_lun = NULL; in transport_lookup_cmd_lun()
85 se_cmd->se_lun = se_lun; in transport_lookup_cmd_lun()
93 if (!se_lun) { in transport_lookup_cmd_lun()
146 struct se_lun *se_lun = NULL; in transport_lookup_tmr_lun() local
155 se_lun = deve->se_lun; in transport_lookup_tmr_lun()
158 se_lun = NULL; in transport_lookup_tmr_lun()
162 se_cmd->se_lun = se_lun; in transport_lookup_tmr_lun()
170 if (!se_lun) { in transport_lookup_tmr_lun()
[all …]
A Dtarget_core_stat.c423 struct se_lun *lun = to_stat_port(item); in target_stat_port_inst_show()
437 struct se_lun *lun = to_stat_port(item); in target_stat_port_dev_show()
451 struct se_lun *lun = to_stat_port(item); in target_stat_port_indx_show()
465 struct se_lun *lun = to_stat_port(item); in target_stat_port_role_show()
480 struct se_lun *lun = to_stat_port(item); in target_stat_port_busy_count_show()
527 struct se_lun *lun = to_stat_tgt_port(item); in target_stat_tgt_port_inst_show()
542 struct se_lun *lun = to_stat_tgt_port(item); in target_stat_tgt_port_dev_show()
557 struct se_lun *lun = to_stat_tgt_port(item); in target_stat_tgt_port_indx_show()
572 struct se_lun *lun = to_stat_tgt_port(item); in target_stat_tgt_port_name_show()
590 struct se_lun *lun = to_stat_tgt_port(item); in target_stat_tgt_port_port_index_show()
[all …]
A Dtarget_core_fabric_configfs.c71 struct se_lun *lun; in target_fabric_mappedlun_link()
149 struct se_lun, lun_group); in target_fabric_mappedlun_unlink()
522 struct se_lun *lun = item_to_lun(item); in target_fabric_port_alua_tg_pt_gp_show()
533 struct se_lun *lun = item_to_lun(item); in target_fabric_port_alua_tg_pt_gp_store()
544 struct se_lun *lun = item_to_lun(item); in target_fabric_port_alua_tg_pt_offline_show()
555 struct se_lun *lun = item_to_lun(item); in target_fabric_port_alua_tg_pt_offline_store()
626 struct se_lun, lun_group); in target_fabric_port_link()
679 struct se_lun, lun_group); in target_fabric_port_unlink()
698 struct se_lun, lun_group); in target_fabric_port_release()
744 struct se_lun *lun; in target_fabric_make_lun()
[all …]
A Dtarget_core_alua.c140 struct se_lun *lun; in target_emulate_report_target_port_groups()
274 struct se_lun *l_lun = cmd->se_lun; in target_emulate_set_target_port_groups()
387 struct se_lun *lun; in target_emulate_set_target_port_groups()
648 struct se_lun *lun = cmd->se_lun; in target_alua_state_check()
914 struct se_lun *lun; in core_alua_queue_state_change_ua()
1217 struct se_lun *lun, in core_alua_set_tg_pt_secondary_state()
1897 struct se_lun *lun, in core_alua_store_tg_pt_gp_info()
2157 struct se_lun *lun, in core_alua_store_offline_bit()
2192 struct se_lun *lun, in core_alua_show_secondary_status()
2199 struct se_lun *lun, in core_alua_store_secondary_status()
[all …]
A Dtarget_core_tpg.c106 struct se_lun *lun_orig) in core_tpg_add_node_to_devs()
109 struct se_lun *lun; in core_tpg_add_node_to_devs()
437 struct se_lun *lun = container_of(ref, struct se_lun, lun_ref); in core_tpg_lun_ref_release()
542 struct se_lun *core_tpg_alloc_lun( in core_tpg_alloc_lun()
546 struct se_lun *lun; in core_tpg_alloc_lun()
570 struct se_lun *lun, in core_tpg_add_lun()
616 struct se_lun *lun) in core_tpg_remove_lun()
A Dtarget_core_pr.c275 cmd->se_lun->unpacked_lun, in target_scsi2_reservation_reserve()
618 struct se_lun *lun, in __core_scsi3_do_alloc_registration()
693 struct se_lun *lun, in __core_scsi3_alloc_registration()
921 struct se_lun *lun, in __core_scsi3_check_aptpl_registration()
1001 struct se_lun *lun, in core_scsi3_check_aptpl_registration()
1127 struct se_lun *lun, in core_scsi3_alloc_registration()
2040 struct se_lun *se_lun = cmd->se_lun; in core_scsi3_emulate_pro_register() local
2264 struct se_lun *se_lun = cmd->se_lun; in core_scsi3_pro_reserve() local
2505 struct se_lun *se_lun = cmd->se_lun; in core_scsi3_emulate_pro_release() local
3146 struct se_lun *se_lun = cmd->se_lun, *tmp_lun; in core_scsi3_emulate_pro_register_and_move() local
[all …]
A Dtarget_core_pr.h69 struct se_portal_group *, struct se_lun *,
A Dtarget_core_xcopy.c75 struct se_lun *this_lun = NULL; in target_xcopy_locate_se_dev_e4()
91 this_lun = deve->se_lun; in target_xcopy_locate_se_dev_e4()
535 cmd->se_lun = &se_dev->xcopy_lun; in target_xcopy_setup_pt_cmd()
538 cmd->se_lun = xop->xop_se_cmd->se_lun; in target_xcopy_setup_pt_cmd()
A Dtarget_core_spc.c28 static void spc_fill_alua_data(struct se_lun *lun, unsigned char *buf) in spc_fill_alua_data()
74 struct se_lun *lun = cmd->se_lun; in spc_emulate_inquiry_std()
224 struct se_lun *lun = cmd->se_lun; in spc_emulate_evpd_83()
1048 if (cmd->se_lun->lun_access_ro || target_lun_is_rdonly(cmd)) in spc_emulate_modesense()
1942 struct se_lun *l_lun = cmd->se_lun; in tcm_is_set_tpg_enabled()
2103 cmd->se_lun->unpacked_lun, in spc_rsoc_get_descr()
A Dtarget_core_transport.c734 struct se_lun *lun = cmd->se_lun; in transport_lun_remove_cmd()
748 cmd->se_lun = NULL; in transport_lun_remove_cmd()
766 WARN_ON(!cmd->se_lun); in transport_get_sense_buffer()
1542 atomic_long_inc(&cmd->se_lun->lun_stats.cmd_pdus); in target_cmd_parse_cdb()
1558 if (!cmd->se_lun) { in transport_handle_cdb_direct()
2562 &cmd->se_lun->lun_stats.tx_data_octets); in target_complete_ok_work()
2586 &cmd->se_lun->lun_stats.rx_data_octets); in target_complete_ok_work()
2592 &cmd->se_lun->lun_stats.tx_data_octets); in target_complete_ok_work()
2938 if (cmd->se_lun) in transport_generic_free_cmd()
3172 void transport_clear_lun_ref(struct se_lun *lun) in transport_clear_lun_ref()
A Dtarget_core_configfs.c3097 struct se_lun *lun; in target_tg_pt_gp_members_show()
/linux-6.3-rc2/include/target/
A Dtarget_core_base.h312 struct se_lun *tg_pt_gp_alua_lun;
494 struct se_lun *se_lun; member
653 struct se_lun *se_lun; member
672 struct se_lun *se_lun; member
732 struct se_lun { struct
862 struct se_lun xcopy_lun;
933 struct se_lun *tpg_virt_lun0;
A Dtarget_core_fabric.h95 struct se_lun *);
97 struct se_lun *);
/linux-6.3-rc2/drivers/target/loopback/
A Dtcm_loop.h48 struct se_lun *tl_hba_lun;
A Dtcm_loop.c624 struct se_lun *lun) in tcm_loop_port_link()
642 struct se_lun *se_lun) in tcm_loop_port_unlink() argument
652 se_lun->unpacked_lun); in tcm_loop_port_unlink()
655 0, tl_tpg->tl_tpgt, se_lun->unpacked_lun); in tcm_loop_port_unlink()
/linux-6.3-rc2/drivers/target/sbp/
A Dsbp_target.c164 struct se_lun *se_lun; in sbp_get_lun_from_tpg() local
167 hlist_for_each_entry_rcu(se_lun, &se_tpg->tpg_lun_hlist, link) { in sbp_get_lun_from_tpg()
168 if (se_lun->unpacked_lun == login_lun) { in sbp_get_lun_from_tpg()
1797 struct se_lun *lun; in sbp_count_se_tpg_luns()
1810 struct se_lun *lun; in sbp_update_unit_directory()
1959 struct se_lun *se_lun) in sbp_post_link_lun() argument
1968 struct se_lun *se_lun) in sbp_pre_unlink_lun() argument
/linux-6.3-rc2/drivers/xen/
A Dxen-scsiback.c930 struct se_lun *se_lun; in scsiback_add_translation_entry() local
952 hlist_for_each_entry(se_lun, &tpg_entry->se_tpg.tpg_lun_hlist, link) { in scsiback_add_translation_entry()
953 if (se_lun->unpacked_lun == unpacked_lun) { in scsiback_add_translation_entry()
1740 struct se_lun *lun) in scsiback_port_link()
1753 struct se_lun *lun) in scsiback_port_unlink()
/linux-6.3-rc2/drivers/vhost/
A Dscsi.c1376 struct se_lun *lun, in vhost_scsi_send_evt()
1994 struct se_lun *lun, bool plug) in vhost_scsi_do_plug()
2020 static void vhost_scsi_hotplug(struct vhost_scsi_tpg *tpg, struct se_lun *lun) in vhost_scsi_hotplug()
2025 static void vhost_scsi_hotunplug(struct vhost_scsi_tpg *tpg, struct se_lun *lun) in vhost_scsi_hotunplug()
2031 struct se_lun *lun) in vhost_scsi_port_link()
2058 struct se_lun *lun) in vhost_scsi_port_unlink()
/linux-6.3-rc2/drivers/usb/gadget/function/
A Df_tcm.c1665 static int usbg_port_link(struct se_portal_group *se_tpg, struct se_lun *lun) in usbg_port_link()
1675 struct se_lun *se_lun) in usbg_port_unlink() argument

Completed in 77 milliseconds