Searched defs:sem (Results 1 – 10 of 10) sorted by relevance
59 #define init_rwsem(sem) \ argument66 static inline void init_rwsem(struct rw_semaphore *sem) in init_rwsem()76 static inline void __down_read(struct rw_semaphore *sem) in __down_read()84 static inline int __down_read_trylock(struct rw_semaphore *sem) in __down_read_trylock()101 static inline void __down_write(struct rw_semaphore *sem) in __down_write()113 static inline int __down_write_trylock(struct rw_semaphore *sem) in __down_write_trylock()126 static inline void __up_read(struct rw_semaphore *sem) in __up_read()139 static inline void __up_write(struct rw_semaphore *sem) in __up_write()150 static inline void rwsem_atomic_add(int delta, struct rw_semaphore *sem) in rwsem_atomic_add()158 static inline void __downgrade_write(struct rw_semaphore *sem) in __downgrade_write()[all …]
52 static inline void init_rwsem(struct rw_semaphore *sem) in init_rwsem()62 static inline void __down_read(struct rw_semaphore *sem) in __down_read()70 static inline int __down_read_trylock(struct rw_semaphore *sem) in __down_read_trylock()87 static inline void __down_write(struct rw_semaphore *sem) in __down_write()99 static inline int __down_write_trylock(struct rw_semaphore *sem) in __down_write_trylock()112 static inline void __up_read(struct rw_semaphore *sem) in __up_read()125 static inline void __up_write(struct rw_semaphore *sem) in __up_write()136 static inline void rwsem_atomic_add(int delta, struct rw_semaphore *sem) in rwsem_atomic_add()144 static inline void __downgrade_write(struct rw_semaphore *sem) in __downgrade_write()157 static inline int rwsem_atomic_update(int delta, struct rw_semaphore *sem) in rwsem_atomic_update()[all …]
61 #define init_rwsem(sem) \ argument71 static inline void __down_read(struct rw_semaphore *sem) in __down_read()77 static inline int __down_read_trylock(struct rw_semaphore *sem) in __down_read_trylock()93 static inline void __down_write_nested(struct rw_semaphore *sem, int subclass) in __down_write_nested()103 static inline void __down_write(struct rw_semaphore *sem) in __down_write()108 static inline int __down_write_trylock(struct rw_semaphore *sem) in __down_write_trylock()120 static inline void __up_read(struct rw_semaphore *sem) in __up_read()132 static inline void __up_write(struct rw_semaphore *sem) in __up_write()142 static inline void rwsem_atomic_add(int delta, struct rw_semaphore *sem) in rwsem_atomic_add()150 static inline void __downgrade_write(struct rw_semaphore *sem) in __downgrade_write()[all …]
95 #define init_rwsem(sem) \ argument105 static inline void __down_read(struct rw_semaphore *sem) in __down_read()122 static inline int __down_read_trylock(struct rw_semaphore *sem) in __down_read_trylock()144 static inline void __down_write_nested(struct rw_semaphore *sem, int subclass) in __down_write_nested()163 static inline void __down_write(struct rw_semaphore *sem) in __down_write()171 static inline int __down_write_trylock(struct rw_semaphore *sem) in __down_write_trylock()184 static inline void __up_read(struct rw_semaphore *sem) in __up_read()202 static inline void __up_write(struct rw_semaphore *sem) in __up_write()221 static inline void __downgrade_write(struct rw_semaphore *sem) in __downgrade_write()238 static inline void rwsem_atomic_add(int delta, struct rw_semaphore *sem) in rwsem_atomic_add()[all …]
62 init_rwsem (struct rw_semaphore *sem) in init_rwsem()73 __down_read (struct rw_semaphore *sem) in __down_read()85 __down_write (struct rw_semaphore *sem) in __down_write()102 __up_read (struct rw_semaphore *sem) in __up_read()114 __up_write (struct rw_semaphore *sem) in __up_write()131 __down_read_trylock (struct rw_semaphore *sem) in __down_read_trylock()146 __down_write_trylock (struct rw_semaphore *sem) in __down_write_trylock()157 __downgrade_write (struct rw_semaphore *sem) in __downgrade_write()174 #define rwsem_atomic_add(delta, sem) atomic64_add(delta, (atomic64_t *)(&(sem)->count)) argument175 #define rwsem_atomic_update(delta, sem) atomic64_add_return(delta, (atomic64_t *)(&(sem)->count)) argument[all …]
39 #define IA64_FETCHADD(tmp,v,n,sz,sem) \ argument55 #define ia64_fetchadd(i,v,sem) \ argument132 #define ia64_cmpxchg(sem,ptr,old,new,size) \ argument
48 static inline void init_rwsem(struct rw_semaphore *sem) in init_rwsem()55 static inline void __down_read(struct rw_semaphore *sem) in __down_read()82 static inline int __down_read_trylock(struct rw_semaphore *sem) in __down_read_trylock()97 static inline void __down_write(struct rw_semaphore *sem) in __down_write()124 static inline int __down_write_trylock(struct rw_semaphore *sem) in __down_write_trylock()133 static inline void __up_read(struct rw_semaphore *sem) in __up_read()158 static inline void __up_write(struct rw_semaphore *sem) in __up_write()187 static inline void __downgrade_write(struct rw_semaphore *sem) in __downgrade_write()211 static inline void rwsem_atomic_add(long val, struct rw_semaphore *sem) in rwsem_atomic_add()230 static inline long rwsem_atomic_update(long val, struct rw_semaphore *sem) in rwsem_atomic_update()[all …]
100 static inline void init_rwsem(struct rw_semaphore *sem) in init_rwsem()110 #define init_rwsem(sem) \ argument121 static inline void __down_read(struct rw_semaphore *sem) in __down_read()149 static inline int __down_read_trylock(struct rw_semaphore *sem) in __down_read_trylock()180 static inline void __down_write_nested(struct rw_semaphore *sem, int subclass) in __down_write_nested()206 static inline void __down_write(struct rw_semaphore *sem) in __down_write()214 static inline int __down_write_trylock(struct rw_semaphore *sem) in __down_write_trylock()242 static inline void __up_read(struct rw_semaphore *sem) in __up_read()272 static inline void __up_write(struct rw_semaphore *sem) in __up_write()302 static inline void __downgrade_write(struct rw_semaphore *sem) in __downgrade_write()[all …]
47 #define init_rwsem(sem) \ argument62 static inline void __down_write_nested(struct rw_semaphore *sem, int subclass) in __down_write_nested()67 static inline int rwsem_atomic_update(int delta, struct rw_semaphore *sem) in rwsem_atomic_update()72 static inline void rwsem_atomic_add(int delta, struct rw_semaphore *sem) in rwsem_atomic_add()77 static inline int rwsem_is_locked(struct rw_semaphore *sem) in rwsem_is_locked()
43 #define pmon_semlock(sem) debug_vectors->semlock(sem) argument44 #define pmon_semunlock(sem) debug_vectors->semunlock(sem) argument