#include <ubixos/spinlock.h>
#include <ubixos/sched.h>
Go to the source code of this file.
Functions | |
| void | spinLock (spinLock_t *lock) |
| void | spinLock_scheduler (spinLock_t *lock) |
| void | spinLockInit (spinLock_t *lock) |
| int | spinLockLocked (spinLock_t *lock) |
| int | spinTryLock (spinLock_t *lock) |
| void | spinUnlock (spinLock_t *lock) |
| void spinLock | ( | spinLock_t * | lock | ) |
Definition at line 56 of file spinlock.c.
References sched_yield(), and spinTryLock().
Referenced by __sysctl(), adjustCowCounter(), cpuInfo(), current_thread(), devfs_makeNode(), devfs_open(), device_add(), device_find(), device_remove(), fclose(), fdcRead(), fopen(), freePage(), getEmptyDesc(), kernel_function(), kfree(), kmalloc(), mpi_createMbox(), mpi_destroyMbox(), mpi_fetchMessage(), mpi_postMessage(), mpi_spam(), ne2kAllocBuffer(), schedNewTask(), smpInit(), sys_thread_new(), tty_print(), ubixfs_cacheAdd(), ubixfs_cacheFind(), vmm_getFreeMallocPage(), vmm_pageFault(), vmm_remapPage(), vmmCopyVirtualSpace(), vmmFindFreePage(), vmmFreeProcessPages(), vmmGetFreeKernelPage(), vmmGetFreePage(), and vmmGetFreeVirtualPage().
| void spinLock_scheduler | ( | spinLock_t * | lock | ) |
| void spinLockInit | ( | spinLock_t * | lock | ) |
| int spinLockLocked | ( | spinLock_t * | lock | ) |
| int spinTryLock | ( | spinLock_t * | lock | ) |
Definition at line 48 of file spinlock.c.
Referenced by keyboardHandler(), sched(), spinLock(), and spinLock_scheduler().
| void spinUnlock | ( | spinLock_t * | lock | ) |
Definition at line 37 of file spinlock.c.
Referenced by __sysctl(), adjustCowCounter(), cpuInfo(), current_thread(), devfs_makeNode(), devfs_open(), device_add(), device_find(), device_remove(), fclose(), fdcRead(), fopen(), freePage(), getEmptyDesc(), kernel_function(), keyboardHandler(), kfree(), kmalloc(), mpi_createMbox(), mpi_destroyMbox(), mpi_fetchMessage(), mpi_postMessage(), mpi_spam(), ne2kAllocBuffer(), schedNewTask(), smpInit(), sys_thread_new(), tty_print(), ubixfs_cacheAdd(), ubixfs_cacheFind(), vmm_getFreeMallocPage(), vmm_pageFault(), vmm_remapPage(), vmmCopyVirtualSpace(), vmmFindFreePage(), vmmFreeProcessPages(), vmmGetFreeKernelPage(), vmmGetFreePage(), and vmmGetFreeVirtualPage().
1.4.7