Lines Matching refs:scope
2228 core_scsi3_pro_reserve(struct se_cmd *cmd, int type, int scope, u64 res_key) in core_scsi3_pro_reserve() argument
2280 if (scope != PR_SCOPE_LU_SCOPE) { in core_scsi3_pro_reserve()
2281 pr_err("SPC-3 PR: Illegal SCOPE: 0x%02x\n", scope); in core_scsi3_pro_reserve()
2325 (pr_res_holder->pr_res_scope != scope)) { in core_scsi3_pro_reserve()
2358 pr_reg->pr_res_scope = scope; in core_scsi3_pro_reserve()
2384 core_scsi3_emulate_pro_reserve(struct se_cmd *cmd, int type, int scope, in core_scsi3_emulate_pro_reserve() argument
2394 return core_scsi3_pro_reserve(cmd, type, scope, res_key); in core_scsi3_emulate_pro_reserve()
2472 core_scsi3_emulate_pro_release(struct se_cmd *cmd, int type, int scope, in core_scsi3_emulate_pro_release() argument
2555 (pr_res_holder->pr_res_scope != scope)) { in core_scsi3_emulate_pro_release()
2720 int scope, in __core_scsi3_complete_pro_preempt() argument
2739 pr_reg->pr_res_scope = scope; in __core_scsi3_complete_pro_preempt()
2783 core_scsi3_pro_preempt(struct se_cmd *cmd, int type, int scope, u64 res_key, in core_scsi3_pro_preempt() argument
2812 if (scope != PR_SCOPE_LU_SCOPE) { in core_scsi3_pro_preempt()
2813 pr_err("SPC-3 PR: Illegal SCOPE: 0x%02x\n", scope); in core_scsi3_pro_preempt()
2932 type, scope, preempt_type); in core_scsi3_pro_preempt()
3023 type, scope, preempt_type); in core_scsi3_pro_preempt()
3037 if ((prh_type != type) || (prh_scope != scope)) { in core_scsi3_pro_preempt()
3078 core_scsi3_emulate_pro_preempt(struct se_cmd *cmd, int type, int scope, in core_scsi3_emulate_pro_preempt() argument
3088 return core_scsi3_pro_preempt(cmd, type, scope, res_key, in core_scsi3_emulate_pro_preempt()
3116 int new_reg = 0, type, scope, matching_iname; in core_scsi3_emulate_pro_register_and_move() local
3403 scope = pr_res_holder->pr_res_type; in core_scsi3_emulate_pro_register_and_move()
3452 pr_reg->pr_res_scope = scope; in core_scsi3_emulate_pro_register_and_move()
3530 int sa, scope, type, aptpl; in target_scsi3_emulate_pr_out() local
3567 scope = (cdb[2] & 0xf0); in target_scsi3_emulate_pr_out()
3634 ret = core_scsi3_emulate_pro_reserve(cmd, type, scope, res_key); in target_scsi3_emulate_pr_out()
3637 ret = core_scsi3_emulate_pro_release(cmd, type, scope, res_key); in target_scsi3_emulate_pr_out()
3643 ret = core_scsi3_emulate_pro_preempt(cmd, type, scope, in target_scsi3_emulate_pr_out()
3647 ret = core_scsi3_emulate_pro_preempt(cmd, type, scope, in target_scsi3_emulate_pr_out()