Lines Matching refs:pr_reg
1013 struct t10_pr_registration *pr_reg; in target_core_dev_pr_show_spc3_res() local
1018 pr_reg = dev->dev_pr_res_holder; in target_core_dev_pr_show_spc3_res()
1019 if (!pr_reg) in target_core_dev_pr_show_spc3_res()
1022 se_nacl = pr_reg->pr_reg_nacl; in target_core_dev_pr_show_spc3_res()
1023 core_pr_dump_initiator_port(pr_reg, i_buf, PR_REG_ISID_ID_LEN); in target_core_dev_pr_show_spc3_res()
1106 struct t10_pr_registration *pr_reg; in target_core_dev_pr_show_attr_res_pr_holder_tg_port() local
1111 pr_reg = dev->dev_pr_res_holder; in target_core_dev_pr_show_attr_res_pr_holder_tg_port()
1112 if (!pr_reg) { in target_core_dev_pr_show_attr_res_pr_holder_tg_port()
1117 se_nacl = pr_reg->pr_reg_nacl; in target_core_dev_pr_show_attr_res_pr_holder_tg_port()
1119 lun = pr_reg->pr_reg_tg_pt_lun; in target_core_dev_pr_show_attr_res_pr_holder_tg_port()
1142 struct t10_pr_registration *pr_reg; in target_core_dev_pr_show_attr_res_pr_registered_i_pts() local
1151 list_for_each_entry(pr_reg, &dev->t10_pr.registration_list, in target_core_dev_pr_show_attr_res_pr_registered_i_pts()
1156 tfo = pr_reg->pr_reg_nacl->se_tpg->se_tpg_tfo; in target_core_dev_pr_show_attr_res_pr_registered_i_pts()
1157 core_pr_dump_initiator_port(pr_reg, i_buf, in target_core_dev_pr_show_attr_res_pr_registered_i_pts()
1161 pr_reg->pr_reg_nacl->initiatorname, i_buf, pr_reg->pr_res_key, in target_core_dev_pr_show_attr_res_pr_registered_i_pts()
1162 pr_reg->pr_res_generation); in target_core_dev_pr_show_attr_res_pr_registered_i_pts()
1183 struct t10_pr_registration *pr_reg; in target_core_dev_pr_show_attr_res_pr_type() local
1187 pr_reg = dev->dev_pr_res_holder; in target_core_dev_pr_show_attr_res_pr_type()
1188 if (pr_reg) { in target_core_dev_pr_show_attr_res_pr_type()
1190 core_scsi3_pr_dump_type(pr_reg->pr_res_type)); in target_core_dev_pr_show_attr_res_pr_type()