Searched refs:mtx_t (Results 1 – 15 of 15) sorted by relevance
/freebsd/lib/libstdthreads/ |
H A D | threads.h | 44 typedef struct pthread_mutex *mtx_t; typedef 50 mtx_t __mutex; 82 int cnd_timedwait(cnd_t *__restrict, mtx_t *__restrict __mtx, 85 int cnd_wait(cnd_t *, mtx_t *__mtx) 87 void mtx_destroy(mtx_t *__mtx) 89 int mtx_init(mtx_t *__mtx, int) 91 int mtx_lock(mtx_t *__mtx) 93 int mtx_timedlock(mtx_t *__restrict __mtx, 96 int mtx_trylock(mtx_t *__mtx) 98 int mtx_unlock(mtx_t *__mtx)
|
H A D | mtx.c | 36 mtx_destroy(mtx_t *mtx) in mtx_destroy() 43 mtx_init(mtx_t *mtx, int type) in mtx_init() 72 mtx_lock(mtx_t *mtx) in mtx_lock() 81 mtx_timedlock(mtx_t *restrict mtx, const struct timespec *restrict ts) in mtx_timedlock() 95 mtx_trylock(mtx_t *mtx) in mtx_trylock() 109 mtx_unlock(mtx_t *mtx) in mtx_unlock()
|
H A D | cnd.c | 75 cnd_timedwait(cnd_t *restrict cond, mtx_t *restrict mtx, in cnd_timedwait() 90 cnd_wait(cnd_t *cond, mtx_t *mtx) in cnd_wait()
|
/freebsd/contrib/processor-trace/include/posix/ |
H A D | threads.h | 129 typedef struct pt_mutex mtx_t; typedef 135 static inline int mtx_init(mtx_t *mtx, int type) in mtx_init() 149 static inline void mtx_destroy(mtx_t *mtx) in mtx_destroy() 155 static inline int mtx_lock(mtx_t *mtx) in mtx_lock() 169 static inline int mtx_unlock(mtx_t *mtx) in mtx_unlock() 245 static inline int cnd_wait(cnd_t *cnd, mtx_t *mtx) in cnd_wait()
|
/freebsd/contrib/processor-trace/include/windows/ |
H A D | threads.h | 137 typedef struct pt_mutex mtx_t; typedef 143 static inline int mtx_init(mtx_t *mtx, int type) in mtx_init() 153 static inline void mtx_destroy(mtx_t *mtx) in mtx_destroy() 159 static inline int mtx_lock(mtx_t *mtx) in mtx_lock() 169 static inline int mtx_unlock(mtx_t *mtx) in mtx_unlock() 225 static inline int cnd_wait(cnd_t *cnd, mtx_t *mtx) in cnd_wait()
|
/freebsd/contrib/processor-trace/libipt/internal/include/ |
H A D | pt_section.h | 129 mtx_t lock; 139 mtx_t alock;
|
H A D | pt_section_file.h | 56 mtx_t lock;
|
H A D | pt_image_section_cache.h | 96 mtx_t lock;
|
/freebsd/contrib/llvm-project/libcxx/include/__thread/support/ |
H A D | c11.h | 31 typedef mtx_t __libcpp_mutex_t; 36 typedef mtx_t __libcpp_recursive_mutex_t;
|
/freebsd/sys/dev/random/ |
H A D | other_algorithm.h | 45 typedef struct mtx mtx_t; typedef
|
H A D | other_algorithm.c | 109 static mtx_t other_mtx;
|
H A D | fortuna.h | 35 typedef struct mtx mtx_t; typedef
|
H A D | fortuna.c | 119 mtx_t fs_mtx;
|
/freebsd/contrib/processor-trace/libipt/test/src/ |
H A D | ptunit-image_section_cache.c | 66 mtx_t lock; 68 mtx_t alock;
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/ |
H A D | CSymbolMap.inc | 657 SYMBOL(mtx_t, None, <threads.h>)
|