Home
last modified time | relevance | path

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

/linux/drivers/target/
H A Dtarget_core_internal.h68 int core_enable_device_list_for_node(struct se_lun *, struct se_lun_acl *,
70 void core_disable_device_list_for_node(struct se_lun *, struct se_dev_entry *,
72 void core_clear_lun_from_tpg(struct se_lun *, struct se_portal_group *);
74 struct se_lun *lun);
75 void core_dev_del_lun(struct se_portal_group *, struct se_lun *);
79 struct se_lun_acl *, struct se_lun *lun, bool);
80 int core_dev_del_initiator_node_lun_acl(struct se_lun *,
125 struct se_lun *);
127 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 *,
[all …]
H 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 …]
H A Dtarget_core_stat.c418 static struct se_lun *to_stat_port(struct config_item *item) in to_stat_port()
422 return container_of(pgrps, struct se_lun, port_stat_grps); in to_stat_port()
427 struct se_lun *lun = to_stat_port(item); in target_stat_port_inst_show()
441 struct se_lun *lun = to_stat_port(item); in target_stat_port_dev_show()
455 struct se_lun *lun = to_stat_port(item); in target_stat_port_indx_show()
469 struct se_lun *lun = to_stat_port(item); in target_stat_port_role_show()
484 struct se_lun *lun = to_stat_port(item); in target_stat_port_busy_count_show()
521 static struct se_lun *to_stat_tgt_port(struct config_item *item) in to_stat_tgt_port()
525 return container_of(pgrps, struct se_lun, port_stat_grps); in to_stat_tgt_port()
531 struct se_lun *lun = to_stat_tgt_port(item); in target_stat_tgt_port_inst_show()
[all …]
H A Dtarget_core_alua.c35 struct se_lun *lun, int explicit, int offline);
39 static void __target_attach_tg_pt_gp(struct se_lun *lun,
140 struct se_lun *lun; in target_emulate_report_target_port_groups()
254 tg_pt_gp = rcu_dereference(cmd->se_lun->lun_tg_pt_gp); 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()
913 struct se_lun *lun; in core_alua_queue_state_change_ua()
1055 struct se_lun *l_lun, in core_alua_do_port_transition()
1168 static int core_alua_update_tpg_secondary_metadata(struct se_lun *lun) in core_alua_update_tpg_secondary_metadata()
[all …]
H A Dtarget_core_tpg.c107 struct se_lun *lun_orig) in core_tpg_add_node_to_devs()
110 struct se_lun *lun; in core_tpg_add_node_to_devs()
438 struct se_lun *lun = container_of(ref, struct se_lun, lun_ref); in core_tpg_lun_ref_release()
607 struct se_lun *core_tpg_alloc_lun( in core_tpg_alloc_lun()
611 struct se_lun *lun; in core_tpg_alloc_lun()
646 struct se_lun *lun = container_of(head, struct se_lun, rcu_head); in target_tpg_free_lun()
654 struct se_lun *lun, in core_tpg_add_lun()
694 struct se_lun *lun) in core_tpg_remove_lun()
H A Dtarget_core_xcopy.c76 struct se_lun *this_lun = NULL; in target_xcopy_locate_se_dev_e4()
92 this_lun = deve->se_lun; in target_xcopy_locate_se_dev_e4()
525 cmd->se_lun = &se_dev->xcopy_lun; in target_xcopy_setup_pt_cmd()
528 cmd->se_lun = xop->xop_se_cmd->se_lun; in target_xcopy_setup_pt_cmd()
H A Dtarget_core_pr.h69 struct se_portal_group *, struct se_lun *,
/linux/drivers/target/tcm_remote/
H A Dtcm_remote.c72 struct se_lun *lun) in tcm_remote_port_link()
81 struct se_lun *lun) in tcm_remote_port_unlink()
/linux/drivers/target/loopback/
H A Dtcm_loop.h48 struct se_lun *tl_hba_lun;
H A Dtcm_loop.c625 struct se_lun *lun) in tcm_loop_port_link()
643 struct se_lun *se_lun) in tcm_loop_port_unlink() argument
653 se_lun->unpacked_lun); in tcm_loop_port_unlink()
656 0, tl_tpg->tl_tpgt, se_lun->unpacked_lun); in tcm_loop_port_unlink()
/linux/drivers/usb/gadget/function/
H A Df_tcm.c1983 static int usbg_port_link(struct se_portal_group *se_tpg, struct se_lun *lun) in usbg_port_link()
1993 struct se_lun *se_lun) in usbg_port_unlink() argument