/linux-master/tools/perf/util/ |
H A D | rwsem.c | 9 int init_rwsem(struct rw_semaphore *sem) argument 19 int exit_rwsem(struct rw_semaphore *sem) argument 29 int down_read(struct rw_semaphore *sem) argument 39 int up_read(struct rw_semaphore *sem) argument 49 down_write(struct rw_semaphore *sem) argument 59 up_write(struct rw_semaphore *sem) argument [all...] |
/linux-master/fs/jffs2/ |
H A D | jffs2_fs_i.h | 27 struct mutex sem; member in struct:jffs2_inode_info
|
/linux-master/include/linux/ |
H A D | semaphore.h | 37 static inline void sema_init(struct semaphore *sem, int val) argument [all...] |
H A D | percpu-rwsem.h | 47 static inline void percpu_down_read(struct percpu_rw_semaphore *sem) argument 73 static inline bool percpu_down_read_trylock(struct percpu_rw_semaphore *sem) argument 97 percpu_up_read(struct percpu_rw_semaphore *sem) argument 128 percpu_is_write_locked(struct percpu_rw_semaphore *sem) argument 147 percpu_rwsem_release(struct percpu_rw_semaphore *sem, bool read, unsigned long ip) argument 153 percpu_rwsem_acquire(struct percpu_rw_semaphore *sem, bool read, unsigned long ip) argument [all...] |
H A D | rwsem.h | 73 static inline int rwsem_is_locked(struct rw_semaphore *sem) argument 78 static inline void rwsem_assert_held_nolockdep(const struct rw_semaphore *sem) argument 83 static inline void rwsem_assert_held_write_nolockdep(const struct rw_semaphore *sem) argument 130 rwsem_is_contended(struct rw_semaphore *sem) argument 165 rwsem_is_locked(const struct rw_semaphore *sem) argument 170 rwsem_assert_held_nolockdep(const struct rw_semaphore *sem) argument 175 rwsem_assert_held_write_nolockdep(const struct rw_semaphore *sem) argument 180 rwsem_is_contended(struct rw_semaphore *sem) argument 192 rwsem_assert_held(const struct rw_semaphore *sem) argument 200 rwsem_assert_held_write(const struct rw_semaphore *sem) argument [all...] |
/linux-master/tools/include/linux/ |
H A D | rwsem.h | 11 static inline int init_rwsem(struct rw_semaphore *sem) argument 16 static inline int exit_rwsem(struct rw_semaphore *sem) argument 21 static inline int down_read(struct rw_semaphore *sem) argument 26 static inline int up_read(struct rw_semaphore *sem) argument 31 static inline int down_write(struct rw_semaphore *sem) argument 36 up_write(struct rw_semaphore *sem) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | reset.c | 51 u32 sem; local
|
/linux-master/drivers/gpu/drm/gma500/ |
H A D | mmu.h | 15 struct rw_semaphore sem; member in struct:psb_mmu_driver
|
/linux-master/kernel/locking/ |
H A D | semaphore.c | 54 void __sched down(struct semaphore *sem) argument 77 down_interruptible(struct semaphore *sem) argument 104 down_killable(struct semaphore *sem) argument 134 down_trylock(struct semaphore *sem) argument 159 down_timeout(struct semaphore *sem, long timeout) argument 183 up(struct semaphore *sem) argument 209 ___down_common(struct semaphore *sem, long state, long timeout) argument 240 __down_common(struct semaphore *sem, long state, long timeout) argument 252 __down(struct semaphore *sem) argument 257 __down_interruptible(struct semaphore *sem) argument 262 __down_killable(struct semaphore *sem) argument 267 __down_timeout(struct semaphore *sem, long timeout) argument 272 __up(struct semaphore *sem) argument [all...] |
H A D | percpu-rwsem.c | 14 int __percpu_init_rwsem(struct percpu_rw_semaphore *sem, argument 33 percpu_free_rwsem(struct percpu_rw_semaphore *sem) argument 48 __percpu_down_read_trylock(struct percpu_rw_semaphore *sem) argument 84 __percpu_down_write_trylock(struct percpu_rw_semaphore *sem) argument 92 __percpu_rwsem_trylock(struct percpu_rw_semaphore *sem, bool reader) argument 124 struct percpu_rw_semaphore *sem = key; local 141 percpu_rwsem_wait(struct percpu_rw_semaphore *sem, bool reader) argument 167 __percpu_down_read(struct percpu_rw_semaphore *sem, bool try) argument 195 percpu_is_read_locked(struct percpu_rw_semaphore *sem) argument 209 readers_active_check(struct percpu_rw_semaphore *sem) argument 224 percpu_down_write(struct percpu_rw_semaphore *sem) argument 259 percpu_up_write(struct percpu_rw_semaphore *sem) argument [all...] |
/linux-master/drivers/media/usb/as102/ |
H A D | as102_drv.h | 64 struct mutex sem; member in struct:as102_dev_t
|
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | efx.h | 265 static inline bool ef4_rwsem_assert_write_locked(struct rw_semaphore *sem) argument
|
/linux-master/drivers/tty/ |
H A D | tty_ldsem.c | 57 void __init_ldsem(struct ld_semaphore *sem, const char *name, argument 74 static void __ldsem_wake_readers(struct ld_semaphore *sem) argument 104 writer_trylock(struct ld_semaphore *sem) argument 119 __ldsem_wake_writer(struct ld_semaphore *sem) argument 135 __ldsem_wake(struct ld_semaphore *sem) argument 143 ldsem_wake(struct ld_semaphore *sem) argument 156 down_read_failed(struct ld_semaphore *sem, long count, long timeout) argument 230 down_write_failed(struct ld_semaphore *sem, long count, long timeout) argument 295 __ldsem_down_read_nested(struct ld_semaphore *sem, int subclass, long timeout) argument 314 __ldsem_down_write_nested(struct ld_semaphore *sem, int subclass, long timeout) argument 337 ldsem_down_read(struct ld_semaphore *sem, long timeout) argument 346 ldsem_down_read_trylock(struct ld_semaphore *sem) argument 363 ldsem_down_write(struct ld_semaphore *sem, long timeout) argument 372 ldsem_down_write_trylock(struct ld_semaphore *sem) argument 389 ldsem_up_read(struct ld_semaphore *sem) argument 403 ldsem_up_write(struct ld_semaphore *sem) argument 417 ldsem_down_read_nested(struct ld_semaphore *sem, int subclass, long timeout) argument 423 ldsem_down_write_nested(struct ld_semaphore *sem, int subclass, long timeout) argument [all...] |
/linux-master/drivers/infiniband/core/ |
H A D | iwpm_util.h | 71 struct semaphore sem; member in struct:iwpm_nlmsg_request
|
H A D | netlink.c | 50 struct rw_semaphore sem; member in struct:__anon121
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | efx.h | 206 static inline bool efx_rwsem_assert_write_locked(struct rw_semaphore *sem) argument
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | efx.h | 229 static inline bool efx_rwsem_assert_write_locked(struct rw_semaphore *sem) argument
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | hardware_disable_test.c | 28 sem_t *sem; variable
|
/linux-master/include/soc/arc/ |
H A D | mcip.h | 66 msg:1, sem:1, ipi:1, slv:1, member in struct:mcip_bcr
|
/linux-master/drivers/input/joystick/ |
H A D | turbografx.c | 66 struct mutex sem; member in struct:tgfx
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_reset.h | 86 struct rw_semaphore sem; member in struct:amdgpu_reset_domain
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | devcom.c | 33 struct rw_semaphore sem; member in struct:mlx5_devcom_comp [all...] |
/linux-master/arch/x86/platform/intel/ |
H A D | iosf_mbi.c | 247 static int iosf_mbi_get_sem(u32 *sem) argument 316 u32 sem; local
|
/linux-master/drivers/misc/cxl/ |
H A D | flash.c | 28 static struct semaphore sem; variable in typeref:struct:semaphore
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | nv04.c | 413 u32 reassign, chid, get, sem; local
|