Lines Matching refs:pr_reg
1732 struct t10_pr_registration *pr_reg; in target_core_dev_pr_show_spc3_res() local
1735 pr_reg = dev->dev_pr_res_holder; in target_core_dev_pr_show_spc3_res()
1736 if (!pr_reg) in target_core_dev_pr_show_spc3_res()
1739 se_nacl = pr_reg->pr_reg_nacl; in target_core_dev_pr_show_spc3_res()
1740 core_pr_dump_initiator_port(pr_reg, i_buf, PR_REG_ISID_ID_LEN); in target_core_dev_pr_show_spc3_res()
1820 struct t10_pr_registration *pr_reg; in target_pr_res_pr_holder_tg_port_show() local
1825 pr_reg = dev->dev_pr_res_holder; in target_pr_res_pr_holder_tg_port_show()
1826 if (!pr_reg) { in target_pr_res_pr_holder_tg_port_show()
1831 se_nacl = pr_reg->pr_reg_nacl; in target_pr_res_pr_holder_tg_port_show()
1840 " %s Logical Unit: %llu\n", pr_reg->tg_pt_sep_rtpi, in target_pr_res_pr_holder_tg_port_show()
1842 tfo->fabric_name, pr_reg->pr_aptpl_target_lun); in target_pr_res_pr_holder_tg_port_show()
1855 struct t10_pr_registration *pr_reg; in target_pr_res_pr_registered_i_pts_show() local
1864 list_for_each_entry(pr_reg, &dev->t10_pr.registration_list, in target_pr_res_pr_registered_i_pts_show()
1869 tfo = pr_reg->pr_reg_nacl->se_tpg->se_tpg_tfo; in target_pr_res_pr_registered_i_pts_show()
1870 core_pr_dump_initiator_port(pr_reg, i_buf, in target_pr_res_pr_registered_i_pts_show()
1874 pr_reg->pr_reg_nacl->initiatorname, i_buf, pr_reg->pr_res_key, in target_pr_res_pr_registered_i_pts_show()
1875 pr_reg->pr_res_generation); in target_pr_res_pr_registered_i_pts_show()
1894 struct t10_pr_registration *pr_reg; in target_pr_res_pr_type_show() local
1898 pr_reg = dev->dev_pr_res_holder; in target_pr_res_pr_type_show()
1899 if (pr_reg) { in target_pr_res_pr_type_show()
1901 core_scsi3_pr_dump_type(pr_reg->pr_res_type)); in target_pr_res_pr_type_show()