Home
last modified time | relevance | path

Searched refs:turnstile (Results 1 – 8 of 8) sorted by relevance

/NextBSD/sys/sys/
HDturnstile.h76 struct turnstile;
90 struct turnstile *turnstile_alloc(void);
91 void turnstile_broadcast(struct turnstile *, int);
92 void turnstile_cancel(struct turnstile *);
95 void turnstile_claim(struct turnstile *);
96 void turnstile_disown(struct turnstile *);
97 int turnstile_empty(struct turnstile *ts, int queue);
98 void turnstile_free(struct turnstile *);
99 struct thread *turnstile_head(struct turnstile *, int);
100 struct turnstile *turnstile_lookup(struct lock_object *);
[all …]
HDproc.h181 struct turnstile;
224 struct turnstile *td_turnstile; /* (k) Associated turnstile. */
248 struct turnstile *td_blocked; /* (t) Lock thread is blocked on. */
250 LIST_HEAD(, turnstile) td_contested; /* (q) Contested locks. */
/NextBSD/sys/kern/
HDsubr_turnstile.c120 struct turnstile { struct
124 LIST_ENTRY(turnstile) ts_hash; /* (c) Chain and free list. */ argument
125 LIST_ENTRY(turnstile) ts_link; /* (q) Contested locks. */
126 LIST_HEAD(, turnstile) ts_free; /* (c) Free turnstiles. */
132 LIST_HEAD(, turnstile) tc_turnstiles; /* List of turnstiles. */ argument
142 static SYSCTL_NODE(_debug, OID_AUTO, turnstile, CTLFLAG_RD, 0,
161 static int turnstile_adjust_thread(struct turnstile *ts,
163 static struct thread *turnstile_first_waiter(struct turnstile *ts);
164 static void turnstile_setowner(struct turnstile *ts, struct thread *owner);
184 struct turnstile *ts; in propagate_priority()
[all …]
HDkern_rwlock.c329 struct turnstile *ts; in __rw_rlock_hard()
596 struct turnstile *ts; in _rw_runlock_cookie()
714 struct turnstile *ts; in __rw_wlock_hard()
920 struct turnstile *ts; in __rw_wunlock_hard()
989 struct turnstile *ts; in __rw_try_upgrade()
1064 struct turnstile *ts; in __rw_downgrade()
HDkern_rmlock.c492 struct turnstile *ts; in _rm_unlock_hard()
536 struct turnstile *ts; in _rm_wlock()
HDkern_mutex.c372 struct turnstile *ts; in __mtx_lock_sleep()
764 struct turnstile *ts; in __mtx_unlock_sleep()
HDkern_switch.c92 SCHED_STAT_DEFINE_VAR(turnstile,
/NextBSD/share/dict/
HDweb2209441 turnstile