Lines Matching defs:sa_res_key
478 uint64_t res_key, uint64_t sa_res_key,
7855 uint64_t sa_res_key, uint8_t type, uint32_t residx,
7863 if (sa_res_key == 0) {
7916 memcpy(persis_io.pr.pr_info.sa_res_key,
7938 if (res_key == sa_res_key) {
7945 * that is what is done when the sa_res_key is
7947 * to do with the sa_res_key.
7962 if (ctl_get_prkey(lun, i) != sa_res_key)
7986 memcpy(persis_io.pr.pr_info.sa_res_key,
7993 /* sa_res_key is res holder */
7994 if (sa_res_key == ctl_get_prkey(lun, lun->pr_res_idx)) {
8023 * if sa_res_key != res_key remove all
8024 * registrants w/sa_res_key and generate UA
8031 * sa_res_key are the same do the above
8039 if (sa_res_key == ctl_get_prkey(lun, i)) {
8063 memcpy(persis_io.pr.pr_info.sa_res_key,
8070 * sa_res_key is not the res holder just
8076 if (sa_res_key != ctl_get_prkey(lun, i))
8100 memcpy(persis_io.pr.pr_info.sa_res_key,
8113 uint64_t sa_res_key;
8116 sa_res_key = scsi_8btou64(msg->pr.pr_info.sa_res_key);
8120 || sa_res_key != ctl_get_prkey(lun, lun->pr_res_idx)) {
8121 if (sa_res_key == 0) {
8142 if (sa_res_key == ctl_get_prkey(lun, i))
8156 if (sa_res_key == ctl_get_prkey(lun, i)) {
8187 uint64_t res_key, sa_res_key, key;
8248 sa_res_key = scsi_8btou64(param->serv_act_res_key);
8329 if (sa_res_key == 0) {
8380 } else /* sa_res_key != 0 */ {
8388 ctl_set_prkey(lun, residx, sa_res_key);
8396 memcpy(persis_io.pr.pr_info.sa_res_key,
8534 nretval = ctl_pro_preempt(softc, lun, res_key, sa_res_key, type,
8587 scsi_8btou64(msg->pr.pr_info.sa_res_key));