Searched refs:mtx_owned (Results 1 – 6 of 6) sorted by relevance
71 #define mtx_owned(m) (((m)->owner == (void *)OsCurrTaskGet()) ? (1) : (0)) macro79 … if (mtx_owned(m)){ panic("mtx assert at %s:%d\n", __FUNCTION__, __LINE__);} \
403 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()
2297 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()
2365 if (mtx_owned(&bus->bus_mtx)) { in usb_needs_explore_sub()
388 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) {
14785 if (mtx_owned(&stcb->tcb_mtx)) {14788 if (mtx_owned(&stcb->tcb_send_mtx)) {