Lines Matching refs:scope

2264 core_scsi3_pro_reserve(struct se_cmd *cmd, int type, int scope, u64 res_key)  in core_scsi3_pro_reserve()  argument
2314 if (scope != PR_SCOPE_LU_SCOPE) { in core_scsi3_pro_reserve()
2315 pr_err("SPC-3 PR: Illegal SCOPE: 0x%02x\n", scope); in core_scsi3_pro_reserve()
2359 (pr_res_holder->pr_res_scope != scope)) { in core_scsi3_pro_reserve()
2392 pr_reg->pr_res_scope = scope; in core_scsi3_pro_reserve()
2418 core_scsi3_emulate_pro_reserve(struct se_cmd *cmd, int type, int scope, in core_scsi3_emulate_pro_reserve() argument
2428 return core_scsi3_pro_reserve(cmd, type, scope, res_key); in core_scsi3_emulate_pro_reserve()
2504 core_scsi3_emulate_pro_release(struct se_cmd *cmd, int type, int scope, in core_scsi3_emulate_pro_release() argument
2587 (pr_res_holder->pr_res_scope != scope)) { in core_scsi3_emulate_pro_release()
2749 int scope, in __core_scsi3_complete_pro_preempt() argument
2769 pr_reg->pr_res_scope = scope; in __core_scsi3_complete_pro_preempt()
2813 core_scsi3_pro_preempt(struct se_cmd *cmd, int type, int scope, u64 res_key, in core_scsi3_pro_preempt() argument
2842 if (scope != PR_SCOPE_LU_SCOPE) { in core_scsi3_pro_preempt()
2843 pr_err("SPC-3 PR: Illegal SCOPE: 0x%02x\n", scope); in core_scsi3_pro_preempt()
2962 type, scope, preempt_type); in core_scsi3_pro_preempt()
3068 type, scope, preempt_type); in core_scsi3_pro_preempt()
3082 if ((prh_type != type) || (prh_scope != scope)) { in core_scsi3_pro_preempt()
3123 core_scsi3_emulate_pro_preempt(struct se_cmd *cmd, int type, int scope, in core_scsi3_emulate_pro_preempt() argument
3133 return core_scsi3_pro_preempt(cmd, type, scope, res_key, in core_scsi3_emulate_pro_preempt()
3160 int new_reg = 0, type, scope, matching_iname; in core_scsi3_emulate_pro_register_and_move() local
3434 scope = pr_res_holder->pr_res_type; in core_scsi3_emulate_pro_register_and_move()
3490 pr_reg->pr_res_scope = scope; in core_scsi3_emulate_pro_register_and_move()
3587 int sa, scope, type, aptpl; in target_scsi3_emulate_pr_out() local
3624 scope = (cdb[2] & 0xf0); in target_scsi3_emulate_pr_out()
3697 ret = core_scsi3_emulate_pro_reserve(cmd, type, scope, res_key); in target_scsi3_emulate_pr_out()
3700 ret = core_scsi3_emulate_pro_release(cmd, type, scope, res_key); in target_scsi3_emulate_pr_out()
3706 ret = core_scsi3_emulate_pro_preempt(cmd, type, scope, in target_scsi3_emulate_pr_out()
3710 ret = core_scsi3_emulate_pro_preempt(cmd, type, scope, in target_scsi3_emulate_pr_out()