| /freebsd-12.1/sys/sys/ |
| H A D | sema.h | 40 struct sema { struct 41 struct mtx sema_mtx; /* General protection lock. */ argument 42 struct cv sema_cv; /* Waiters. */ argument 43 int sema_waiters; /* Number of waiters. */ argument 44 int sema_value; /* Semaphore value. */ argument 57 #define sema_post(sema) _sema_post((sema), LOCK_FILE, LOCK_LINE) argument 58 #define sema_wait(sema) _sema_wait((sema), LOCK_FILE, LOCK_LINE) argument 59 #define sema_timedwait(sema, timo) \ argument 61 #define sema_trywait(sema) _sema_trywait((sema), LOCK_FILE, LOCK_LINE) argument
|
| /freebsd-12.1/sys/kern/ |
| H A D | kern_sema.c | 50 sema_init(struct sema *sema, int value, const char *description) in sema_init() 65 sema_destroy(struct sema *sema) in sema_destroy() 78 _sema_post(struct sema *sema, const char *file, int line) in _sema_post() 93 _sema_wait(struct sema *sema, const char *file, int line) in _sema_wait() 111 _sema_timedwait(struct sema *sema, int timo, const char *file, int line) in _sema_timedwait() 145 _sema_trywait(struct sema *sema, const char *file, int line) in _sema_trywait() 170 sema_value(struct sema *sema) in sema_value()
|
| H A D | sysv_sem.c | 118 static struct semid_kernel *sema; /* semaphore id pool */ variable
|
| /freebsd-12.1/sys/dev/smartpqi/ |
| H A D | smartpqi_misc.c | 132 int os_create_semaphore(const char *name, int value, struct sema *sema) in os_create_semaphore() 142 int os_destroy_semaphore(struct sema *sema) in os_destroy_semaphore() 152 void inline os_sema_lock(struct sema *sema) in os_sema_lock() 160 void inline os_sema_unlock(struct sema *sema) in os_sema_unlock()
|
| /freebsd-12.1/sys/compat/linuxkpi/common/include/linux/ |
| H A D | semaphore.h | 44 struct sema sema; member
|
| /freebsd-12.1/usr.bin/ipcs/ |
| H A D | ipc.c | 54 struct semid_kernel *sema; variable
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A D | Internals.h | 157 Sema &sema, TransformActions &TA, in MigrationPass()
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | gthr-win32.h | 345 void *sema; member 352 void *sema; member
|
| /freebsd-12.1/sys/dev/isp/ |
| H A D | isp_sbus.c | 352 uint16_t isr, sema, info; in isp_sbus_run_isr() local
|
| H A D | isp_pci.c | 1025 uint16_t isr, sema, info; in isp_pci_run_isr() local
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | Sema.cpp | 75 namespace sema { namespace
|
| H A D | SemaType.cpp | 153 Sema &sema; member in __anonbf0734260111::TypeProcessingState 191 TypeProcessingState(Sema &sema, Declarator &declarator) in TypeProcessingState()
|
| H A D | SemaTemplateInstantiate.cpp | 1969 namespace sema { namespace
|
| H A D | TreeTransform.h | 42 using namespace sema; variable
|