Home
last modified time | relevance | path

Searched refs:mtx_owned (Results 1 – 6 of 6) sorted by relevance

/third_party/FreeBSD/sys/sys/
Dmutex.h71 #define mtx_owned(m) (((m)->owner == (void *)OsCurrTaskGet()) ? (1) : (0)) macro
79 … if (mtx_owned(m)){ panic("mtx assert at %s:%d\n", __FUNCTION__, __LINE__);} \
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_usb.c403 do_unlock = mtx_owned(&Giant) ? 0 : 1; in usb_submit_urb()
497 do_unlock = mtx_owned(&Giant) ? 0 : 1; in usb_unlink_urb_sub()
605 do_unlock = mtx_owned(&Giant) ? 0 : 1; in usb_start_wait_urb()
/third_party/FreeBSD/sys/dev/usb/
Dusb_transfer.c2297 if (!mtx_owned(info->xfer_mtx) && !SCHEDULER_STOPPED()) { in usbd_callback_wrapper()
2527 if (mtx_owned(info->xfer_mtx)) { in usbd_transfer_done()
3304 while (mtx_owned(&xroot->udev->bus->bus_mtx) && !SCHEDULER_STOPPED()) { in usbd_transfer_poll()
3311 while (mtx_owned(xroot->xfer_mtx) && !SCHEDULER_STOPPED()) { in usbd_transfer_poll()
Dusb_hub.c2365 if (mtx_owned(&bus->bus_mtx)) { in usb_needs_explore_sub()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctputil.c388 sctp_clog.x.lock.tcb_lock = mtx_owned(&stcb->tcb_mtx); in sctp_log_lock()
393 sctp_clog.x.lock.inp_lock = mtx_owned(&inp->inp_mtx); in sctp_log_lock()
394 sctp_clog.x.lock.create_lock = mtx_owned(&inp->inp_create_mtx); in sctp_log_lock()
401 sctp_clog.x.lock.sock_lock = mtx_owned(&(inp->sctp_socket->so_rcv.sb_mtx)); in sctp_log_lock()
402 sctp_clog.x.lock.sockrcvbuf_lock = mtx_owned(&(inp->sctp_socket->so_rcv.sb_mtx)); in sctp_log_lock()
403 sctp_clog.x.lock.socksndbuf_lock = mtx_owned(&(inp->sctp_socket->so_snd.sb_mtx)); in sctp_log_lock()
6707 if (mtx_owned(&inp->inp_rdata_mtx) == 0) {
Dsctp_output.c14785 if (mtx_owned(&stcb->tcb_mtx)) {
14788 if (mtx_owned(&stcb->tcb_send_mtx)) {