Searched refs:rwsem (Results 76 - 100 of 185) sorted by relevance

12345678

/linux-master/fs/btrfs/
H A Dblock-group.h13 #include <linux/rwsem.h>
H A Dextent_io.h12 #include <linux/rwsem.h>
H A Dfs.h19 #include <linux/rwsem.h>
312 struct rw_semaphore rwsem; member in struct:btrfs_dev_replace
H A Dscrub.c2688 down_write(&dev_replace->rwsem);
2692 up_write(&dev_replace->rwsem);
2701 down_write(&dev_replace->rwsem);
2704 up_write(&dev_replace->rwsem);
2954 down_read(&fs_info->dev_replace.rwsem);
2958 up_read(&fs_info->dev_replace.rwsem);
2964 up_read(&fs_info->dev_replace.rwsem);
/linux-master/fs/xfs/
H A Dxfs_linux.h52 #include <linux/rwsem.h>
/linux-master/fs/smb/server/mgmt/
H A Dshare_config.c9 #include <linux/rwsem.h>
/linux-master/include/linux/
H A Drwsem.h2 /* rwsem.h: R/W semaphores, public interface
37 * For an uncontended rwsem, count and owner are the only fields a task
38 * needs to touch when acquiring the rwsem. So they are put next to each
41 * In a contended rwsem, the owner is likely the most frequently accessed
43 * will spin on owner. For an embedded rwsem, other hot fields in the
44 * containing structure should be moved further away from the rwsem to
52 * the current state of the rwsem. Can be used as a speculative
125 * This is the same regardless of which rwsem implementation that is being used.
127 * rwsem to see if somebody from an incompatible type is wanting access to the
155 extern void __init_rwsem(struct rw_semaphore *rwsem, cons
[all...]
H A Dquota.h37 #include <linux/rwsem.h>
H A Dkey.h18 #include <linux/rwsem.h>
H A Dcgroup-defs.h19 #include <linux/percpu-rwsem.h>
H A Dleds.h14 #include <linux/rwsem.h>
/linux-master/ipc/
H A Dmsg.c38 #include <linux/rwsem.h>
142 * Called with msg_ids.rwsem held (writer)
270 * msg_ids.rwsem (writer) and the spinlock for this message queue are held
271 * before freeque() is called. msg_ids.rwsem remains locked on exit.
397 * This function handles some msgctl commands which require the rwsem
399 * NOTE: no locks must be held, the rwsem is taken inside this function.
408 down_write(&msg_ids(ns).rwsem);
473 up_write(&msg_ids(ns).rwsem);
498 down_read(&msg_ids(ns).rwsem);
502 up_read(&msg_ids(ns).rwsem);
[all...]
H A Dsem.c84 #include <linux/rwsem.h>
473 * sem_lock_(check_) routines are called in the paths where the rwsem
529 * Called with sem_ids.rwsem held (as a writer)
589 * Called with sem_ids.rwsem and ipcp locked.
1139 /* Free a semaphore set. freeary() is called with sem_ids.rwsem locked
1140 * as a writer and the spinlock for this semaphore set hold. sem_ids.rwsem
1328 down_read(&sem_ids(ns).rwsem);
1337 up_read(&sem_ids(ns).rwsem);
1597 * This function handles some semctl commands which require the rwsem
1599 * NOTE: no locks must be held, the rwsem i
[all...]
/linux-master/drivers/char/
H A Dnwflash.c27 #include <linux/rwsem.h>
/linux-master/drivers/usb/misc/
H A Dusblcd.c21 #include <linux/rwsem.h>
/linux-master/arch/x86/kernel/
H A Dsys_ia32.c37 #include <linux/rwsem.h>
/linux-master/drivers/md/
H A Ddm-zoned.h19 #include <linux/rwsem.h>
/linux-master/drivers/acpi/
H A Dglue.c17 #include <linux/rwsem.h>
/linux-master/kernel/
H A Dumh.c26 #include <linux/rwsem.h>
/linux-master/drivers/virt/coco/
H A Dtsm.c9 #include <linux/rwsem.h>
/linux-master/drivers/iommu/iommufd/
H A Diommufd_private.h7 #include <linux/rwsem.h>
/linux-master/drivers/vdpa/vdpa_user/
H A Dvduse_dev.c100 struct rw_semaphore rwsem; member in struct:vduse_dev
435 down_write(&dev->rwsem);
472 up_write(&dev->rwsem);
1011 down_read(&dev->rwsem);
1022 up_read(&dev->rwsem);
1643 init_rwsem(&dev->rwsem);
/linux-master/include/sound/
H A Dcore.h13 #include <linux/rwsem.h> /* struct rw_semaphore */
/linux-master/drivers/devfreq/
H A Drk3399_dmc.c21 #include <linux/rwsem.h>
/linux-master/drivers/leds/
H A Dled-core.c17 #include <linux/rwsem.h>

Completed in 505 milliseconds

12345678