Lines Matching refs:res_key

2036 core_scsi3_emulate_pro_register(struct se_cmd *cmd, u64 res_key, u64 sa_res_key,  in core_scsi3_emulate_pro_register()  argument
2066 if (res_key) { in core_scsi3_emulate_pro_register()
2111 if ((register_type == REGISTER) && (res_key != pr_reg->pr_res_key)) { in core_scsi3_emulate_pro_register()
2115 " 0x%016Lx\n", res_key, in core_scsi3_emulate_pro_register()
2182 if (pr_reg_p->pr_res_key != res_key) in core_scsi3_emulate_pro_register()
2261 core_scsi3_pro_reserve(struct se_cmd *cmd, int type, int scope, u64 res_key) in core_scsi3_pro_reserve() argument
2294 if (res_key != pr_reg->pr_res_key) { in core_scsi3_pro_reserve()
2297 " 0x%016Lx\n", res_key, pr_reg->pr_res_key); in core_scsi3_pro_reserve()
2416 u64 res_key) in core_scsi3_emulate_pro_reserve() argument
2425 return core_scsi3_pro_reserve(cmd, type, scope, res_key); in core_scsi3_emulate_pro_reserve()
2502 u64 res_key) in core_scsi3_emulate_pro_release() argument
2569 if (res_key != pr_reg->pr_res_key) { in core_scsi3_emulate_pro_release()
2572 " 0x%016Lx\n", res_key, pr_reg->pr_res_key); in core_scsi3_emulate_pro_release()
2658 core_scsi3_emulate_pro_clear(struct se_cmd *cmd, u64 res_key) in core_scsi3_emulate_pro_clear() argument
2688 if (res_key != pr_reg_n->pr_res_key) { in core_scsi3_emulate_pro_clear()
2692 " 0x%016Lx\n", res_key, pr_reg_n->pr_res_key); in core_scsi3_emulate_pro_clear()
2810 core_scsi3_pro_preempt(struct se_cmd *cmd, int type, int scope, u64 res_key, in core_scsi3_pro_preempt() argument
2835 if (pr_reg_n->pr_res_key != res_key) { in core_scsi3_pro_preempt()
3121 u64 res_key, u64 sa_res_key, enum preempt_type preempt_type) in core_scsi3_emulate_pro_preempt() argument
3130 return core_scsi3_pro_preempt(cmd, type, scope, res_key, in core_scsi3_emulate_pro_preempt()
3141 core_scsi3_emulate_pro_register_and_move(struct se_cmd *cmd, u64 res_key, in core_scsi3_emulate_pro_register_and_move() argument
3186 if (res_key != pr_reg->pr_res_key) { in core_scsi3_emulate_pro_register_and_move()
3189 " res_key: 0x%016Lx\n", res_key, pr_reg->pr_res_key); in core_scsi3_emulate_pro_register_and_move()
3543 target_try_pr_out_pt(struct se_cmd *cmd, u8 sa, u64 res_key, u64 sa_res_key, in target_try_pr_out_pt() argument
3570 return ops->execute_pr_out(cmd, sa, res_key, sa_res_key, type, aptpl); in target_try_pr_out_pt()
3582 u64 res_key, sa_res_key; in target_scsi3_emulate_pr_out() local
3630 res_key = get_unaligned_be64(&buf[0]); in target_scsi3_emulate_pr_out()
3677 ret = target_try_pr_out_pt(cmd, sa, res_key, sa_res_key, type, in target_scsi3_emulate_pr_out()
3690 res_key, sa_res_key, aptpl, all_tg_pt, spec_i_pt, REGISTER); in target_scsi3_emulate_pr_out()
3693 ret = core_scsi3_emulate_pro_reserve(cmd, type, scope, res_key); in target_scsi3_emulate_pr_out()
3696 ret = core_scsi3_emulate_pro_release(cmd, type, scope, res_key); in target_scsi3_emulate_pr_out()
3699 ret = core_scsi3_emulate_pro_clear(cmd, res_key); in target_scsi3_emulate_pr_out()
3703 res_key, sa_res_key, PREEMPT); in target_scsi3_emulate_pr_out()
3707 res_key, sa_res_key, PREEMPT_AND_ABORT); in target_scsi3_emulate_pr_out()
3714 ret = core_scsi3_emulate_pro_register_and_move(cmd, res_key, in target_scsi3_emulate_pr_out()