Searched refs:mtx (Results 1 - 25 of 80) sorted by last modified time

1234

/haiku/src/libs/compat/freebsd_iflib/
H A Diflib.c187 struct mtx ifc_state_mtx;
361 struct mtx ift_mtx;
362 struct mtx ift_db_mtx;
764 static struct mtx cpu_offset_mtx;
/haiku/src/libs/compat/freebsd_network/
H A Dcondvar.cpp42 cv_timedwait(struct cv* variable, struct mtx* mutex, int timeout)
70 cv_wait(struct cv* variable, struct mtx* mutex)
H A Dsynch.cpp17 msleep(void* identifier, struct mtx* mutex, int priority,
H A Dusb.cpp29 struct mtx sUSBLock;
185 usbd_do_request_flags(struct freebsd_usb_device* udev, struct mtx* mtx, argument
189 if (mtx != NULL)
190 mtx_unlock(mtx);
203 if (mtx != NULL)
204 mtx_lock(mtx);
237 struct mtx* mutex;
265 void* priv_sc, struct mtx* xfer_mtx)
H A Dmutex.c13 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 Dcallout.cpp37 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;
H A Dbus_dma.cpp76 struct mtx* dmtx = (struct mtx*)arg;
H A Dfbsd_subr_taskqueue.c62 struct mtx tq_mutex;
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dcondvar.h28 void cv_wait(struct cv*, struct mtx*);
29 int cv_timedwait(struct cv*, struct mtx*, int);
H A Dmutex.h30 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_mutex.h14 struct mtx { struct
H A D_callout.h20 struct mtx * c_mtx;
/haiku/src/servers/app/drawing/Painter/
H A DPainter.h307 BPoint endPoint, agg::trans_affine& mtx,
310 agg::trans_affine& mtx,
/haiku/src/add-ons/kernel/drivers/disk/nvme/compat/
H A Dnvme_platform.h17 #define pthread_mutex_init(mtx, attr) recursive_lock_init(mtx, __FUNCTION__)
/haiku/src/libs/compat/freebsd_network/compat/net/
H A Dif_var.h178 struct mtx ifq_mtx;
259 struct mtx if_afdata_mtx;
261 struct mtx if_addr_mtx; /* mutex to protect address lists */
659 struct mtx ifa_mtx;
/haiku/src/system/libroot/posix/libstdthreads/
H A Dcnd.c76 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)
H A Dmtx.c37 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...]
/haiku/src/libs/compat/freebsd_network/compat/dev/usb/
H A Dusbdi.h343 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);
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/usb/wlan/
H A Dif_uralvar.h108 struct mtx sc_mtx;
H A Dif_runvar.h159 struct mtx sc_mtx;
H A Dif_rumvar.h129 struct mtx sc_mtx;
136 struct mtx cmdq_mtx;
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/ral/
H A Drt2860var.h121 struct mtx sc_mtx;
H A Drt2661var.h102 struct mtx sc_mtx;
H A Drt2560var.h109 struct mtx sc_mtx;
/haiku/src/libs/compat/openbsd_network/compat/sys/
H A Dmutex.h13 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...]

Completed in 255 milliseconds

1234