Lines Matching refs:scope
2285 core_scsi3_pro_reserve(struct se_cmd *cmd, int type, int scope, u64 res_key) in core_scsi3_pro_reserve() argument
2337 if (scope != PR_SCOPE_LU_SCOPE) { in core_scsi3_pro_reserve()
2338 pr_err("SPC-3 PR: Illegal SCOPE: 0x%02x\n", scope); in core_scsi3_pro_reserve()
2382 (pr_res_holder->pr_res_scope != scope)) { in core_scsi3_pro_reserve()
2415 pr_reg->pr_res_scope = scope; in core_scsi3_pro_reserve()
2441 core_scsi3_emulate_pro_reserve(struct se_cmd *cmd, int type, int scope, in core_scsi3_emulate_pro_reserve() argument
2451 return core_scsi3_pro_reserve(cmd, type, scope, res_key); in core_scsi3_emulate_pro_reserve()
2529 core_scsi3_emulate_pro_release(struct se_cmd *cmd, int type, int scope, in core_scsi3_emulate_pro_release() argument
2612 (pr_res_holder->pr_res_scope != scope)) { in core_scsi3_emulate_pro_release()
2777 int scope, in __core_scsi3_complete_pro_preempt() argument
2796 pr_reg->pr_res_scope = scope; in __core_scsi3_complete_pro_preempt()
2840 core_scsi3_pro_preempt(struct se_cmd *cmd, int type, int scope, u64 res_key, in core_scsi3_pro_preempt() argument
2869 if (scope != PR_SCOPE_LU_SCOPE) { in core_scsi3_pro_preempt()
2870 pr_err("SPC-3 PR: Illegal SCOPE: 0x%02x\n", scope); in core_scsi3_pro_preempt()
2989 type, scope, preempt_type); in core_scsi3_pro_preempt()
3080 type, scope, preempt_type); in core_scsi3_pro_preempt()
3094 if ((prh_type != type) || (prh_scope != scope)) { in core_scsi3_pro_preempt()
3135 core_scsi3_emulate_pro_preempt(struct se_cmd *cmd, int type, int scope, in core_scsi3_emulate_pro_preempt() argument
3145 return core_scsi3_pro_preempt(cmd, type, scope, res_key, in core_scsi3_emulate_pro_preempt()
3172 int new_reg = 0, type, scope, matching_iname; in core_scsi3_emulate_pro_register_and_move() local
3450 scope = pr_res_holder->pr_res_type; in core_scsi3_emulate_pro_register_and_move()
3503 pr_reg->pr_res_scope = scope; in core_scsi3_emulate_pro_register_and_move()
3581 int sa, scope, type, aptpl; in target_scsi3_emulate_pr_out() local
3618 scope = (cdb[2] & 0xf0); in target_scsi3_emulate_pr_out()
3685 ret = core_scsi3_emulate_pro_reserve(cmd, type, scope, res_key); in target_scsi3_emulate_pr_out()
3688 ret = core_scsi3_emulate_pro_release(cmd, type, scope, res_key); in target_scsi3_emulate_pr_out()
3694 ret = core_scsi3_emulate_pro_preempt(cmd, type, scope, in target_scsi3_emulate_pr_out()
3698 ret = core_scsi3_emulate_pro_preempt(cmd, type, scope, in target_scsi3_emulate_pr_out()