Home
last modified time | relevance | path

Searched refs:rw_semaphore (Results 1 – 25 of 33) sorted by relevance

12

/include/linux/
Drwsem.h35 struct rw_semaphore { struct
63 static inline int rwsem_is_locked(struct rw_semaphore *sem) in rwsem_is_locked() argument
101 struct rw_semaphore name = __RWSEM_INITIALIZER(name)
103 extern void __init_rwsem(struct rw_semaphore *sem, const char *name,
119 static inline int rwsem_is_contended(struct rw_semaphore *sem) in rwsem_is_contended()
127 extern void down_read(struct rw_semaphore *sem);
128 extern int __must_check down_read_killable(struct rw_semaphore *sem);
133 extern int down_read_trylock(struct rw_semaphore *sem);
138 extern void down_write(struct rw_semaphore *sem);
139 extern int __must_check down_write_killable(struct rw_semaphore *sem);
[all …]
Drtnetlink.h41 extern struct rw_semaphore pernet_ops_rwsem;
42 extern struct rw_semaphore net_rwsem;
Dposix-clock.h89 struct rw_semaphore rwsem;
Dgnss.h45 struct rw_semaphore rwsem;
Dutsname.h90 extern struct rw_semaphore uts_sem;
Dipc_namespace.h19 struct rw_semaphore rwsem;
Dpercpu-rwsem.h15 struct rw_semaphore rw_sem; /* slowpath */
Dhmm.h91 struct rw_semaphore mirrors_sem;
Duser_namespace.h75 struct rw_semaphore keyring_sem;
Dbacking-dev-defs.h216 struct rw_semaphore wb_switch_rwsem; /* no cgwb switch while syncing */
Dtpm.h118 struct rw_semaphore ops_sem;
Drmap.h31 struct rw_semaphore rwsem; /* W: modification, R: walking the list */
Dnotifier.h66 struct rw_semaphore rwsem;
Dnfs_fs.h168 struct rw_semaphore rmdir_sem;
176 struct rw_semaphore rwsem;
Ddmar.h69 extern struct rw_semaphore dmar_global_lock;
Dkey.h179 struct rw_semaphore sem; /* change vs change sem */
Dmm_types.h436 struct rw_semaphore mmap_sem;
Dleds.h135 struct rw_semaphore trigger_lock;
Dquota.h520 struct rw_semaphore dqio_sem; /* Lock quota file while I/O in progress */
/include/sound/
Dseq_virmidi.h50 struct rw_semaphore filelist_sem;
Dcore.h100 struct rw_semaphore controls_rwsem; /* controls list lock */
/include/rdma/
Dib_umem_odp.h130 struct rw_semaphore umem_rwsem;
/include/linux/i3c/
Dmaster.h345 struct rw_semaphore lock;
/include/linux/lockd/
Dlockd.h58 struct rw_semaphore h_rwsem; /* Reboot recovery lock */
/include/linux/ceph/
Dosd_client.h343 struct rw_semaphore lock;

12