HelenOS sources
fibril_self 77 uspace/lib/c/generic/private/fibril.h extern fibril_t *fibril_self(void);
fibril_self 153 uspace/lib/c/generic/thread/fibril.c fibril_t *fibril = fibril_self();
fibril_self 451 uspace/lib/c/generic/thread/fibril.c fibril_t *srcf = fibril_self();
fibril_self 465 uspace/lib/c/generic/thread/fibril.c assert(fibril_self()->rmutex_locks == 0);
fibril_self 472 uspace/lib/c/generic/thread/fibril.c fibril_t *srcf = fibril_self();
fibril_self 497 uspace/lib/c/generic/thread/fibril.c assert(srcf == fibril_self());
fibril_self 519 uspace/lib/c/generic/thread/fibril.c fibril_self()->thread_ctx = fibril_self();
fibril_self 629 uspace/lib/c/generic/thread/fibril.c assert(fibril_self()->rmutex_locks == 0);
fibril_self 631 uspace/lib/c/generic/thread/fibril.c DPRINTF("### Fibril %p sleeping on event %p.\n", fibril_self(), event);
fibril_self 633 uspace/lib/c/generic/thread/fibril.c if (!fibril_self()->thread_ctx) {
fibril_self 634 uspace/lib/c/generic/thread/fibril.c fibril_self()->thread_ctx =
fibril_self 636 uspace/lib/c/generic/thread/fibril.c if (!fibril_self()->thread_ctx)
fibril_self 651 uspace/lib/c/generic/thread/fibril.c fibril_t *srcf = fibril_self();
fibril_self 711 uspace/lib/c/generic/thread/fibril.c assert(fibril_self()->rmutex_locks == 0);
fibril_self 766 uspace/lib/c/generic/thread/fibril.c return (fid_t) fibril_self();
fibril_self 775 uspace/lib/c/generic/thread/fibril.c if (fibril_self()->rmutex_locks > 0)
fibril_self 799 uspace/lib/c/generic/thread/fibril.c assert(fibril_self()->rmutex_locks == 0);
fibril_self 859 uspace/lib/c/generic/thread/fibril.c f = fibril_self()->thread_ctx;
fibril_self 71 uspace/lib/c/generic/thread/fibril_synch.c fibril_self()->rmutex_locks++;
fibril_self 77 uspace/lib/c/generic/thread/fibril_synch.c fibril_self()->rmutex_locks++;
fibril_self 86 uspace/lib/c/generic/thread/fibril_synch.c fibril_self()->rmutex_locks--;
fibril_self 161 uspace/lib/c/generic/thread/fibril_synch.c check_fibril_for_deadlock(oi, fibril_self());
fibril_self 360 uspace/lib/c/generic/thread/fibril_synch.c assert(frw->oi.owned_by == fibril_self());
fibril_self 377 uspace/lib/c/generic/thread/fibril_synch.c bool locked = (frw->writers > 0) && (frw->oi.owned_by == fibril_self());
fibril_self 132 uspace/lib/c/generic/thread/futex.c fibril_t *self = fibril_self();
HelenOS homepage, sources at GitHub