Home
last modified time | relevance | path

Searched defs:sem (Results 1 – 7 of 7) sorted by relevance

/include/linux/
Drwsem.h85 # define down_read_nested(sem, subclass) down_read(sem) argument
86 # define down_write_nested(sem, subclass) down_write(sem) argument
87 # define down_read_non_owner(sem) down_read(sem) argument
88 # define up_read_non_owner(sem) up_read(sem) argument
Dsemaphore.h32 static inline void sema_init(struct semaphore *sem, int val) in sema_init()
39 #define init_MUTEX(sem) sema_init(sem, 1) argument
40 #define init_MUTEX_LOCKED(sem) sema_init(sem, 0) argument
Drwsem-spinlock.h56 #define init_rwsem(sem) \ argument
72 static inline int rwsem_is_locked(struct rw_semaphore *sem) in rwsem_is_locked()
Dsem.h86 struct sem { struct
87 int semval; /* current value */ argument
88 int sempid; /* pid of last operation */ argument
Dsmb_fs_sb.h60 struct semaphore sem; member
Dkey.h128 struct rw_semaphore sem; /* change vs change sem */ member
Ddevice.h382 struct semaphore sem; /* semaphore to synchronize calls to member