Lines Matching full:mutex
41 .Nd "mutex pool routines"
63 Mutex pools are designed to be used as short term leaf mutexes;
64 i.e., the last mutex one might acquire before calling
67 A mutex may be chosen from the pool based on a supplied pointer,
69 or the caller may allocate an arbitrary shared mutex from the pool
70 and save the returned mutex pointer for later use.
74 mutex pool,
80 mutex pool are similar, except that they are initialized with the MTX_NOWITNESS
82 Other mutex pools may be created that contain mutexes with different
92 Specifically, if one has a private mutex
94 one can obtain it after obtaining a pool mutex if ordering issues are
96 In these cases the private mutex winds up being the true leaf mutex.
126 obtains a shared mutex from the specified pool.
133 returns the shared mutex associated with the specified address.
135 and will choose a shared mutex from the specified pool based on that hash.
143 lock and unlock the shared mutex from the specified pool
154 Since these routines must first find the mutex to operate on,
155 they are not as fast as directly using the mutex pointer returned by
162 allocates and initializes a new mutex pool of the
169 to set the options for each mutex in the pool.
174 on each mutex in the specified pool,
179 .Xr mutex 9