Home
last modified time | relevance | path

Searched refs:tg_pt_gp (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/target/
H A Dtarget_core_alua.c40 struct t10_alua_tg_pt_gp *tg_pt_gp);
139 struct t10_alua_tg_pt_gp *tg_pt_gp; in target_emulate_report_target_port_groups() local
165 list_for_each_entry(tg_pt_gp, &dev->t10_alua.tg_pt_gps_list, in target_emulate_report_target_port_groups()
173 if ((off + 8 + (tg_pt_gp->tg_pt_gp_members * 4)) > in target_emulate_report_target_port_groups()
175 rd_len += 8 + (tg_pt_gp->tg_pt_gp_members * 4); in target_emulate_report_target_port_groups()
182 if (tg_pt_gp->tg_pt_gp_pref) in target_emulate_report_target_port_groups()
187 buf[off++] |= tg_pt_gp->tg_pt_gp_alua_access_state & 0xff; in target_emulate_report_target_port_groups()
191 buf[off++] |= tg_pt_gp->tg_pt_gp_alua_supported_states; in target_emulate_report_target_port_groups()
195 put_unaligned_be16(tg_pt_gp->tg_pt_gp_id, &buf[off]); in target_emulate_report_target_port_groups()
202 buf[off++] = (tg_pt_gp in target_emulate_report_target_port_groups()
273 struct t10_alua_tg_pt_gp *tg_pt_gp = NULL, *l_tg_pt_gp; target_emulate_set_target_port_groups() local
461 core_alua_state_lba_dependent( struct se_cmd *cmd, struct t10_alua_tg_pt_gp *tg_pt_gp) core_alua_state_lba_dependent() argument
675 struct t10_alua_tg_pt_gp *tg_pt_gp; target_alua_state_check() local
900 core_alua_update_tpg_primary_metadata( struct t10_alua_tg_pt_gp *tg_pt_gp) core_alua_update_tpg_primary_metadata() argument
936 core_alua_queue_state_change_ua(struct t10_alua_tg_pt_gp *tg_pt_gp) core_alua_queue_state_change_ua() argument
1003 core_alua_do_transition_tg_pt( struct t10_alua_tg_pt_gp *tg_pt_gp, int new_state, int explicit) core_alua_do_transition_tg_pt() argument
1090 struct t10_alua_tg_pt_gp *tg_pt_gp; core_alua_do_port_transition() local
1247 struct t10_alua_tg_pt_gp *tg_pt_gp; core_alua_set_tg_pt_secondary_state() local
1365 struct t10_alua_tg_pt_gp *tg_pt_gp; core_alua_set_lba_map() local
1635 struct t10_alua_tg_pt_gp *tg_pt_gp; core_alua_allocate_tg_pt_gp() local
1683 core_alua_set_tg_pt_gp_id( struct t10_alua_tg_pt_gp *tg_pt_gp, u16 tg_pt_gp_id) core_alua_set_tg_pt_gp_id() argument
1734 core_alua_free_tg_pt_gp( struct t10_alua_tg_pt_gp *tg_pt_gp) core_alua_free_tg_pt_gp() argument
1798 struct t10_alua_tg_pt_gp *tg_pt_gp; core_alua_get_tg_pt_gp_by_name() local
1818 core_alua_put_tg_pt_gp_from_name( struct t10_alua_tg_pt_gp *tg_pt_gp) core_alua_put_tg_pt_gp_from_name() argument
1828 __target_attach_tg_pt_gp(struct se_lun *lun, struct t10_alua_tg_pt_gp *tg_pt_gp) __target_attach_tg_pt_gp() argument
1847 target_attach_tg_pt_gp(struct se_lun *lun, struct t10_alua_tg_pt_gp *tg_pt_gp) target_attach_tg_pt_gp() argument
1855 __target_detach_tg_pt_gp(struct se_lun *lun, struct t10_alua_tg_pt_gp *tg_pt_gp) __target_detach_tg_pt_gp() argument
1870 struct t10_alua_tg_pt_gp *tg_pt_gp; target_detach_tg_pt_gp() local
1882 struct t10_alua_tg_pt_gp *tg_pt_gp; core_alua_show_tg_pt_gp_info() local
1918 struct t10_alua_tg_pt_gp *tg_pt_gp = NULL, *tg_pt_gp_new = NULL; core_alua_store_tg_pt_gp_info() local
1992 core_alua_show_access_type( struct t10_alua_tg_pt_gp *tg_pt_gp, char *page) core_alua_show_access_type() argument
2007 core_alua_store_access_type( struct t10_alua_tg_pt_gp *tg_pt_gp, const char *page, size_t count) core_alua_store_access_type() argument
2038 core_alua_show_nonop_delay_msecs( struct t10_alua_tg_pt_gp *tg_pt_gp, char *page) core_alua_show_nonop_delay_msecs() argument
2045 core_alua_store_nonop_delay_msecs( struct t10_alua_tg_pt_gp *tg_pt_gp, const char *page, size_t count) core_alua_store_nonop_delay_msecs() argument
2069 core_alua_show_trans_delay_msecs( struct t10_alua_tg_pt_gp *tg_pt_gp, char *page) core_alua_show_trans_delay_msecs() argument
2076 core_alua_store_trans_delay_msecs( struct t10_alua_tg_pt_gp *tg_pt_gp, const char *page, size_t count) core_alua_store_trans_delay_msecs() argument
2100 core_alua_show_implicit_trans_secs( struct t10_alua_tg_pt_gp *tg_pt_gp, char *page) core_alua_show_implicit_trans_secs() argument
2107 core_alua_store_implicit_trans_secs( struct t10_alua_tg_pt_gp *tg_pt_gp, const char *page, size_t count) core_alua_store_implicit_trans_secs() argument
2131 core_alua_show_preferred_bit( struct t10_alua_tg_pt_gp *tg_pt_gp, char *page) core_alua_show_preferred_bit() argument
2138 core_alua_store_preferred_bit( struct t10_alua_tg_pt_gp *tg_pt_gp, const char *page, size_t count) core_alua_store_preferred_bit() argument
[all...]
H A Dtarget_core_configfs.c2758 struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); in target_tg_pt_gp_alua_access_state_store() local
2759 struct se_device *dev = tg_pt_gp->tg_pt_gp_dev; in target_tg_pt_gp_alua_access_state_store()
2763 if (!tg_pt_gp->tg_pt_gp_valid_id) { in target_tg_pt_gp_alua_access_state_store()
2765 " tg_pt_gp ID: %hu\n", tg_pt_gp->tg_pt_gp_valid_id); in target_tg_pt_gp_alua_access_state_store()
2782 if (!(tg_pt_gp->tg_pt_gp_alua_access_type & TPGS_IMPLICIT_ALUA)) { in target_tg_pt_gp_alua_access_state_store()
2787 if (tg_pt_gp->tg_pt_gp_alua_access_type & TPGS_EXPLICIT_ALUA && in target_tg_pt_gp_alua_access_state_store()
2795 ret = core_alua_do_port_transition(tg_pt_gp, dev, in target_tg_pt_gp_alua_access_state_store()
2803 struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); in target_tg_pt_gp_alua_access_status_show() local
2805 core_alua_dump_status(tg_pt_gp in target_tg_pt_gp_alua_access_status_show()
2811 struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); target_tg_pt_gp_alua_access_status_store() local
2912 struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); target_tg_pt_gp_alua_write_metadata_store() local
2986 struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); target_tg_pt_gp_tg_pt_gp_id_show() local
2996 struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); target_tg_pt_gp_tg_pt_gp_id_store() local
3028 struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); target_tg_pt_gp_members_show() local
3101 struct t10_alua_tg_pt_gp *tg_pt_gp = container_of(to_config_group(item), target_core_alua_tg_pt_gp_release() local
3127 struct t10_alua_tg_pt_gp *tg_pt_gp; target_core_alua_create_tg_pt_gp() local
3152 struct t10_alua_tg_pt_gp *tg_pt_gp = container_of(to_config_group(item), target_core_alua_drop_tg_pt_gp() local
3221 struct t10_alua_tg_pt_gp *tg_pt_gp; target_core_make_subdev() local
[all...]
H A Dtarget_core_spc.c30 struct t10_alua_tg_pt_gp *tg_pt_gp; in spc_fill_alua_data() local
44 tg_pt_gp = lun->lun_tg_pt_gp; in spc_fill_alua_data()
45 if (tg_pt_gp) in spc_fill_alua_data()
46 buf[5] |= tg_pt_gp->tg_pt_gp_alua_access_type; in spc_fill_alua_data()
174 struct t10_alua_tg_pt_gp *tg_pt_gp; in spc_emulate_evpd_83() local
298 tg_pt_gp = lun->lun_tg_pt_gp; in spc_emulate_evpd_83()
299 if (!tg_pt_gp) { in spc_emulate_evpd_83()
303 tg_pt_gp_id = tg_pt_gp->tg_pt_gp_id; in spc_emulate_evpd_83()
/kernel/linux/linux-6.6/drivers/target/
H A Dtarget_core_alua.c40 struct t10_alua_tg_pt_gp *tg_pt_gp);
139 struct t10_alua_tg_pt_gp *tg_pt_gp; in target_emulate_report_target_port_groups() local
165 list_for_each_entry(tg_pt_gp, &dev->t10_alua.tg_pt_gps_list, in target_emulate_report_target_port_groups()
168 if (!tg_pt_gp->tg_pt_gp_members) in target_emulate_report_target_port_groups()
176 if ((off + 8 + (tg_pt_gp->tg_pt_gp_members * 4)) > in target_emulate_report_target_port_groups()
178 rd_len += 8 + (tg_pt_gp->tg_pt_gp_members * 4); in target_emulate_report_target_port_groups()
185 if (tg_pt_gp->tg_pt_gp_pref) in target_emulate_report_target_port_groups()
190 buf[off++] |= tg_pt_gp->tg_pt_gp_alua_access_state & 0xff; in target_emulate_report_target_port_groups()
194 buf[off++] |= tg_pt_gp->tg_pt_gp_alua_supported_states; in target_emulate_report_target_port_groups()
198 put_unaligned_be16(tg_pt_gp in target_emulate_report_target_port_groups()
276 struct t10_alua_tg_pt_gp *tg_pt_gp = NULL, *l_tg_pt_gp; target_emulate_set_target_port_groups() local
649 struct t10_alua_tg_pt_gp *tg_pt_gp; target_alua_state_check() local
875 core_alua_update_tpg_primary_metadata( struct t10_alua_tg_pt_gp *tg_pt_gp) core_alua_update_tpg_primary_metadata() argument
911 core_alua_queue_state_change_ua(struct t10_alua_tg_pt_gp *tg_pt_gp) core_alua_queue_state_change_ua() argument
977 core_alua_do_transition_tg_pt( struct t10_alua_tg_pt_gp *tg_pt_gp, int new_state, int explicit) core_alua_do_transition_tg_pt() argument
1064 struct t10_alua_tg_pt_gp *tg_pt_gp; core_alua_do_port_transition() local
1221 struct t10_alua_tg_pt_gp *tg_pt_gp; core_alua_set_tg_pt_secondary_state() local
1339 struct t10_alua_tg_pt_gp *tg_pt_gp; core_alua_set_lba_map() local
1609 struct t10_alua_tg_pt_gp *tg_pt_gp; core_alua_allocate_tg_pt_gp() local
1657 core_alua_set_tg_pt_gp_id( struct t10_alua_tg_pt_gp *tg_pt_gp, u16 tg_pt_gp_id) core_alua_set_tg_pt_gp_id() argument
1708 core_alua_free_tg_pt_gp( struct t10_alua_tg_pt_gp *tg_pt_gp) core_alua_free_tg_pt_gp() argument
1773 struct t10_alua_tg_pt_gp *tg_pt_gp; core_alua_get_tg_pt_gp_by_name() local
1793 core_alua_put_tg_pt_gp_from_name( struct t10_alua_tg_pt_gp *tg_pt_gp) core_alua_put_tg_pt_gp_from_name() argument
1803 __target_attach_tg_pt_gp(struct se_lun *lun, struct t10_alua_tg_pt_gp *tg_pt_gp) __target_attach_tg_pt_gp() argument
1822 target_attach_tg_pt_gp(struct se_lun *lun, struct t10_alua_tg_pt_gp *tg_pt_gp) target_attach_tg_pt_gp() argument
1831 __target_detach_tg_pt_gp(struct se_lun *lun, struct t10_alua_tg_pt_gp *tg_pt_gp) __target_detach_tg_pt_gp() argument
1844 struct t10_alua_tg_pt_gp *tg_pt_gp; target_detach_tg_pt_gp() local
1871 struct t10_alua_tg_pt_gp *tg_pt_gp; core_alua_show_tg_pt_gp_info() local
1907 struct t10_alua_tg_pt_gp *tg_pt_gp = NULL, *tg_pt_gp_new = NULL; core_alua_store_tg_pt_gp_info() local
1982 core_alua_show_access_type( struct t10_alua_tg_pt_gp *tg_pt_gp, char *page) core_alua_show_access_type() argument
1997 core_alua_store_access_type( struct t10_alua_tg_pt_gp *tg_pt_gp, const char *page, size_t count) core_alua_store_access_type() argument
2028 core_alua_show_nonop_delay_msecs( struct t10_alua_tg_pt_gp *tg_pt_gp, char *page) core_alua_show_nonop_delay_msecs() argument
2035 core_alua_store_nonop_delay_msecs( struct t10_alua_tg_pt_gp *tg_pt_gp, const char *page, size_t count) core_alua_store_nonop_delay_msecs() argument
2059 core_alua_show_trans_delay_msecs( struct t10_alua_tg_pt_gp *tg_pt_gp, char *page) core_alua_show_trans_delay_msecs() argument
2066 core_alua_store_trans_delay_msecs( struct t10_alua_tg_pt_gp *tg_pt_gp, const char *page, size_t count) core_alua_store_trans_delay_msecs() argument
2090 core_alua_show_implicit_trans_secs( struct t10_alua_tg_pt_gp *tg_pt_gp, char *page) core_alua_show_implicit_trans_secs() argument
2097 core_alua_store_implicit_trans_secs( struct t10_alua_tg_pt_gp *tg_pt_gp, const char *page, size_t count) core_alua_store_implicit_trans_secs() argument
2121 core_alua_show_preferred_bit( struct t10_alua_tg_pt_gp *tg_pt_gp, char *page) core_alua_show_preferred_bit() argument
2128 core_alua_store_preferred_bit( struct t10_alua_tg_pt_gp *tg_pt_gp, const char *page, size_t count) core_alua_store_preferred_bit() argument
[all...]
H A Dtarget_core_configfs.c2859 struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); in target_tg_pt_gp_alua_access_state_store() local
2860 struct se_device *dev = tg_pt_gp->tg_pt_gp_dev; in target_tg_pt_gp_alua_access_state_store()
2864 if (!tg_pt_gp->tg_pt_gp_valid_id) { in target_tg_pt_gp_alua_access_state_store()
2865 pr_err("Unable to do implicit ALUA on invalid tg_pt_gp ID\n"); in target_tg_pt_gp_alua_access_state_store()
2882 if (!(tg_pt_gp->tg_pt_gp_alua_access_type & TPGS_IMPLICIT_ALUA)) { in target_tg_pt_gp_alua_access_state_store()
2887 if (tg_pt_gp->tg_pt_gp_alua_access_type & TPGS_EXPLICIT_ALUA && in target_tg_pt_gp_alua_access_state_store()
2895 ret = core_alua_do_port_transition(tg_pt_gp, dev, in target_tg_pt_gp_alua_access_state_store()
2903 struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); in target_tg_pt_gp_alua_access_status_show() local
2905 core_alua_dump_status(tg_pt_gp->tg_pt_gp_alua_access_status)); in target_tg_pt_gp_alua_access_status_show()
2911 struct t10_alua_tg_pt_gp *tg_pt_gp in target_tg_pt_gp_alua_access_status_store() local
3008 struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); target_tg_pt_gp_alua_write_metadata_store() local
3082 struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); target_tg_pt_gp_tg_pt_gp_id_show() local
3092 struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); target_tg_pt_gp_tg_pt_gp_id_store() local
3124 struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); target_tg_pt_gp_members_show() local
3195 struct t10_alua_tg_pt_gp *tg_pt_gp = container_of(to_config_group(item), target_core_alua_tg_pt_gp_release() local
3221 struct t10_alua_tg_pt_gp *tg_pt_gp; target_core_alua_create_tg_pt_gp() local
3246 struct t10_alua_tg_pt_gp *tg_pt_gp = container_of(to_config_group(item), target_core_alua_drop_tg_pt_gp() local
3315 struct t10_alua_tg_pt_gp *tg_pt_gp; target_core_make_subdev() local
[all...]
H A Dtarget_core_spc.c30 struct t10_alua_tg_pt_gp *tg_pt_gp; in spc_fill_alua_data() local
44 tg_pt_gp = rcu_dereference(lun->lun_tg_pt_gp); in spc_fill_alua_data()
45 if (tg_pt_gp) in spc_fill_alua_data()
46 buf[5] |= tg_pt_gp->tg_pt_gp_alua_access_type; in spc_fill_alua_data()
227 struct t10_alua_tg_pt_gp *tg_pt_gp; in spc_emulate_evpd_83() local
326 tg_pt_gp = rcu_dereference(lun->lun_tg_pt_gp); in spc_emulate_evpd_83()
327 if (!tg_pt_gp) { in spc_emulate_evpd_83()
331 tg_pt_gp_id = tg_pt_gp->tg_pt_gp_id; in spc_emulate_evpd_83()

Completed in 17 milliseconds