Lines Matching refs:pr_out

952 	scsi_cdb_prout_t *pr_out = (scsi_cdb_prout_t *)task->task_cdb;  in sbd_handle_pgr_out_cmd()  local
957 switch (pr_out->action) { in sbd_handle_pgr_out_cmd()
966 param_len = READ_SCSI32(pr_out->param_len, uint32_t); in sbd_handle_pgr_out_cmd()
987 scsi_cdb_prout_t *pr_out = (scsi_cdb_prout_t *)task->task_cdb; in sbd_handle_pgr_out_data() local
1009 if (pr_out->action != PR_OUT_REGISTER_MOVE && buflen != 24) { in sbd_handle_pgr_out_data()
1010 if ((pr_out->action != in sbd_handle_pgr_out_data()
1012 pr_out->action != PR_OUT_REGISTER) || in sbd_handle_pgr_out_data()
1034 if (pr_out->action != PR_OUT_REGISTER && in sbd_handle_pgr_out_data()
1035 pr_out->action != PR_OUT_REGISTER_AND_IGNORE_EXISTING_KEY) { in sbd_handle_pgr_out_data()
1038 if (pr_out->action == PR_OUT_REGISTER_MOVE && in sbd_handle_pgr_out_data()
1061 switch (pr_out->action) { in sbd_handle_pgr_out_data()
1266 scsi_cdb_prout_t *pr_out = (scsi_cdb_prout_t *)task->task_cdb; in sbd_pgr_out_register() local
1283 if (pr_out->action == PR_OUT_REGISTER && in sbd_pgr_out_register()
1312 if (pr_out->action == PR_OUT_REGISTER && rsv_key != 0) { in sbd_pgr_out_register()
1337 if (pr_out->action == PR_OUT_REGISTER_AND_IGNORE_EXISTING_KEY) { in sbd_pgr_out_register()
1491 scsi_cdb_prout_t *pr_out = (scsi_cdb_prout_t *)task->task_cdb; in sbd_pgr_out_reserve() local
1498 if (!(PGR_VALID_SCOPE(pr_out->scope) && PGR_VALID_TYPE(pr_out->type))) { in sbd_pgr_out_reserve()
1506 if (pgr->pgr_rsv_type != pr_out->type || in sbd_pgr_out_reserve()
1507 pgr->pgr_rsv_scope != pr_out->scope) { in sbd_pgr_out_reserve()
1520 sbd_pgr_do_reserve(pgr, key, it, ses, pr_out); in sbd_pgr_out_reserve()
1535 stmf_scsi_session_t *ses, scsi_cdb_prout_t *pr_out) in sbd_pgr_do_reserve() argument
1540 pgr->pgr_rsv_type = pr_out->type; in sbd_pgr_do_reserve()
1541 pgr->pgr_rsv_scope = pr_out->scope; in sbd_pgr_do_reserve()
1542 if (pr_out->type == PGR_TYPE_WR_EX_AR || in sbd_pgr_do_reserve()
1543 pr_out->type == PGR_TYPE_EX_AC_AR) { in sbd_pgr_do_reserve()
1571 scsi_cdb_prout_t *pr_out = (scsi_cdb_prout_t *)task->task_cdb; in sbd_pgr_out_release() local
1586 if (pgr->pgr_rsv_type != pr_out->type || in sbd_pgr_out_release()
1587 pgr->pgr_rsv_scope != pr_out->scope) { in sbd_pgr_out_release()
1674 scsi_cdb_prout_t *pr_out = (scsi_cdb_prout_t *)task->task_cdb; in sbd_pgr_out_preempt() local
1705 if (!(PGR_VALID_SCOPE(pr_out->scope) && in sbd_pgr_out_preempt()
1706 PGR_VALID_TYPE(pr_out->type))) { in sbd_pgr_out_preempt()
1722 if (pr_out->scope != pgr->pgr_rsv_scope || in sbd_pgr_out_preempt()
1723 pr_out->type != pgr->pgr_rsv_type) { in sbd_pgr_out_preempt()
1748 sbd_pgr_do_reserve(pgr, key, it, ses, pr_out); in sbd_pgr_out_preempt()
1753 if (!(PGR_VALID_SCOPE(pr_out->scope) && in sbd_pgr_out_preempt()
1754 PGR_VALID_TYPE(pr_out->type))) { in sbd_pgr_out_preempt()
1762 sbd_pgr_do_reserve(pgr, key, it, ses, pr_out); in sbd_pgr_out_preempt()
1783 if (pr_out->action == PR_OUT_PREEMPT_ABORT) { in sbd_pgr_out_preempt()