Searched defs:sem (Results 1 - 25 of 61) sorted by last modified time

123

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Ddevcom.c33 struct rw_semaphore sem; member in struct:mlx5_devcom_comp
[all...]
/linux-master/include/linux/
H A Drwsem.h73 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/fs/smb/client/
H A Dfile.c455 cifs_down_write(struct rw_semaphore *sem) argument
/linux-master/fs/f2fs/
H A Df2fs.h2133 static inline void __init_f2fs_rwsem(struct f2fs_rwsem *sem, argument
2142 static inline int f2fs_rwsem_is_locked(struct f2fs_rwsem *sem) argument
2147 static inline int f2fs_rwsem_is_contended(struct f2fs_rwsem *sem) argument
2152 f2fs_down_read(struct f2fs_rwsem *sem) argument
2161 f2fs_down_read_trylock(struct f2fs_rwsem *sem) argument
2166 f2fs_up_read(struct f2fs_rwsem *sem) argument
2171 f2fs_down_write(struct f2fs_rwsem *sem) argument
2177 f2fs_down_read_nested(struct f2fs_rwsem *sem, int subclass) argument
2182 f2fs_down_write_nested(struct f2fs_rwsem *sem, int subclass) argument
2191 f2fs_down_write_trylock(struct f2fs_rwsem *sem) argument
2196 f2fs_up_write(struct f2fs_rwsem *sem) argument
[all...]
/linux-master/drivers/infiniband/hw/mlx5/
H A Dmlx5_ib.h749 struct semaphore sem; member in struct:umr_common
/linux-master/drivers/media/dvb-core/
H A Ddvb_frontend.c98 struct semaphore sem; member in struct:dvb_frontend_private
[all...]
/linux-master/drivers/macintosh/
H A Drack-meter.c69 struct mutex sem; member in struct:rackmeter
/linux-master/fs/reiserfs/
H A Dreiserfs.h829 reiserfs_down_read_safe(struct rw_semaphore *sem, struct super_block *s) argument
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Dgmc_v9_0.c825 u32 j, inv_req, tmp, sem, req, ack, inst; local
H A Dgmc_v11_0.c217 u32 sem, req, ack; local
H A Dgmc_v10_0.c258 u32 sem, req, ack; local
H A Damdgpu_reset.h86 struct rw_semaphore sem; member in struct:amdgpu_reset_domain
/linux-master/drivers/cpufreq/
H A Dbrcmstb-avs-cpufreq.c180 struct semaphore sem; member in struct:private_data
/linux-master/drivers/accel/qaic/
H A Dqaic_data.c544 static bool invalid_sem(struct qaic_sem *sem) argument
/linux-master/kernel/locking/
H A Drwsem.c140 static inline void rwsem_set_owner(struct rw_semaphore *sem) argument
146 static inline void rwsem_clear_owner(struct rw_semaphore *sem) argument
155 rwsem_test_oflags(struct rw_semaphore *sem, long flags) argument
170 __rwsem_set_reader_owned(struct rw_semaphore *sem, struct task_struct *owner) argument
179 rwsem_set_reader_owned(struct rw_semaphore *sem) argument
187 is_rwsem_reader_owned(struct rw_semaphore *sem) argument
208 rwsem_clear_reader_owned(struct rw_semaphore *sem) argument
219 rwsem_clear_reader_owned(struct rw_semaphore *sem) argument
228 rwsem_set_nonspinnable(struct rw_semaphore *sem) argument
241 rwsem_read_trylock(struct rw_semaphore *sem, long *cntp) argument
256 rwsem_write_trylock(struct rw_semaphore *sem) argument
271 rwsem_owner(struct rw_semaphore *sem) argument
282 rwsem_owner_flags(struct rw_semaphore *sem, unsigned long *pflags) argument
310 __init_rwsem(struct rw_semaphore *sem, const char *name, struct lock_class_key *key) argument
370 rwsem_add_waiter(struct rw_semaphore *sem, struct rwsem_waiter *waiter) argument
386 rwsem_del_waiter(struct rw_semaphore *sem, struct rwsem_waiter *waiter) argument
411 rwsem_mark_wake(struct rw_semaphore *sem, enum rwsem_wake_type wake_type, struct wake_q_head *wake_q) argument
604 rwsem_try_write_lock(struct rw_semaphore *sem, struct rwsem_waiter *waiter) argument
690 rwsem_try_write_lock_unqueued(struct rw_semaphore *sem) argument
705 rwsem_can_spin_on_owner(struct rw_semaphore *sem) argument
747 rwsem_spin_on_owner(struct rw_semaphore *sem) argument
806 rwsem_rspin_threshold(struct rw_semaphore *sem) argument
819 rwsem_optimistic_spin(struct rw_semaphore *sem) argument
941 clear_nonspinnable(struct rw_semaphore *sem) argument
948 rwsem_can_spin_on_owner(struct rw_semaphore *sem) argument
953 rwsem_optimistic_spin(struct rw_semaphore *sem) argument
958 clear_nonspinnable(struct rw_semaphore *sem) argument
961 rwsem_spin_on_owner(struct rw_semaphore *sem) argument
975 rwsem_cond_wake_waiter(struct rw_semaphore *sem, long count, struct wake_q_head *wake_q) argument
996 rwsem_down_read_slowpath(struct rw_semaphore *sem, long count, unsigned int state) argument
1107 rwsem_down_write_slowpath(struct rw_semaphore *sem, int state) argument
1203 rwsem_wake(struct rw_semaphore *sem) argument
1224 rwsem_downgrade_wake(struct rw_semaphore *sem) argument
1243 __down_read_common(struct rw_semaphore *sem, int state) argument
1261 __down_read(struct rw_semaphore *sem) argument
1266 __down_read_interruptible(struct rw_semaphore *sem) argument
1271 __down_read_killable(struct rw_semaphore *sem) argument
1276 __down_read_trylock(struct rw_semaphore *sem) argument
1300 __down_write_common(struct rw_semaphore *sem, int state) argument
1313 __down_write(struct rw_semaphore *sem) argument
1318 __down_write_killable(struct rw_semaphore *sem) argument
1323 __down_write_trylock(struct rw_semaphore *sem) argument
1338 __up_read(struct rw_semaphore *sem) argument
1360 __up_write(struct rw_semaphore *sem) argument
1383 __downgrade_write(struct rw_semaphore *sem) argument
1394 DEBUG_RWSEMS_WARN_ON(rwsem_owner(sem) != current, sem); local
1441 __init_rwsem(struct rw_semaphore *sem, const char *name, struct lock_class_key *key) argument
1453 __down_read(struct rw_semaphore *sem) argument
1458 __down_read_interruptible(struct rw_semaphore *sem) argument
1463 __down_read_killable(struct rw_semaphore *sem) argument
1468 __down_read_trylock(struct rw_semaphore *sem) argument
1473 __up_read(struct rw_semaphore *sem) argument
1478 __down_write(struct rw_semaphore *sem) argument
1483 __down_write_killable(struct rw_semaphore *sem) argument
1488 __down_write_trylock(struct rw_semaphore *sem) argument
1493 __up_write(struct rw_semaphore *sem) argument
1498 __downgrade_write(struct rw_semaphore *sem) argument
1506 __rwsem_set_reader_owned(struct rw_semaphore *sem, struct task_struct *owner) argument
1511 is_rwsem_reader_owned(struct rw_semaphore *sem) argument
1523 down_read(struct rw_semaphore *sem) argument
1532 down_read_interruptible(struct rw_semaphore *sem) argument
1546 down_read_killable(struct rw_semaphore *sem) argument
1563 down_read_trylock(struct rw_semaphore *sem) argument
1576 down_write(struct rw_semaphore *sem) argument
1587 down_write_killable(struct rw_semaphore *sem) argument
1605 down_write_trylock(struct rw_semaphore *sem) argument
1619 up_read(struct rw_semaphore *sem) argument
1629 up_write(struct rw_semaphore *sem) argument
1639 downgrade_write(struct rw_semaphore *sem) argument
1648 down_read_nested(struct rw_semaphore *sem, int subclass) argument
1656 down_read_killable_nested(struct rw_semaphore *sem, int subclass) argument
1670 _down_write_nest_lock(struct rw_semaphore *sem, struct lockdep_map *nest) argument
1678 down_read_non_owner(struct rw_semaphore *sem) argument
1692 down_write_nested(struct rw_semaphore *sem, int subclass) argument
1700 down_write_killable_nested(struct rw_semaphore *sem, int subclass) argument
1715 up_read_non_owner(struct rw_semaphore *sem) argument
[all...]
H A Dpercpu-rwsem.c14 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/include/linux/mlx5/
H A Ddriver.h301 struct semaphore sem; member in struct:mlx5_cmd::__anon2059
/linux-master/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmcu.c2651 int i, ret, sem; local
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mcu.c3006 int i, ret, sem, max_len = mt76_is_sdio(dev) ? 2048 : 4096; local
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmcu.c1225 int len, ret, sem; local
/linux-master/drivers/net/ethernet/wangxun/libwx/
H A Dwx_hw.c264 u32 sem = 0; local
/linux-master/tools/testing/selftests/kvm/
H A Ddirty_log_test.c206 static void sem_wait_until(sem_t *sem) argument
H A Dhardware_disable_test.c28 sem_t *sem; variable
/linux-master/net/ceph/
H A Dosd_client.c58 static inline bool rwsem_is_wrlocked(struct rw_semaphore *sem) argument
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c973 struct semaphore *sem; local
[all...]

Completed in 466 milliseconds

123