Lines Matching refs:lck_spin_t
245 void lck_spin_destroy(lck_spin_t * lck, lck_grp_t * grp)
254 void lck_spin_init(lck_spin_t * lck, lck_grp_t * grp,
313 void lck_spin_free(lck_spin_t * lck, lck_grp_t * grp)
316 kfree((void *) lck, sizeof(lck_spin_t));
330 lck_spin_t *lck_spin_alloc_init(lck_grp_t * grp, lck_attr_t * attr)
332 lck_spin_t *lck;
334 if ((lck = (lck_spin_t *) kalloc(sizeof(lck_spin_t))) != 0)
342 lck_spin_lock((lck_spin_t *) l);
347 lck_spin_unlock((lck_spin_t *) l);
352 return (lck_spin_try_lock((lck_spin_t *) l));