Searched refs:rwsem (Results 26 - 50 of 185) sorted by relevance

12345678

/linux-master/fs/erofs/
H A Ddata.c212 down_read(&devs->rwsem);
215 up_read(&devs->rwsem);
220 up_read(&devs->rwsem);
227 up_read(&devs->rwsem);
229 down_read(&devs->rwsem);
249 up_read(&devs->rwsem);
/linux-master/tools/perf/util/bpf_skel/
H A Dlock_contention.bpf.c262 struct rw_semaphore___old *rwsem = (void *)lock; local
263 owner = (unsigned long)BPF_CORE_READ(rwsem, owner);
265 struct rw_semaphore___new *rwsem = (void *)lock; local
266 owner = BPF_CORE_READ(rwsem, owner.counter);
270 struct rw_semaphore *rwsem = (void *)lock;
271 owner = BPF_CORE_READ(rwsem, owner.counter);
290 case LCB_F_READ: /* rwsem */
/linux-master/ipc/
H A Dutil.c38 * The ids->rwsem must be taken when:
63 #include <linux/rwsem.h>
119 init_rwsem(&ids->rwsem);
170 * Called with writer ipc_ids.rwsem held.
276 * Called with writer ipc_ids.rwsem held.
344 down_write(&ids->rwsem);
346 up_write(&ids->rwsem);
363 * It is called with ipc_ids.rwsem and ipcp->lock held.
408 down_write(&ids->rwsem);
434 up_write(&ids->rwsem);
[all...]
H A Dshm.c43 #include <linux/rwsem.h>
120 * Called with shm_ids.rwsem (writer) and the shp structure locked.
121 * Only shm_ids.rwsem remains locked on exit.
188 * shm_lock_(check_) routines are called in the paths where the rwsem
326 * It has to be called with shp and shm_ids.rwsem (writer) locked,
374 down_write(&shm_ids(ns).rwsem);
393 up_write(&shm_ids(ns).rwsem);
408 /* Called with ns->shm_ids(ns).rwsem locked */
419 * As shp->* are changed under rwsem, it's safe to skip shp locking.
433 down_write(&shm_ids(ns).rwsem);
[all...]
H A Dnamespace.c130 down_write(&ids->rwsem);
143 up_write(&ids->rwsem);
/linux-master/fs/ceph/
H A Dio.c15 #include <linux/rwsem.h>
/linux-master/fs/nfs/
H A Dio.c11 #include <linux/rwsem.h>
/linux-master/crypto/
H A Dproc.c16 #include <linux/rwsem.h>
/linux-master/drivers/leds/trigger/
H A Dledtrig-cpu.c27 #include <linux/rwsem.h>
/linux-master/drivers/leds/
H A Dleds-bd2802.c71 struct rw_semaphore rwsem; member in struct:bd2802_led
330 down_write(&led->rwsem); \
332 up_write(&led->rwsem); \
435 down_read(&led->rwsem);
440 up_read(&led->rwsem);
453 down_write(&led->rwsem);
458 up_write(&led->rwsem);
478 down_read(&led->rwsem); \
480 up_read(&led->rwsem); \
494 down_write(&led->rwsem); \
[all...]
/linux-master/drivers/net/wireguard/
H A Dnoise.h14 #include <linux/rwsem.h>
/linux-master/fs/jffs2/
H A Djffs2_fs_sb.h24 #include <linux/rwsem.h>
/linux-master/drivers/dma/idxd/
H A Dperfmon.h11 #include <linux/percpu-rwsem.h>
/linux-master/fs/reiserfs/
H A Dxattr.h5 #include <linux/rwsem.h>
/linux-master/kernel/module/
H A Dkmod.c27 #include <linux/rwsem.h>
/linux-master/kernel/
H A Dutsname_sysctl.c14 #include <linux/rwsem.h>
/linux-master/drivers/usb/core/
H A Dfile.c22 #include <linux/rwsem.h>
/linux-master/drivers/firmware/efi/
H A Driscv-runtime.c19 #include <linux/rwsem.h>
H A Darm-runtime.c17 #include <linux/rwsem.h>
/linux-master/fs/kernfs/
H A Dkernfs-internal.h16 #include <linux/rwsem.h>
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_irq.c193 down_read(&fifo_state->rwsem);
237 up_read(&fifo_state->rwsem);
/linux-master/drivers/video/fbdev/omap2/omapfb/
H A Domapfb.h19 #include <linux/rwsem.h>
/linux-master/drivers/pci/hotplug/
H A Dpciehp.h23 #include <linux/rwsem.h>
/linux-master/drivers/block/mtip32xx/
H A Dmtip32xx.h15 #include <linux/rwsem.h>
/linux-master/arch/x86/kernel/cpu/sgx/
H A Dencls.h8 #include <linux/rwsem.h>

Completed in 230 milliseconds

12345678