Lines Matching refs:lck_rw_t
172 extern int lck_rw_grab_want(lck_rw_t *lck);
173 extern int lck_rw_grab_shared(lck_rw_t *lck);
174 extern int lck_rw_held_read_or_upgrade(lck_rw_t *lck);
182 lck_rw_t *lck);
185 lck_rw_t *lck);
188 lck_rw_t *lck);
191 lck_rw_t *lck,
195 lck_rw_t *lck,
199 lck_rw_t *lck,
812 lck_rw_t *
816 lck_rw_t *lck;
818 if ((lck = (lck_rw_t *)kalloc(sizeof(lck_rw_t))) != 0) {
819 bzero(lck, sizeof(lck_rw_t));
831 lck_rw_t *lck,
834 kfree(lck, sizeof(lck_rw_t));
842 lck_rw_t *lck,
868 lck_rw_t *lck,
888 ((event_t) (((unsigned char*) (x)) + (offsetof(lck_rw_t, lck_rw_tag))))
891 ((event_t) (((unsigned char*) (x)) + (offsetof(lck_rw_t, lck_rw_pad8))))
899 lck_interlock_lock(lck_rw_t *lck)
910 lck_interlock_unlock(lck_rw_t *lck, boolean_t istate)
933 * waiting for a change of state on a lck_rw_t
936 lck_rw_deadline_for_spin(lck_rw_t *lck)
963 lck_rw_t *lck)
1177 lck_rw_t *lck,
1180 lck_rw_t *fake_lck;
1187 * in the first word of a lck_rw_t
1189 fake_lck = (lck_rw_t *)&prior_lock_state;
1216 lck_rw_t *lck,
1233 lck_rw_t *lck)
1249 lck_rw_t *lck)
1265 lck_rw_t *lck,
1286 lck_rw_t *lck)
1394 lck_rw_t *lck,
1397 lck_rw_t *fake_lck;
1403 * in the first word of a lck_rw_t
1405 fake_lck = (lck_rw_t *)&prior_lock_state;
1432 lck_rw_t *lck)
1540 lck_rw_t *lck,
1543 lck_rw_t *fake_lck;
1549 * in the first word of a lck_rw_t
1551 fake_lck = (lck_rw_t *)&prior_lock_state;
1581 lck_rw_t *lck,
1596 lck_rw_t *lck,