MCPcopy Create free account
hub / github.com/F-Stack/f-stack / umtxq_getchain

Function umtxq_getchain

freebsd/kern/kern_umtx.c:493–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

491}
492
493static inline struct umtxq_chain *
494umtxq_getchain(struct umtx_key *key)
495{
496
497 if (key->type <= TYPE_SEM)
498 return (&umtxq_chains[1][key->hash]);
499 return (&umtxq_chains[0][key->hash]);
500}
501
502/*
503 * Lock a chain.

Callers 15

umtxq_lockFunction · 0.85
umtxq_unlockFunction · 0.85
umtxq_busyFunction · 0.85
umtxq_unbusyFunction · 0.85
umtxq_queue_lookupFunction · 0.85
umtxq_insert_queueFunction · 0.85
umtxq_remove_queueFunction · 0.85
umtxq_countFunction · 0.85
umtxq_count_piFunction · 0.85
umtxq_signal_queueFunction · 0.85
umtxq_signal_threadFunction · 0.85
umtxq_sleepFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected