Lines Matching refs:lck_rw_type
897 lck_rw_type_t lck_rw_type)
899 if (lck_rw_type == LCK_RW_TYPE_SHARED)
901 else if (lck_rw_type == LCK_RW_TYPE_EXCLUSIVE)
904 panic("lck_rw_lock(): Invalid RW lock type: %d\n", lck_rw_type);
914 lck_rw_type_t lck_rw_type)
916 if (lck_rw_type == LCK_RW_TYPE_SHARED)
918 else if (lck_rw_type == LCK_RW_TYPE_EXCLUSIVE)
921 panic("lck_rw_unlock(): Invalid RW lock type: %d\n", lck_rw_type);
963 lck_rw_type_t lck_rw_type)
965 if (lck_rw_type == LCK_RW_TYPE_SHARED)
967 else if (lck_rw_type == LCK_RW_TYPE_EXCLUSIVE)
970 panic("lck_rw_try_lock(): Invalid rw lock type: %x\n", lck_rw_type);
1112 lck_rw_type_t lck_rw_type;
1118 lck_rw_type = LCK_RW_TYPE_SHARED;
1122 lck_rw_type = LCK_RW_TYPE_EXCLUSIVE;
1146 LOCKSTAT_RECORD(LS_LCK_RW_DONE_RELEASE, lck, lck_rw_type);
1147 return(lck_rw_type);
1637 lck_rw_type_t lck_rw_type;
1645 lck_rw_type = LCK_RW_TYPE_SHARED;
1649 lck_rw_type = LCK_RW_TYPE_EXCLUSIVE;
1687 LOCKSTAT_RECORD(LS_LCK_RW_DONE_RELEASE, lck, lck_rw_type);
1688 return(lck_rw_type);