Home
last modified time | relevance | path

Searched defs:sema (Results 1 – 15 of 15) sorted by relevance

/freebsd-src/sys/sys/
H A Dsema.h38 struct sema { struct
39 struct mtx sema_mtx; /* General protection lock. */ argument
40 struct cv sema_cv; /* Waiters. */ argument
41 int sema_waiters; /* Number of waiters. */ argument
42 int sema_value; /* Semaphore value. */ argument
55 #define sema_post(sema) _sema_post((sema), LOCK_FILE, LOCK_LINE) argument
56 #define sema_wait(sema) _sema_wait((sema), LOCK_FILE, LOCK_LINE) argument
57 #define sema_timedwait(sema, timo) \ argument
59 #define sema_trywait(sema) _sema_trywait((sema), LOCK_FILE, LOCK_LINE) argument
/freebsd-src/sys/kern/
H A Dkern_sema.c47 sema_init(struct sema *sema, int value, const char *description) in sema_init()
62 sema_destroy(struct sema *sema) in sema_destroy()
75 _sema_post(struct sema *sema, const char *file, int line) in _sema_post()
90 _sema_wait(struct sema *sema, const char *file, int line) in _sema_wait()
108 _sema_timedwait(struct sema *sema, int timo, const char *file, int line) in _sema_timedwait()
142 _sema_trywait(struct sema *sema, const char *file, int line) in _sema_trywait()
167 sema_value(struct sema *sema) in sema_value()
H A Dsysv_sem.c117 static struct semid_kernel *sema; /* semaphore id pool */ global() variable
[all...]
/freebsd-src/sys/dev/smartpqi/
H A Dsmartpqi_misc.c133 os_create_semaphore(const char *name, int value, struct sema *sema) in os_create_semaphore()
143 os_destroy_semaphore(struct sema *sema) in os_destroy_semaphore()
153 os_sema_lock(struct sema *sema) in os_sema_lock()
162 os_sema_unlock(struct sema *sema) in os_sema_unlock()
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DCxxModuleHandler.cpp54 static void makeScopes(Sema &sema, DeclContext *ctxt, in makeScopes()
72 emulateLookupInCtxt(Sema &sema, llvm::StringRef name, DeclContext *ctxt) { in emulateLookupInCtxt()
125 getEqualLocalDeclContext(Sema &sema, DeclContext *foreign_ctxt) { in getEqualLocalDeclContext()
/freebsd-src/sys/compat/linuxkpi/common/include/linux/
H A Dsemaphore.h42 struct sema sema; member
/freebsd-src/contrib/llvm-project/clang/include/clang/Testing/
H A DTestAST.h84 Sema &sema() { return Clang->getSema(); } sema() function
/freebsd-src/usr.bin/ipcs/
H A Dipc.c51 struct semid_kernel *sema; variable
/freebsd-src/contrib/llvm-project/clang/include/clang/AST/
H A DAbstractBasicWriter.h165 void writeFixedPointSemantics(const llvm::FixedPointSemantics &sema) { in writeFixedPointSemantics() argument
/freebsd-src/contrib/llvm-project/clang/lib/ARCMigrate/
H A DInternals.h157 MigrationPass(ASTContext &Ctx, LangOptions::GCMode OrigGCMode, Sema &sema, in MigrationPass()
/freebsd-src/sys/dev/mana/
H A Dhw_channel.h208 struct sema sema; member
/freebsd-src/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp133 namespace sema { global() namespace
H A DSemaType.cpp176 Sema &sema; global() member in __anon1bdae2e90111::TypeProcessingState
212 TypeProcessingState(Sema & sema,Declarator & declarator) TypeProcessingState() argument
[all...]
H A DSemaTemplateInstantiate.cpp3216 namespace sema { global() namespace
[all...]
H A DTreeTransform.h49 using namespace sema; global() variable