Home
last modified time | relevance | path

Searched refs:pr_reg (Results 1 – 11 of 11) sorted by relevance

/drivers/target/
Dtarget_core_pr.c57 struct t10_pr_registration *pr_reg, in core_pr_dump_initiator_port() argument
61 if (!pr_reg->isid_present_at_reg) { in core_pr_dump_initiator_port()
66 snprintf(buf, size, ",i,0x%s", pr_reg->pr_reg_isid); in core_pr_dump_initiator_port()
120 struct t10_pr_registration *pr_reg; in target_check_scsi2_reservation_conflict() local
124 pr_reg = core_scsi3_locate_pr_reg(cmd->se_dev, se_sess->se_node_acl, in target_check_scsi2_reservation_conflict()
126 if (pr_reg) { in target_check_scsi2_reservation_conflict()
148 if (pr_reg->pr_res_holder) { in target_check_scsi2_reservation_conflict()
149 core_scsi3_put_pr_reg(pr_reg); in target_check_scsi2_reservation_conflict()
152 if ((pr_reg->pr_res_type == PR_TYPE_WRITE_EXCLUSIVE_REGONLY) || in target_check_scsi2_reservation_conflict()
153 (pr_reg->pr_res_type == PR_TYPE_EXCLUSIVE_ACCESS_REGONLY) || in target_check_scsi2_reservation_conflict()
[all …]
Dtarget_core_fabric_lib.c58 struct t10_pr_registration *pr_reg, in sas_get_pr_transport_id() argument
89 struct t10_pr_registration *pr_reg, in sas_get_pr_transport_id_len() argument
140 struct t10_pr_registration *pr_reg, in fc_get_pr_transport_id_len() argument
154 struct t10_pr_registration *pr_reg, in fc_get_pr_transport_id() argument
225 struct t10_pr_registration *pr_reg, in iscsi_get_pr_transport_id() argument
261 if ((*format_code == 1) && (pr_reg->isid_present_at_reg)) { in iscsi_get_pr_transport_id()
287 buf[off+len] = pr_reg->pr_reg_isid[0]; off++; in iscsi_get_pr_transport_id()
288 buf[off+len] = pr_reg->pr_reg_isid[1]; off++; in iscsi_get_pr_transport_id()
289 buf[off+len] = pr_reg->pr_reg_isid[2]; off++; in iscsi_get_pr_transport_id()
290 buf[off+len] = pr_reg->pr_reg_isid[3]; off++; in iscsi_get_pr_transport_id()
[all …]
Dtarget_core_configfs.c1013 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()
[all …]
/drivers/iommu/
Domap-iommu2.c224 #define pr_reg(name) \ macro
242 pr_reg(REVISION); in omap2_iommu_dump_ctx()
243 pr_reg(IRQSTATUS); in omap2_iommu_dump_ctx()
244 pr_reg(IRQENABLE); in omap2_iommu_dump_ctx()
245 pr_reg(WALKING_ST); in omap2_iommu_dump_ctx()
246 pr_reg(CNTL); in omap2_iommu_dump_ctx()
247 pr_reg(FAULT_AD); in omap2_iommu_dump_ctx()
248 pr_reg(TTB); in omap2_iommu_dump_ctx()
249 pr_reg(LOCK); in omap2_iommu_dump_ctx()
250 pr_reg(LD_TLB); in omap2_iommu_dump_ctx()
[all …]
/drivers/target/loopback/
Dtcm_loop.c644 struct t10_pr_registration *pr_reg, in tcm_loop_get_pr_transport_id() argument
653 return sas_get_pr_transport_id(se_tpg, se_nacl, pr_reg, in tcm_loop_get_pr_transport_id()
656 return fc_get_pr_transport_id(se_tpg, se_nacl, pr_reg, in tcm_loop_get_pr_transport_id()
659 return iscsi_get_pr_transport_id(se_tpg, se_nacl, pr_reg, in tcm_loop_get_pr_transport_id()
667 return sas_get_pr_transport_id(se_tpg, se_nacl, pr_reg, in tcm_loop_get_pr_transport_id()
674 struct t10_pr_registration *pr_reg, in tcm_loop_get_pr_transport_id_len() argument
682 return sas_get_pr_transport_id_len(se_tpg, se_nacl, pr_reg, in tcm_loop_get_pr_transport_id_len()
685 return fc_get_pr_transport_id_len(se_tpg, se_nacl, pr_reg, in tcm_loop_get_pr_transport_id_len()
688 return iscsi_get_pr_transport_id_len(se_tpg, se_nacl, pr_reg, in tcm_loop_get_pr_transport_id_len()
696 return sas_get_pr_transport_id_len(se_tpg, se_nacl, pr_reg, in tcm_loop_get_pr_transport_id_len()
/drivers/xen/
Dxen-scsiback.c1301 struct t10_pr_registration *pr_reg, in scsiback_get_pr_transport_id() argument
1311 return sas_get_pr_transport_id(se_tpg, se_nacl, pr_reg, in scsiback_get_pr_transport_id()
1314 return fc_get_pr_transport_id(se_tpg, se_nacl, pr_reg, in scsiback_get_pr_transport_id()
1317 return iscsi_get_pr_transport_id(se_tpg, se_nacl, pr_reg, in scsiback_get_pr_transport_id()
1325 return sas_get_pr_transport_id(se_tpg, se_nacl, pr_reg, in scsiback_get_pr_transport_id()
1332 struct t10_pr_registration *pr_reg, in scsiback_get_pr_transport_id_len() argument
1341 return sas_get_pr_transport_id_len(se_tpg, se_nacl, pr_reg, in scsiback_get_pr_transport_id_len()
1344 return fc_get_pr_transport_id_len(se_tpg, se_nacl, pr_reg, in scsiback_get_pr_transport_id_len()
1347 return iscsi_get_pr_transport_id_len(se_tpg, se_nacl, pr_reg, in scsiback_get_pr_transport_id_len()
1355 return sas_get_pr_transport_id_len(se_tpg, se_nacl, pr_reg, in scsiback_get_pr_transport_id_len()
/drivers/vhost/
Dscsi.c342 struct t10_pr_registration *pr_reg, in tcm_vhost_get_pr_transport_id() argument
352 return sas_get_pr_transport_id(se_tpg, se_nacl, pr_reg, in tcm_vhost_get_pr_transport_id()
355 return fc_get_pr_transport_id(se_tpg, se_nacl, pr_reg, in tcm_vhost_get_pr_transport_id()
358 return iscsi_get_pr_transport_id(se_tpg, se_nacl, pr_reg, in tcm_vhost_get_pr_transport_id()
366 return sas_get_pr_transport_id(se_tpg, se_nacl, pr_reg, in tcm_vhost_get_pr_transport_id()
373 struct t10_pr_registration *pr_reg, in tcm_vhost_get_pr_transport_id_len() argument
382 return sas_get_pr_transport_id_len(se_tpg, se_nacl, pr_reg, in tcm_vhost_get_pr_transport_id_len()
385 return fc_get_pr_transport_id_len(se_tpg, se_nacl, pr_reg, in tcm_vhost_get_pr_transport_id_len()
388 return iscsi_get_pr_transport_id_len(se_tpg, se_nacl, pr_reg, in tcm_vhost_get_pr_transport_id_len()
396 return sas_get_pr_transport_id_len(se_tpg, se_nacl, pr_reg, in tcm_vhost_get_pr_transport_id_len()
/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c235 struct t10_pr_registration *pr_reg, in tcm_qla2xxx_get_pr_transport_id() argument
247 ret = fc_get_pr_transport_id(se_tpg, se_nacl, pr_reg, in tcm_qla2xxx_get_pr_transport_id()
258 struct t10_pr_registration *pr_reg, in tcm_qla2xxx_get_pr_transport_id_len() argument
269 ret = fc_get_pr_transport_id_len(se_tpg, se_nacl, pr_reg, in tcm_qla2xxx_get_pr_transport_id_len()
/drivers/usb/gadget/legacy/
Dtcm_usb_gadget.c1318 struct t10_pr_registration *pr_reg, in usbg_get_pr_transport_id() argument
1330 ret = sas_get_pr_transport_id(se_tpg, se_nacl, pr_reg, in usbg_get_pr_transport_id()
1341 struct t10_pr_registration *pr_reg, in usbg_get_pr_transport_id_len() argument
1352 ret = sas_get_pr_transport_id_len(se_tpg, se_nacl, pr_reg, in usbg_get_pr_transport_id_len()
/drivers/target/sbp/
Dsbp_target.c1878 struct t10_pr_registration *pr_reg, in sbp_get_pr_transport_id() argument
1905 struct t10_pr_registration *pr_reg, in sbp_get_pr_transport_id_len() argument
/drivers/infiniband/ulp/srpt/
Dib_srpt.c3369 struct t10_pr_registration *pr_reg, in srpt_get_pr_transport_id() argument
3384 struct t10_pr_registration *pr_reg, in srpt_get_pr_transport_id_len() argument