Home
last modified time | relevance | path

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

/freebsd/sys/sys/
H A Dturnstile.h75 struct turnstile;
85 struct turnstile *turnstile_alloc(void);
86 void turnstile_broadcast(struct turnstile *, int);
87 void turnstile_cancel(struct turnstile *);
90 void turnstile_claim(struct turnstile *);
91 void turnstile_disown(struct turnstile *);
92 int turnstile_empty(struct turnstile *ts, int queue);
93 void turnstile_free(struct turnstile *);
94 struct thread *turnstile_head(struct turnstile *, int);
95 struct turnstile *turnstile_lookup(struct lock_object *);
[all …]
H A Dproc.h196 struct turnstile;
249 struct turnstile *td_turnstile; /* (k) Associated turnstile. */
279 struct turnstile *td_blocked; /* (t) Lock thread is blocked on. */
281 LIST_HEAD(, turnstile) td_contested; /* (q) Contested locks. */
/freebsd/sys/kern/
H A Dsubr_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 | CTLFLAG_MPSAFE, 0,
162 static int turnstile_adjust_thread(struct turnstile *ts,
164 static struct thread *turnstile_first_waiter(struct turnstile *ts);
165 static void turnstile_setowner(struct turnstile *ts, struct thread *owner);
178 propagate_unlock_ts(struct turnstile *top, struct turnstile *ts) in propagate_unlock_ts()
[all …]
H A Dkern_rwlock.c447 struct turnstile *ts; in __rw_rlock_hard()
786 struct turnstile *ts; in __rw_runlock_hard()
919 struct turnstile *ts; in __rw_wlock_hard()
1225 struct turnstile *ts; in __rw_wunlock_hard()
1307 struct turnstile *ts; in __rw_try_upgrade_int()
1390 struct turnstile *ts; in __rw_downgrade_int()
H A Dkern_switch.c88 SCHED_STAT_DEFINE_VAR(turnstile,
H A Dkern_rmlock.c488 struct turnstile *ts; in _rm_unlock_hard()
536 struct turnstile *ts; in _rm_wlock()
H A Dkern_mutex.c520 struct turnstile *ts; in __mtx_lock_sleep()
1045 struct turnstile *ts; in __mtx_unlock_sleep()
H A Dsubr_epoch.c570 struct turnstile *ts; in epoch_block_handler_preempt()
/freebsd/sys/amd64/amd64/
H A Dpmap.c666 struct turnstile *ts; in pmap_delayed_invl_wait_block()
678 struct turnstile *ts; in pmap_delayed_invl_finish_unblock()
/freebsd/share/dict/
H A Dweb2209513 turnstile