Lines Matching refs:scope

2261 core_scsi3_pro_reserve(struct se_cmd *cmd, int type, int scope, u64 res_key)
2309 * and that persistent reservation has a scope of LU_SCOPE.
2311 if (scope != PR_SCOPE_LU_SCOPE) {
2312 pr_err("SPC-3 PR: Illegal SCOPE: 0x%02x\n", scope);
2352 * type or scope of an existing persistent reservation, the
2356 (pr_res_holder->pr_res_scope != scope)) {
2377 * and scope from a persistent reservation holder, it shall not
2387 * TYPE/SCOPE. Also set the received scope and type in *pr_reg.
2389 pr_reg->pr_res_scope = scope;
2415 core_scsi3_emulate_pro_reserve(struct se_cmd *cmd, int type, int scope,
2425 return core_scsi3_pro_reserve(cmd, type, scope, res_key);
2501 core_scsi3_emulate_pro_release(struct se_cmd *cmd, int type, int scope,
2584 (pr_res_holder->pr_res_scope != scope)) {
2746 int scope,
2766 pr_reg->pr_res_scope = scope;
2810 core_scsi3_pro_preempt(struct se_cmd *cmd, int type, int scope, u64 res_key,
2839 if (scope != PR_SCOPE_LU_SCOPE) {
2840 pr_err("SPC-3 PR: Illegal SCOPE: 0x%02x\n", scope);
2954 * reservation with the new PR type and scope.
2959 type, scope, preempt_type);
3065 type, scope, preempt_type);
3069 * f) If the type or scope has changed, then for every I_T nexus
3075 * RESERVATIONS RELEASED. If the type or scope have not
3079 if ((prh_type != type) || (prh_scope != scope)) {
3120 core_scsi3_emulate_pro_preempt(struct se_cmd *cmd, int type, int scope,
3130 return core_scsi3_pro_preempt(cmd, type, scope, res_key,
3157 int new_reg = 0, type, scope, matching_iname;
3430 scope = pr_res_holder->pr_res_type;
3480 * the same scope and type as the persistent reservation released in
3486 pr_reg->pr_res_scope = scope;
3583 int sa, scope, type, aptpl;
3620 scope = (cdb[2] & 0xf0);
3693 ret = core_scsi3_emulate_pro_reserve(cmd, type, scope, res_key);
3696 ret = core_scsi3_emulate_pro_release(cmd, type, scope, res_key);
3702 ret = core_scsi3_emulate_pro_preempt(cmd, type, scope,
3706 ret = core_scsi3_emulate_pro_preempt(cmd, type, scope,