Home
last modified time | relevance | path

Searched refs:se_lun (Results 1 - 25 of 43) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/target/
H A Dtarget_core_internal.h61 int core_alloc_rtpi(struct se_lun *lun, struct se_device *dev);
68 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 *,
124 struct se_lun *);
126 struct se_lun *core_tpg_alloc_lu
[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_device.c50 struct se_lun *se_lun = NULL; in transport_lookup_cmd_lun() local
68 se_lun = rcu_dereference(deve->se_lun); in transport_lookup_cmd_lun()
70 if (!percpu_ref_tryget_live(&se_lun->lun_ref)) { in transport_lookup_cmd_lun()
71 se_lun = NULL; in transport_lookup_cmd_lun()
75 se_cmd->se_lun = se_lun; in transport_lookup_cmd_lun()
94 if (!se_lun) { in transport_lookup_cmd_lun()
109 se_lun in transport_lookup_cmd_lun()
149 struct se_lun *se_lun = NULL; transport_lookup_tmr_lun() local
[all...]
H A Dtarget_core_fabric_configfs.c70 struct se_lun *lun; in target_fabric_mappedlun_link()
82 lun = container_of(to_config_group(lun_ci), struct se_lun, lun_group); in target_fabric_mappedlun_link()
88 pr_err("Source se_lun->lun_se_dev does not exist\n"); in target_fabric_mappedlun_link()
147 struct se_lun *lun = container_of(to_config_group(lun_ci), in target_fabric_mappedlun_unlink()
148 struct se_lun, lun_group); in target_fabric_mappedlun_unlink()
512 static struct se_lun *item_to_lun(struct config_item *item) in item_to_lun()
514 return container_of(to_config_group(item), struct se_lun, in item_to_lun()
521 struct se_lun *lun = item_to_lun(item); in target_fabric_port_alua_tg_pt_gp_show()
532 struct se_lun *lun = item_to_lun(item); in target_fabric_port_alua_tg_pt_gp_store()
543 struct se_lun *lu in target_fabric_port_alua_tg_pt_offline_show()
[all...]
H A Dtarget_core_stat.c417 static struct se_lun *to_stat_port(struct config_item *item) in to_stat_port()
421 return container_of(pgrps, struct se_lun, port_stat_grps); in to_stat_port()
426 struct se_lun *lun = to_stat_port(item); in target_stat_port_inst_show()
440 struct se_lun *lun = to_stat_port(item); in target_stat_port_dev_show()
454 struct se_lun *lun = to_stat_port(item); in target_stat_port_indx_show()
468 struct se_lun *lun = to_stat_port(item); in target_stat_port_role_show()
483 struct se_lun *lun = to_stat_port(item); in target_stat_port_busy_count_show()
520 static struct se_lun *to_stat_tgt_port(struct config_item *item) in to_stat_tgt_port()
524 return container_of(pgrps, struct se_lun, port_stat_grps); in to_stat_tgt_port()
530 struct se_lun *lu 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()
250 spin_lock(&cmd->se_lun->lun_tg_pt_gp_lock); in target_emulate_report_target_port_groups()
251 tg_pt_gp = cmd->se_lun->lun_tg_pt_gp; in target_emulate_report_target_port_groups()
254 spin_unlock(&cmd->se_lun->lun_tg_pt_gp_lock); in target_emulate_report_target_port_groups()
271 struct se_lun *l_lun = cmd->se_lun; in target_emulate_set_target_port_groups()
384 struct se_lun *lun; in target_emulate_set_target_port_groups()
674 struct se_lun *lu in target_alua_state_check()
[all...]
H 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()
550 pr_err("Unable to allocate se_lun memory\n"); 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()
619 * rcu_dereference_raw protected by se_lun in core_tpg_remove_lun()
[all...]
H A Dtarget_core_pr.c231 cmd->se_lun->unpacked_lun, cmd->orig_fe_lun, in target_scsi2_reservation_release()
275 cmd->se_lun->unpacked_lun, in target_scsi2_reservation_reserve()
278 " from %s \n", cmd->se_lun->unpacked_lun, in target_scsi2_reservation_reserve()
293 cmd->se_lun->unpacked_lun, cmd->orig_fe_lun, in target_scsi2_reservation_reserve()
617 struct se_lun *lun, in __core_scsi3_do_alloc_registration()
692 struct se_lun *lun, in __core_scsi3_alloc_registration()
703 struct se_lun *lun_tmp, *next, *dest_lun; in __core_scsi3_alloc_registration()
786 dest_lun = rcu_dereference_check(deve_tmp->se_lun, in __core_scsi3_alloc_registration()
923 struct se_lun *lun, in __core_scsi3_check_aptpl_registration()
1005 struct se_lun *lu in core_scsi3_check_aptpl_registration()
2057 struct se_lun *se_lun = cmd->se_lun; core_scsi3_emulate_pro_register() local
2281 struct se_lun *se_lun = cmd->se_lun; core_scsi3_pro_reserve() local
2525 struct se_lun *se_lun = cmd->se_lun; core_scsi3_emulate_pro_release() local
3152 struct se_lun *se_lun = cmd->se_lun, *tmp_lun; core_scsi3_emulate_pro_register_and_move() local
[all...]
H A Dtarget_core_pr.h69 struct se_portal_group *, struct se_lun *,
/kernel/linux/linux-6.6/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);
128 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_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()
80 if (!percpu_ref_tryget_live(&se_lun->lun_ref)) { 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()
115 se_lun in transport_lookup_cmd_lun()
146 struct se_lun *se_lun = NULL; transport_lookup_tmr_lun() local
[all...]
H A Dtarget_core_fabric_configfs.c71 struct se_lun *lun; in target_fabric_mappedlun_link()
83 lun = container_of(to_config_group(lun_ci), struct se_lun, lun_group); in target_fabric_mappedlun_link()
89 pr_err("Source se_lun->lun_se_dev does not exist\n"); in target_fabric_mappedlun_link()
148 struct se_lun *lun = container_of(to_config_group(lun_ci), in target_fabric_mappedlun_unlink()
149 struct se_lun, lun_group); in target_fabric_mappedlun_unlink()
513 static struct se_lun *item_to_lun(struct config_item *item) in item_to_lun()
515 return container_of(to_config_group(item), struct se_lun, in item_to_lun()
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 *lu in target_fabric_port_alua_tg_pt_offline_show()
[all...]
H A Dtarget_core_stat.c414 static struct se_lun *to_stat_port(struct config_item *item) in to_stat_port()
418 return container_of(pgrps, struct se_lun, port_stat_grps); in to_stat_port()
423 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()
517 static struct se_lun *to_stat_tgt_port(struct config_item *item) in to_stat_tgt_port()
521 return container_of(pgrps, struct se_lun, port_stat_grps); in to_stat_tgt_port()
527 struct se_lun *lu 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()
706 * handled above with struct se_lun in target_alua_state_check()
[all...]
H A Dtarget_core_pr.c231 cmd->se_lun->unpacked_lun, cmd->orig_fe_lun, in target_scsi2_reservation_release()
275 cmd->se_lun->unpacked_lun, in target_scsi2_reservation_reserve()
278 " from %s \n", cmd->se_lun->unpacked_lun, in target_scsi2_reservation_reserve()
293 cmd->se_lun->unpacked_lun, cmd->orig_fe_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()
704 struct se_lun *lun_tmp, *next, *dest_lun; in __core_scsi3_alloc_registration()
786 dest_lun = deve_tmp->se_lun; in __core_scsi3_alloc_registration()
921 struct se_lun *lun, in __core_scsi3_check_aptpl_registration()
1001 struct se_lun *lu in core_scsi3_check_aptpl_registration()
2040 struct se_lun *se_lun = cmd->se_lun; core_scsi3_emulate_pro_register() local
2264 struct se_lun *se_lun = cmd->se_lun; core_scsi3_pro_reserve() local
2505 struct se_lun *se_lun = cmd->se_lun; core_scsi3_emulate_pro_release() local
3146 struct se_lun *se_lun = cmd->se_lun, *tmp_lun; core_scsi3_emulate_pro_register_and_move() local
[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()
615 pr_err("Unable to allocate se_lun memory\n"); in core_tpg_alloc_lun()
635 struct se_lun *lun, in core_tpg_add_lun()
675 struct se_lun *lun) in core_tpg_remove_lun()
678 * rcu_dereference_raw protected by se_lun in core_tpg_remove_lun()
[all...]
H A Dtarget_core_pr.h69 struct se_portal_group *, struct se_lun *,
/kernel/linux/linux-5.10/include/target/
H A Dtarget_core_base.h306 struct se_lun *tg_pt_gp_alua_lun;
487 struct se_lun *se_lun; member
646 struct se_lun *se_lun; member
665 struct se_lun __rcu *se_lun; member
725 struct se_lun { struct
845 struct se_lun xcopy_lun;
848 /* For se_lun
[all...]
H A Dtarget_core_fabric.h94 struct se_lun *);
96 struct se_lun *);
/kernel/linux/linux-6.6/include/target/
H A Dtarget_core_base.h312 struct se_lun *tg_pt_gp_alua_lun;
494 struct se_lun *se_lun; member
658 struct se_lun *se_lun; member
677 struct se_lun *se_lun; member
737 struct se_lun { struct
863 struct se_lun xcopy_lun;
866 /* For se_lun
[all...]
H A Dtarget_core_fabric.h95 struct se_lun *);
97 struct se_lun *);
/kernel/linux/linux-6.6/drivers/target/loopback/
H A Dtcm_loop.h48 struct se_lun *tl_hba_lun;
/kernel/linux/linux-5.10/drivers/target/loopback/
H A Dtcm_loop.h49 struct se_lun *tl_hba_lun;
/kernel/linux/linux-6.6/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()

Completed in 25 milliseconds

12