Lines Matching refs:mark
30 int mark, err; in scif_recv_mark() local
32 err = _scif_fence_mark(ep, &mark); in scif_recv_mark()
38 msg->payload[2] = mark; in scif_recv_mark()
335 static int _scif_fence_wait(scif_epd_t epd, int mark) in _scif_fence_wait() argument
338 dma_cookie_t cookie = mark & ~SCIF_REMOTE_FENCE; in _scif_fence_wait()
365 int mark, err; in scif_rma_handle_remote_fences() local
377 mark = fence->msg.payload[2]; in scif_rma_handle_remote_fences()
378 err = _scif_fence_wait(ep, mark); in scif_rma_handle_remote_fences()
392 static int _scif_send_fence(scif_epd_t epd, int uop, int mark, int *out_mark) in _scif_send_fence() argument
413 msg.payload[2] = mark; in _scif_send_fence()
467 static int scif_send_fence_wait(scif_epd_t epd, int mark) in scif_send_fence_wait() argument
469 return _scif_send_fence(epd, SCIF_WAIT, mark, NULL); in scif_send_fence_wait()
582 int _scif_fence_mark(scif_epd_t epd, int *mark) in _scif_fence_mark() argument
615 *mark = cookie = tx->tx_submit(tx); in _scif_fence_mark()
629 int scif_fence_mark(scif_epd_t epd, int flags, int *mark) in scif_fence_mark() argument
636 ep, flags, *mark); in scif_fence_mark()
658 *mark = SCIF_LOOPB_MAGIC_MARK; in scif_fence_mark()
663 err = _scif_fence_mark(epd, mark); in scif_fence_mark()
665 err = scif_send_fence_mark(ep, mark); in scif_fence_mark()
672 ep, flags, *mark, err); in scif_fence_mark()
677 int scif_fence_wait(scif_epd_t epd, int mark) in scif_fence_wait() argument
684 ep, mark); in scif_fence_wait()
694 if (mark == SCIF_LOOPB_MAGIC_MARK) in scif_fence_wait()
699 if (mark & SCIF_REMOTE_FENCE) in scif_fence_wait()
700 err = scif_send_fence_wait(epd, mark); in scif_fence_wait()
702 err = _scif_fence_wait(epd, mark); in scif_fence_wait()