Lines Matching refs:lck_rw_type
1049 lck_rw_type_t lck_rw_type;
1055 lck_rw_type = LCK_RW_TYPE_SHARED;
1059 lck_rw_type = LCK_RW_TYPE_EXCLUSIVE;
1094 LOCKSTAT_RECORD(LS_LCK_RW_DONE_RELEASE, lck, (lck_rw_type == LCK_RW_TYPE_EXCLUSIVE ? 1 : 0));
1097 return(lck_rw_type);
1109 lck_rw_type_t lck_rw_type)
1111 if (lck_rw_type == LCK_RW_TYPE_SHARED)
1113 else if (lck_rw_type == LCK_RW_TYPE_EXCLUSIVE)
1116 panic("lck_rw_unlock(): Invalid RW lock type: %d\n", lck_rw_type);
1158 lck_rw_type_t lck_rw_type)
1160 if (lck_rw_type == LCK_RW_TYPE_SHARED)
1162 else if (lck_rw_type == LCK_RW_TYPE_EXCLUSIVE)
1165 panic("lck_rw_lock(): Invalid RW lock type: %x\n", lck_rw_type);
1437 lck_rw_type_t lck_rw_type)
1439 if (lck_rw_type == LCK_RW_TYPE_SHARED)
1441 else if (lck_rw_type == LCK_RW_TYPE_EXCLUSIVE)
1444 panic("lck_rw_try_lock(): Invalid rw lock type: %x\n", lck_rw_type);