Lines Matching defs:mtx
81 /* Default initialize the mtx struct. */
82 void mutex_init(struct mutex *mtx);
84 * Initialize the mtx struct and set the process-shared rather than default
87 void mutex_init_pshared(struct mutex *mtx);
88 void mutex_destroy(struct mutex *mtx);
90 void mutex_lock(struct mutex *mtx) EXCLUSIVE_LOCK_FUNCTION(*mtx);
91 void mutex_unlock(struct mutex *mtx) UNLOCK_FUNCTION(*mtx);
93 bool mutex_trylock(struct mutex *mtx) EXCLUSIVE_TRYLOCK_FUNCTION(true, *mtx);
104 void cond_wait(struct cond *cnd, struct mutex *mtx) EXCLUSIVE_LOCKS_REQUIRED(mtx);