/haiku/src/libs/compat/openbsd_network/compat/sys/ |
H A D | mutex.h | 13 struct mtx mtx; member in struct:mutex_openbsd 19 mtx_init_openbsd(struct mutex* mtx, int wantipl) argument 21 mtx_init(&mtx->mtx, "OpenBSD mutex", NULL, 28 mtx_enter(struct mutex* mtx) argument 30 mtx_lock(&mtx->mtx); 34 mtx_leave(struct mutex* mtx) argument 36 mtx_unlock(&mtx [all...] |
/haiku/src/system/libroot/posix/libstdthreads/ |
H A D | mtx.c | 37 mtx_destroy(mtx_t *mtx) argument 40 (void)pthread_mutex_destroy(mtx); 44 mtx_init(mtx_t *mtx, int type) argument 66 if (pthread_mutex_init(mtx, &attr) != 0) 72 mtx_lock(mtx_t *mtx) argument 75 if (pthread_mutex_lock(mtx) != 0) 81 mtx_timedlock(mtx_t *restrict mtx, const struct timespec *restrict ts) argument 84 switch (pthread_mutex_timedlock(mtx, ts)) { 95 mtx_trylock(mtx_t *mtx) argument 98 switch (pthread_mutex_trylock(mtx)) { 109 mtx_unlock(mtx_t *mtx) argument [all...] |
H A D | cnd.c | 76 cnd_timedwait(cnd_t *restrict cond, mtx_t *restrict mtx, argument 80 switch (pthread_cond_timedwait(cond, mtx, ts)) { 91 cnd_wait(cnd_t *cond, mtx_t *mtx) argument 94 if (pthread_cond_wait(cond, mtx) != 0)
|
/haiku/src/add-ons/kernel/drivers/disk/nvme/compat/ |
H A D | nvme_platform.h | 17 #define pthread_mutex_init(mtx, attr) recursive_lock_init(mtx, __FUNCTION__)
|
/haiku/src/libs/compat/freebsd_network/compat/sys/ |
H A D | condvar.h | 28 void cv_wait(struct cv*, struct mtx*); 29 int cv_timedwait(struct cv*, struct mtx*, int);
|
H A D | mutex.h | 30 extern struct mtx Giant; 33 void mtx_init(struct mtx*, const char*, const char*, int); 35 void mtx_destroy(struct mtx*); 36 void mtx_lock_spin(struct mtx* mutex); 37 void mtx_unlock_spin(struct mtx* mutex); 38 void _mtx_assert(struct mtx *m, int what, const char *file, int line); 50 mtx_lock(struct mtx* mutex) 64 mtx_trylock(struct mtx* mutex) 83 mtx_unlock(struct mtx* mutex) 97 mtx_initialized(struct mtx* mute [all...] |
H A D | _callout.h | 20 struct mtx * c_mtx;
|
H A D | _mutex.h | 14 struct mtx { struct
|
H A D | systm.h | 100 int msleep(void *, struct mtx *, int, const char *, int); 103 #define msleep_spin(chan, mtx, wmesg, timo) \ 104 msleep(chan, mtx, PZERO, wmesg, timo) 111 struct unrhdr *new_unrhdr(int low, int high, struct mtx *mutex);
|
H A D | callout.h | 16 #define CALLOUT_RETURNUNLOCKED 0x0010 /* handler returns with mtx unlocked */ 20 void callout_init_mtx(struct callout *c, struct mtx *mutex, int flags);
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | fbsd_usb_util.c | 51 * ticks. The passed mutex "mtx" will be dropped while waiting, if 52 * "mtx" is different from NULL. 55 usb_pause_mtx(struct mtx *mtx, int timo) argument 57 if (mtx != NULL) 58 mtx_unlock(mtx); 67 if (mtx != NULL) 68 mtx_lock(mtx);
|
H A D | mutex.c | 13 struct mtx Giant; 15 struct mtx gIdStoreLock; 19 mtx_init(struct mtx *mutex, const char *name, const char *type, 42 mtx_init((struct mtx *)margs->ma_mtx, margs->ma_desc, NULL, 48 mtx_destroy(struct mtx *mutex) 61 mtx_lock_spin(struct mtx* mutex) 72 mtx_unlock_spin(struct mtx* mutex) 83 _mtx_assert(struct mtx *m, int what, const char *file, int line)
|
H A D | unit.h | 18 struct mtx* storeMutex;
|
H A D | synch.cpp | 17 msleep(void* identifier, struct mtx* mutex, int priority,
|
H A D | condvar.cpp | 42 cv_timedwait(struct cv* variable, struct mtx* mutex, int timeout) 70 cv_wait(struct cv* variable, struct mtx* mutex)
|
H A D | fbsd_subr_bufring.c | 41 buf_ring_alloc(int count, struct malloc_type *type, int flags, struct mtx *lock)
|
H A D | unit.cpp | 24 extern struct mtx gIdStoreLock; 28 new_unrhdr(int low, int high, struct mtx* mutex)
|
H A D | callout.cpp | 37 invoke_callout(callout *c, struct mtx *c_mtx) 84 struct mtx *c_mtx = c->c_mtx; 178 callout_init_mtx(struct callout *c, struct mtx *mtx, int flags) argument 184 c->c_mtx = mtx;
|
/haiku/src/add-ons/kernel/drivers/network/ether/attansic_l2/dev/ae/ |
H A D | if_aevar.h | 114 struct mtx mtx; member in struct:ae_softc 158 #define AE_LOCK(_sc) mtx_lock(&(_sc)->mtx) 159 #define AE_UNLOCK(_sc) mtx_unlock(&(_sc)->mtx) 160 #define AE_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->mtx, MA_OWNED)
|
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_haiku.h | 75 struct mtx mtx; member in struct:__anon26 80 mtx_init(&cl->mtx, cl->name, NULL, MTX_DEF | MTX_RECURSE); \ 82 #define IEEE80211_LOCK_OBJ(_ic) (&(_ic)->ic_comlock.mtx) 99 struct mtx mtx; member in struct:__anon27 104 mtx_init(&cl->mtx, cl->name, NULL, MTX_DEF); \ 106 #define IEEE80211_TX_LOCK_OBJ(_ic) (&(_ic)->ic_txlock.mtx) 120 struct mtx mtx; member in struct:__anon28 139 struct mtx mtx; member in struct:__anon29 165 struct mtx mtx; member in struct:__anon30 [all...] |
/haiku/src/libs/compat/freebsd_network/compat/altq/ |
H A D | if_altq.h | 20 struct mtx ifq_mtx;
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/ |
H A D | if_wpivar.h | 129 struct mtx wv_mtx; 172 struct mtx sc_mtx; 176 struct mtx tx_mtx; 183 struct mtx txq_mtx; 184 struct mtx txq_state_mtx; 211 struct mtx rxon_mtx; 216 struct mtx nt_mtx;
|
/haiku/src/libs/compat/freebsd_iflib/compat/net/ |
H A D | mp_ring.h | 62 struct mtx lock;
|
/haiku/src/libs/agg/font_freetype/ |
H A D | agg_font_freetype.cpp | 148 const trans_affine& mtx, 214 mtx.transform(&x1, &y1); 231 mtx.transform(&x1, &y1); 263 mtx.transform(&x1, &y1); 264 mtx.transform(&x2, &y2); 282 mtx.transform(&x1, &y1); 283 mtx.transform(&x2, &y2); 303 mtx.transform(&x1, &y1); 304 mtx.transform(&x2, &y2); 348 mtx 146 decompose_ft_outline(const FT_Outline& outline, bool flip_y, const trans_affine& mtx, PathStorage& path) argument 857 double mtx[6]; local [all...] |
/haiku/src/libs/compat/freebsd_network/compat/dev/usb/ |
H A D | usbdi.h | 343 void usb_pause_mtx(struct mtx *mtx, int _ticks); 345 usb_error_t usbd_do_request_flags(struct usb_device* udev, struct mtx *mtx, 351 void usb_pause_mtx(struct mtx *mtx, int _ticks); 386 void *priv_sc, struct mtx *priv_mtx);
|