se_lun            628 drivers/target/loopback/tcm_loop.c 	struct se_lun *lun)
se_lun            646 drivers/target/loopback/tcm_loop.c 	struct se_lun *se_lun)
se_lun            656 drivers/target/loopback/tcm_loop.c 				se_lun->unpacked_lun);
se_lun            659 drivers/target/loopback/tcm_loop.c 		       0, tl_tpg->tl_tpgt, se_lun->unpacked_lun);
se_lun             49 drivers/target/loopback/tcm_loop.h 	struct se_lun *tl_hba_lun;
se_lun            164 drivers/target/sbp/sbp_target.c 	struct se_lun *se_lun;
se_lun            167 drivers/target/sbp/sbp_target.c 	hlist_for_each_entry_rcu(se_lun, &se_tpg->tpg_lun_hlist, link) {
se_lun            168 drivers/target/sbp/sbp_target.c 		if (se_lun->unpacked_lun == login_lun) {
se_lun           1800 drivers/target/sbp/sbp_target.c 	struct se_lun *lun;
se_lun           1813 drivers/target/sbp/sbp_target.c 	struct se_lun *lun;
se_lun           1962 drivers/target/sbp/sbp_target.c 		struct se_lun *se_lun)
se_lun           1971 drivers/target/sbp/sbp_target.c 		struct se_lun *se_lun)
se_lun             35 drivers/target/target_core_alua.c 		struct se_lun *lun, int explicit, int offline);
se_lun             39 drivers/target/target_core_alua.c static void __target_attach_tg_pt_gp(struct se_lun *lun,
se_lun            140 drivers/target/target_core_alua.c 	struct se_lun *lun;
se_lun            250 drivers/target/target_core_alua.c 		spin_lock(&cmd->se_lun->lun_tg_pt_gp_lock);
se_lun            251 drivers/target/target_core_alua.c 		tg_pt_gp = cmd->se_lun->lun_tg_pt_gp;
se_lun            254 drivers/target/target_core_alua.c 		spin_unlock(&cmd->se_lun->lun_tg_pt_gp_lock);
se_lun            271 drivers/target/target_core_alua.c 	struct se_lun *l_lun = cmd->se_lun;
se_lun            384 drivers/target/target_core_alua.c 			struct se_lun *lun;
se_lun            674 drivers/target/target_core_alua.c 	struct se_lun *lun = cmd->se_lun;
se_lun            939 drivers/target/target_core_alua.c 	struct se_lun *lun;
se_lun           1082 drivers/target/target_core_alua.c 	struct se_lun *l_lun,
se_lun           1195 drivers/target/target_core_alua.c static int core_alua_update_tpg_secondary_metadata(struct se_lun *lun)
se_lun           1243 drivers/target/target_core_alua.c 	struct se_lun *lun,
se_lun           1739 drivers/target/target_core_alua.c 	struct se_lun *lun, *next;
se_lun           1829 drivers/target/target_core_alua.c static void __target_attach_tg_pt_gp(struct se_lun *lun,
se_lun           1848 drivers/target/target_core_alua.c void target_attach_tg_pt_gp(struct se_lun *lun,
se_lun           1856 drivers/target/target_core_alua.c static void __target_detach_tg_pt_gp(struct se_lun *lun,
se_lun           1869 drivers/target/target_core_alua.c void target_detach_tg_pt_gp(struct se_lun *lun)
se_lun           1880 drivers/target/target_core_alua.c ssize_t core_alua_show_tg_pt_gp_info(struct se_lun *lun, char *page)
se_lun           1909 drivers/target/target_core_alua.c 	struct se_lun *lun,
se_lun           2161 drivers/target/target_core_alua.c ssize_t core_alua_show_offline_bit(struct se_lun *lun, char *page)
se_lun           2168 drivers/target/target_core_alua.c 	struct se_lun *lun,
se_lun           2203 drivers/target/target_core_alua.c 	struct se_lun *lun,
se_lun           2210 drivers/target/target_core_alua.c 	struct se_lun *lun,
se_lun           2235 drivers/target/target_core_alua.c 	struct se_lun *lun,
se_lun           2242 drivers/target/target_core_alua.c 	struct se_lun *lun,
se_lun             90 drivers/target/target_core_alua.h 				struct se_device *, struct se_lun *,
se_lun            114 drivers/target/target_core_alua.h extern void target_detach_tg_pt_gp(struct se_lun *);
se_lun            115 drivers/target/target_core_alua.h extern void target_attach_tg_pt_gp(struct se_lun *, struct t10_alua_tg_pt_gp *);
se_lun            116 drivers/target/target_core_alua.h extern ssize_t core_alua_show_tg_pt_gp_info(struct se_lun *, char *);
se_lun            117 drivers/target/target_core_alua.h extern ssize_t core_alua_store_tg_pt_gp_info(struct se_lun *, const char *,
se_lun            138 drivers/target/target_core_alua.h extern ssize_t core_alua_show_offline_bit(struct se_lun *, char *);
se_lun            139 drivers/target/target_core_alua.h extern ssize_t core_alua_store_offline_bit(struct se_lun *, const char *,
se_lun            141 drivers/target/target_core_alua.h extern ssize_t core_alua_show_secondary_status(struct se_lun *, char *);
se_lun            142 drivers/target/target_core_alua.h extern ssize_t core_alua_store_secondary_status(struct se_lun *,
se_lun            144 drivers/target/target_core_alua.h extern ssize_t core_alua_show_secondary_write_metadata(struct se_lun *,
se_lun            146 drivers/target/target_core_alua.h extern ssize_t core_alua_store_secondary_write_metadata(struct se_lun *,
se_lun           2955 drivers/target/target_core_configfs.c 	struct se_lun *lun;
se_lun             50 drivers/target/target_core_device.c 	struct se_lun *se_lun = NULL;
se_lun             68 drivers/target/target_core_device.c 		se_lun = rcu_dereference(deve->se_lun);
se_lun             70 drivers/target/target_core_device.c 		if (!percpu_ref_tryget_live(&se_lun->lun_ref)) {
se_lun             71 drivers/target/target_core_device.c 			se_lun = NULL;
se_lun             75 drivers/target/target_core_device.c 		se_cmd->se_lun = se_lun;
se_lun             95 drivers/target/target_core_device.c 	if (!se_lun) {
se_lun            109 drivers/target/target_core_device.c 		se_lun = se_sess->se_tpg->tpg_virt_lun0;
se_lun            110 drivers/target/target_core_device.c 		se_cmd->se_lun = se_sess->se_tpg->tpg_virt_lun0;
se_lun            114 drivers/target/target_core_device.c 		percpu_ref_get(&se_lun->lun_ref);
se_lun            133 drivers/target/target_core_device.c 	se_cmd->se_dev = rcu_dereference_raw(se_lun->lun_se_dev);
se_lun            150 drivers/target/target_core_device.c 	struct se_lun *se_lun = NULL;
se_lun            159 drivers/target/target_core_device.c 		se_lun = rcu_dereference(deve->se_lun);
se_lun            161 drivers/target/target_core_device.c 		if (!percpu_ref_tryget_live(&se_lun->lun_ref)) {
se_lun            162 drivers/target/target_core_device.c 			se_lun = NULL;
se_lun            166 drivers/target/target_core_device.c 		se_cmd->se_lun = se_lun;
se_lun            175 drivers/target/target_core_device.c 	if (!se_lun) {
se_lun            182 drivers/target/target_core_device.c 	se_cmd->se_dev = rcu_dereference_raw(se_lun->lun_se_dev);
se_lun            183 drivers/target/target_core_device.c 	se_tmr->tmr_dev = rcu_dereference_raw(se_lun->lun_se_dev);
se_lun            218 drivers/target/target_core_device.c 	struct se_lun *lun;
se_lun            223 drivers/target/target_core_device.c 		lun = rcu_dereference(deve->se_lun);
se_lun            251 drivers/target/target_core_device.c 		struct se_lun *lun = rcu_dereference_check(deve->se_lun,
se_lun            311 drivers/target/target_core_device.c 	struct se_lun *lun,
se_lun            340 drivers/target/target_core_device.c 	if (orig && orig->se_lun) {
se_lun            341 drivers/target/target_core_device.c 		struct se_lun *orig_lun = rcu_dereference_check(orig->se_lun,
se_lun            362 drivers/target/target_core_device.c 		rcu_assign_pointer(new->se_lun, lun);
se_lun            381 drivers/target/target_core_device.c 	rcu_assign_pointer(new->se_lun, lun);
se_lun            395 drivers/target/target_core_device.c 	struct se_lun *lun,
se_lun            441 drivers/target/target_core_device.c 	rcu_assign_pointer(orig->se_lun, NULL);
se_lun            454 drivers/target/target_core_device.c void core_clear_lun_from_tpg(struct se_lun *lun, struct se_portal_group *tpg)
se_lun            464 drivers/target/target_core_device.c 			struct se_lun *tmp_lun = rcu_dereference_check(deve->se_lun,
se_lun            477 drivers/target/target_core_device.c int core_alloc_rtpi(struct se_lun *lun, struct se_device *dev)
se_lun            479 drivers/target/target_core_device.c 	struct se_lun *tmp;
se_lun            552 drivers/target/target_core_device.c 	struct se_lun *lun)
se_lun            591 drivers/target/target_core_device.c 	struct se_lun *lun)
se_lun            631 drivers/target/target_core_device.c 	struct se_lun *lun,
se_lun            647 drivers/target/target_core_device.c 	lacl->se_lun = lun;
se_lun            668 drivers/target/target_core_device.c 	struct se_lun *lun,
se_lun            727 drivers/target/target_core_device.c 	struct se_lun *xcopy_lun;
se_lun             70 drivers/target/target_core_fabric_configfs.c 	struct se_lun *lun;
se_lun             82 drivers/target/target_core_fabric_configfs.c 	lun = container_of(to_config_group(lun_ci), struct se_lun, lun_group);
se_lun            147 drivers/target/target_core_fabric_configfs.c 	struct se_lun *lun = container_of(to_config_group(lun_ci),
se_lun            148 drivers/target/target_core_fabric_configfs.c 			struct se_lun, lun_group);
se_lun            512 drivers/target/target_core_fabric_configfs.c static struct se_lun *item_to_lun(struct config_item *item)
se_lun            514 drivers/target/target_core_fabric_configfs.c 	return container_of(to_config_group(item), struct se_lun,
se_lun            521 drivers/target/target_core_fabric_configfs.c 	struct se_lun *lun = item_to_lun(item);
se_lun            532 drivers/target/target_core_fabric_configfs.c 	struct se_lun *lun = item_to_lun(item);
se_lun            543 drivers/target/target_core_fabric_configfs.c 	struct se_lun *lun = item_to_lun(item);
se_lun            554 drivers/target/target_core_fabric_configfs.c 	struct se_lun *lun = item_to_lun(item);
se_lun            565 drivers/target/target_core_fabric_configfs.c 	struct se_lun *lun = item_to_lun(item);
se_lun            576 drivers/target/target_core_fabric_configfs.c 	struct se_lun *lun = item_to_lun(item);
se_lun            587 drivers/target/target_core_fabric_configfs.c 	struct se_lun *lun = item_to_lun(item);
se_lun            598 drivers/target/target_core_fabric_configfs.c 	struct se_lun *lun = item_to_lun(item);
se_lun            624 drivers/target/target_core_fabric_configfs.c 	struct se_lun *lun = container_of(to_config_group(lun_ci),
se_lun            625 drivers/target/target_core_fabric_configfs.c 				struct se_lun, lun_group);
se_lun            677 drivers/target/target_core_fabric_configfs.c 	struct se_lun *lun = container_of(to_config_group(lun_ci),
se_lun            678 drivers/target/target_core_fabric_configfs.c 				struct se_lun, lun_group);
se_lun            696 drivers/target/target_core_fabric_configfs.c 	struct se_lun *lun = container_of(to_config_group(item),
se_lun            697 drivers/target/target_core_fabric_configfs.c 					  struct se_lun, lun_group);
se_lun            743 drivers/target/target_core_fabric_configfs.c 	struct se_lun *lun;
se_lun            780 drivers/target/target_core_fabric_configfs.c 	struct se_lun *lun = container_of(to_config_group(item),
se_lun            781 drivers/target/target_core_fabric_configfs.c 				struct se_lun, lun_group);
se_lun             61 drivers/target/target_core_internal.h int	core_alloc_rtpi(struct se_lun *lun, struct se_device *dev);
se_lun             68 drivers/target/target_core_internal.h int	core_enable_device_list_for_node(struct se_lun *, struct se_lun_acl *,
se_lun             70 drivers/target/target_core_internal.h void	core_disable_device_list_for_node(struct se_lun *, struct se_dev_entry *,
se_lun             72 drivers/target/target_core_internal.h void	core_clear_lun_from_tpg(struct se_lun *, struct se_portal_group *);
se_lun             74 drivers/target/target_core_internal.h 		struct se_lun *lun);
se_lun             75 drivers/target/target_core_internal.h void	core_dev_del_lun(struct se_portal_group *, struct se_lun *);
se_lun             79 drivers/target/target_core_internal.h 		struct se_lun_acl *, struct se_lun *lun, bool);
se_lun             80 drivers/target/target_core_internal.h int	core_dev_del_initiator_node_lun_acl(struct se_lun *,
se_lun            124 drivers/target/target_core_internal.h 				  struct se_lun *);
se_lun            126 drivers/target/target_core_internal.h struct se_lun *core_tpg_alloc_lun(struct se_portal_group *, u64);
se_lun            127 drivers/target/target_core_internal.h int	core_tpg_add_lun(struct se_portal_group *, struct se_lun *,
se_lun            129 drivers/target/target_core_internal.h void core_tpg_remove_lun(struct se_portal_group *, struct se_lun *);
se_lun            143 drivers/target/target_core_internal.h void	transport_dump_dev_info(struct se_device *, struct se_lun *,
se_lun            149 drivers/target/target_core_internal.h void	transport_clear_lun_ref(struct se_lun *);
se_lun            158 drivers/target/target_core_internal.h void	target_stat_setup_port_default_groups(struct se_lun *);
se_lun            231 drivers/target/target_core_pr.c 		cmd->se_lun->unpacked_lun, cmd->orig_fe_lun,
se_lun            275 drivers/target/target_core_pr.c 			cmd->se_lun->unpacked_lun,
se_lun            278 drivers/target/target_core_pr.c 			" from %s \n", cmd->se_lun->unpacked_lun,
se_lun            293 drivers/target/target_core_pr.c 		cmd->se_lun->unpacked_lun, cmd->orig_fe_lun,
se_lun            617 drivers/target/target_core_pr.c 	struct se_lun *lun,
se_lun            692 drivers/target/target_core_pr.c 	struct se_lun *lun,
se_lun            703 drivers/target/target_core_pr.c 	struct se_lun *lun_tmp, *next, *dest_lun;
se_lun            786 drivers/target/target_core_pr.c 			dest_lun = rcu_dereference_check(deve_tmp->se_lun,
se_lun            923 drivers/target/target_core_pr.c 	struct se_lun *lun,
se_lun           1005 drivers/target/target_core_pr.c 	struct se_lun *lun,
se_lun           1132 drivers/target/target_core_pr.c 	struct se_lun *lun,
se_lun           1526 drivers/target/target_core_pr.c 				se_sess->se_node_acl, cmd->se_lun,
se_lun           1577 drivers/target/target_core_pr.c 		struct se_lun *dest_lun, *tmp_lun;
se_lun           1753 drivers/target/target_core_pr.c 		dest_lun = rcu_dereference_check(dest_se_deve->se_lun,
se_lun           2050 drivers/target/target_core_pr.c 	struct se_lun *se_lun = cmd->se_lun;
se_lun           2058 drivers/target/target_core_pr.c 	if (!se_sess || !se_lun) {
se_lun           2093 drivers/target/target_core_pr.c 					se_sess->se_node_acl, cmd->se_lun,
se_lun           2274 drivers/target/target_core_pr.c 	struct se_lun *se_lun = cmd->se_lun;
se_lun           2282 drivers/target/target_core_pr.c 	if (!se_sess || !se_lun) {
se_lun           2518 drivers/target/target_core_pr.c 	struct se_lun *se_lun = cmd->se_lun;
se_lun           2523 drivers/target/target_core_pr.c 	if (!se_sess || !se_lun) {
se_lun           3145 drivers/target/target_core_pr.c 	struct se_lun *se_lun = cmd->se_lun, *tmp_lun;
se_lun           3160 drivers/target/target_core_pr.c 	if (!se_sess || !se_lun) {
se_lun           3453 drivers/target/target_core_pr.c 		struct se_lun *dest_lun = rcu_dereference_check(dest_se_deve->se_lun,
se_lun             69 drivers/target/target_core_pr.h 			struct se_portal_group *, struct se_lun *,
se_lun             28 drivers/target/target_core_spc.c static void spc_fill_alua_data(struct se_lun *lun, unsigned char *buf)
se_lun             53 drivers/target/target_core_spc.c 	struct se_lun *lun = cmd->se_lun;
se_lun            171 drivers/target/target_core_spc.c 	struct se_lun *lun = cmd->se_lun;
se_lun            704 drivers/target/target_core_spc.c 	struct se_portal_group *tpg = cmd->se_lun->lun_tpg;
se_lun           1006 drivers/target/target_core_spc.c 	if (cmd->se_lun->lun_access_ro || target_lun_is_rdonly(cmd))
se_lun            417 drivers/target/target_core_stat.c static struct se_lun *to_stat_port(struct config_item *item)
se_lun            421 drivers/target/target_core_stat.c 	return container_of(pgrps, struct se_lun, port_stat_grps);
se_lun            426 drivers/target/target_core_stat.c 	struct se_lun *lun = to_stat_port(item);
se_lun            440 drivers/target/target_core_stat.c 	struct se_lun *lun = to_stat_port(item);
se_lun            454 drivers/target/target_core_stat.c 	struct se_lun *lun = to_stat_port(item);
se_lun            468 drivers/target/target_core_stat.c 	struct se_lun *lun = to_stat_port(item);
se_lun            483 drivers/target/target_core_stat.c 	struct se_lun *lun = to_stat_port(item);
se_lun            520 drivers/target/target_core_stat.c static struct se_lun *to_stat_tgt_port(struct config_item *item)
se_lun            524 drivers/target/target_core_stat.c 	return container_of(pgrps, struct se_lun, port_stat_grps);
se_lun            530 drivers/target/target_core_stat.c 	struct se_lun *lun = to_stat_tgt_port(item);
se_lun            545 drivers/target/target_core_stat.c 	struct se_lun *lun = to_stat_tgt_port(item);
se_lun            560 drivers/target/target_core_stat.c 	struct se_lun *lun = to_stat_tgt_port(item);
se_lun            575 drivers/target/target_core_stat.c 	struct se_lun *lun = to_stat_tgt_port(item);
se_lun            593 drivers/target/target_core_stat.c 	struct se_lun *lun = to_stat_tgt_port(item);
se_lun            611 drivers/target/target_core_stat.c 	struct se_lun *lun = to_stat_tgt_port(item);
se_lun            627 drivers/target/target_core_stat.c 	struct se_lun *lun = to_stat_tgt_port(item);
se_lun            643 drivers/target/target_core_stat.c 	struct se_lun *lun = to_stat_tgt_port(item);
se_lun            659 drivers/target/target_core_stat.c 	struct se_lun *lun = to_stat_tgt_port(item);
se_lun            704 drivers/target/target_core_stat.c static struct se_lun *to_transport_stat(struct config_item *item)
se_lun            708 drivers/target/target_core_stat.c 	return container_of(pgrps, struct se_lun, port_stat_grps);
se_lun            714 drivers/target/target_core_stat.c 	struct se_lun *lun = to_transport_stat(item);
se_lun            729 drivers/target/target_core_stat.c 	struct se_lun *lun = to_transport_stat(item);
se_lun            748 drivers/target/target_core_stat.c 	struct se_lun *lun = to_transport_stat(item);
se_lun            765 drivers/target/target_core_stat.c 	struct se_lun *lun = to_transport_stat(item);
se_lun            788 drivers/target/target_core_stat.c 	struct se_lun *lun = to_transport_stat(item);
se_lun            825 drivers/target/target_core_stat.c void target_stat_setup_port_default_groups(struct se_lun *lun)
se_lun            883 drivers/target/target_core_stat.c 	struct se_lun *lun;
se_lun            892 drivers/target/target_core_stat.c 	lun = rcu_dereference(deve->se_lun);
se_lun           1223 drivers/target/target_core_stat.c 	struct se_lun *lun;
se_lun           1232 drivers/target/target_core_stat.c 	lun = rcu_dereference(deve->se_lun);
se_lun            109 drivers/target/target_core_tpg.c 	struct se_lun *lun_orig)
se_lun            112 drivers/target/target_core_tpg.c 	struct se_lun *lun;
se_lun            440 drivers/target/target_core_tpg.c 	struct se_lun *lun = container_of(ref, struct se_lun, lun_ref);
se_lun            554 drivers/target/target_core_tpg.c struct se_lun *core_tpg_alloc_lun(
se_lun            558 drivers/target/target_core_tpg.c 	struct se_lun *lun;
se_lun            582 drivers/target/target_core_tpg.c 	struct se_lun *lun,
se_lun            629 drivers/target/target_core_tpg.c 	struct se_lun *lun)
se_lun            672 drivers/target/target_core_transport.c 	cmd->se_lun = NULL;
se_lun            703 drivers/target/target_core_transport.c 	struct se_lun *lun = cmd->se_lun;
se_lun            728 drivers/target/target_core_transport.c 	WARN_ON(!cmd->se_lun);
se_lun           1453 drivers/target/target_core_transport.c 	atomic_long_inc(&cmd->se_lun->lun_stats.cmd_pdus);
se_lun           1467 drivers/target/target_core_transport.c 	if (!cmd->se_lun) {
se_lun           2350 drivers/target/target_core_transport.c 				&cmd->se_lun->lun_stats.tx_data_octets);
se_lun           2374 drivers/target/target_core_transport.c 				&cmd->se_lun->lun_stats.rx_data_octets);
se_lun           2380 drivers/target/target_core_transport.c 					&cmd->se_lun->lun_stats.tx_data_octets);
se_lun           2726 drivers/target/target_core_transport.c 		if (cmd->se_lun)
se_lun           2972 drivers/target/target_core_transport.c void transport_clear_lun_ref(struct se_lun *lun)
se_lun            530 drivers/target/target_core_xcopy.c 		cmd->se_lun = &se_dev->xcopy_lun;
se_lun            533 drivers/target/target_core_xcopy.c 		cmd->se_lun = xop->xop_se_cmd->se_lun;
se_lun           1683 drivers/usb/gadget/function/f_tcm.c static int usbg_port_link(struct se_portal_group *se_tpg, struct se_lun *lun)
se_lun           1693 drivers/usb/gadget/function/f_tcm.c 		struct se_lun *se_lun)
se_lun           1291 drivers/vhost/scsi.c 		   struct se_lun *lun,
se_lun           1783 drivers/vhost/scsi.c 		  struct se_lun *lun, bool plug)
se_lun           1809 drivers/vhost/scsi.c static void vhost_scsi_hotplug(struct vhost_scsi_tpg *tpg, struct se_lun *lun)
se_lun           1814 drivers/vhost/scsi.c static void vhost_scsi_hotunplug(struct vhost_scsi_tpg *tpg, struct se_lun *lun)
se_lun           1820 drivers/vhost/scsi.c 			       struct se_lun *lun)
se_lun           1839 drivers/vhost/scsi.c 				  struct se_lun *lun)
se_lun            900 drivers/xen/xen-scsiback.c 	struct se_lun *se_lun;
se_lun            922 drivers/xen/xen-scsiback.c 			hlist_for_each_entry(se_lun, &tpg_entry->se_tpg.tpg_lun_hlist, link) {
se_lun            923 drivers/xen/xen-scsiback.c 				if (se_lun->unpacked_lun == unpacked_lun) {
se_lun           1711 drivers/xen/xen-scsiback.c 			       struct se_lun *lun)
se_lun           1724 drivers/xen/xen-scsiback.c 				  struct se_lun *lun)
se_lun            307 include/target/target_core_base.h 	struct se_lun *tg_pt_gp_alua_lun;
se_lun            481 include/target/target_core_base.h 	struct se_lun		*se_lun;
se_lun            636 include/target/target_core_base.h 	struct se_lun		*se_lun;
se_lun            655 include/target/target_core_base.h 	struct se_lun __rcu	*se_lun;
se_lun            829 include/target/target_core_base.h 	struct se_lun		xcopy_lun;
se_lun            883 include/target/target_core_base.h 	struct se_lun		*tpg_virt_lun0;
se_lun             94 include/target/target_core_fabric.h 				struct se_lun *);
se_lun             96 include/target/target_core_fabric.h 				struct se_lun *);