Home
last modified time | relevance | path

Searched defs:rw (Results 1 – 25 of 164) sorted by relevance

1234567

/linux-6.1.9/arch/arc/include/asm/
Dspinlock.h79 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock()
109 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock()
134 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock()
167 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
193 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock()
213 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock()
298 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock()
322 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
346 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock()
352 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock()
[all …]
/linux-6.1.9/arch/s390/include/asm/
Dspinlock.h99 #define arch_read_relax(rw) barrier() argument
100 #define arch_write_relax(rw) barrier() argument
105 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock()
114 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock()
119 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock()
125 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock()
131 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock()
140 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
/linux-6.1.9/io_uring/
Drw.c37 static int io_iov_compat_buffer_select_prep(struct io_rw *rw) in io_iov_compat_buffer_select_prep()
59 struct io_rw *rw = io_kiocb_to_cmd(req, struct io_rw); in io_iov_buffer_select_prep() local
78 struct io_rw *rw = io_kiocb_to_cmd(req, struct io_rw); in io_prep_rw() local
155 struct io_rw *rw = io_kiocb_to_cmd(req, struct io_rw); in io_kiocb_update_pos() local
243 struct io_rw *rw = io_kiocb_to_cmd(req, struct io_rw); in io_req_io_end() local
294 struct io_rw *rw = container_of(kiocb, struct io_rw, kiocb); in io_complete_rw() local
306 struct io_rw *rw = container_of(kiocb, struct io_rw, kiocb); in io_complete_rw_iopoll() local
326 struct io_rw *rw = io_kiocb_to_cmd(req, struct io_rw); in kiocb_done() local
360 struct io_rw *rw = io_kiocb_to_cmd(req, struct io_rw); in __io_import_iovec() local
402 static inline int io_import_iovec(int rw, struct io_kiocb *req, in io_import_iovec()
[all …]
/linux-6.1.9/arch/sh/include/asm/
Dspinlock-cas.h52 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock()
59 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock()
66 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock()
71 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock()
76 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock()
84 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
Dspinlock-llsc.h90 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock()
108 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock()
124 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock()
142 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock()
152 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock()
175 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
/linux-6.1.9/arch/powerpc/include/asm/
Dsimple_spinlock.h157 static inline long __arch_read_trylock(arch_rwlock_t *rw) in __arch_read_trylock()
181 static inline long __arch_write_trylock(arch_rwlock_t *rw) in __arch_write_trylock()
201 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock()
215 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock()
229 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock()
234 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
239 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock()
255 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock()
/linux-6.1.9/arch/parisc/include/asm/
Dspinlock.h52 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock()
76 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
100 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock()
106 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock()
112 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock()
123 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock()
/linux-6.1.9/arch/sparc/include/asm/
Dspinlock_32.h79 static inline void __arch_read_lock(arch_rwlock_t *rw) in __arch_read_lock()
99 static inline void __arch_read_unlock(arch_rwlock_t *rw) in __arch_read_unlock()
119 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock()
142 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
162 static inline int __arch_read_trylock(arch_rwlock_t *rw) in __arch_read_trylock()
/linux-6.1.9/arch/arm/include/asm/
Dspinlock.h139 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock()
158 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
182 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock()
207 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock()
227 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock()
248 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock()
/linux-6.1.9/block/
Dblk-throttle.c147 static uint64_t tg_bps_limit(struct throtl_grp *tg, int rw) in tg_bps_limit()
177 static unsigned int tg_iops_limit(struct throtl_grp *tg, int rw) in tg_iops_limit()
343 int rw; in throtl_pd_alloc() local
422 int rw; in tg_update_has_rules() local
634 bool rw, unsigned long start) in throtl_start_new_slice_with_credit()
657 static inline void throtl_start_new_slice(struct throtl_grp *tg, bool rw, in throtl_start_new_slice()
675 static inline void throtl_set_slice_end(struct throtl_grp *tg, bool rw, in throtl_set_slice_end()
681 static inline void throtl_extend_slice(struct throtl_grp *tg, bool rw, in throtl_extend_slice()
692 static bool throtl_slice_used(struct throtl_grp *tg, bool rw) in throtl_slice_used()
701 static inline void throtl_trim_slice(struct throtl_grp *tg, bool rw) in throtl_trim_slice()
[all …]
/linux-6.1.9/arch/ia64/include/asm/
Dspinlock.h157 #define arch_read_lock(rw) \ argument
170 #define arch_read_unlock(rw) \ argument
205 #define arch_write_trylock(rw) \ argument
237 #define arch_write_trylock(rw) \ argument
/linux-6.1.9/arch/sparc/kernel/
Dprocess_32.c119 struct reg_window32 *rw = (struct reg_window32 *) r->u_regs[14]; in show_regs() local
150 struct reg_window32 *rw; in show_stack() local
373 struct reg_window32 *rw; local
Dprocess_64.c107 struct reg_window32 __user *rw; in show_regwindow32() local
131 struct reg_window __user *rw; in show_regwindow() local
205 struct reg_window *rw; in __global_reg_self() local
660 struct reg_window *rw; in __get_wchan() local
/linux-6.1.9/drivers/net/dsa/sja1105/
Dsja1105_spi.c35 sja1105_spi_rw_mode_t rw, u64 reg_addr, u8 *buf, in sja1105_xfer()
116 sja1105_spi_rw_mode_t rw, u64 reg_addr, in sja1105_xfer_buf()
132 sja1105_spi_rw_mode_t rw, u64 reg_addr, u64 *value, in sja1105_xfer_u64()
151 sja1105_spi_rw_mode_t rw, u64 reg_addr, u32 *value, in sja1105_xfer_u32()
/linux-6.1.9/kernel/trace/
Dtrace_mmiotrace.c169 struct mmiotrace_rw *rw; in mmio_print_rw() local
295 struct mmiotrace_rw *rw) in __trace_mmiotrace_rw()
317 void mmio_trace_rw(struct mmiotrace_rw *rw) in mmio_trace_rw()
/linux-6.1.9/fs/f2fs/
Diostat.c217 int rw, bool is_sync) in __update_iostat_latency()
250 void iostat_update_and_unbind_ctx(struct bio *bio, int rw) in iostat_update_and_unbind_ctx()
/linux-6.1.9/Documentation/userspace-api/media/v4l/
Drw.rst4 .. _rw: target
/linux-6.1.9/arch/powerpc/lib/
Dlocks.c46 void splpar_rw_yield(arch_rwlock_t *rw) in splpar_rw_yield()
/linux-6.1.9/drivers/i2c/busses/
Di2c-ali1563.c187 union i2c_smbus_data *data, u8 rw) in ali1563_block()
234 unsigned short flags, char rw, u8 cmd, in ali1563_access()
/linux-6.1.9/arch/s390/lib/
Dspinlock.c269 void arch_read_lock_wait(arch_rwlock_t *rw) in arch_read_lock_wait()
290 void arch_write_lock_wait(arch_rwlock_t *rw) in arch_write_lock_wait()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dpriv.h13 bool rw; member
/linux-6.1.9/arch/sh/drivers/pci/
Dcommon.c33 #define EARLY_PCI_OP(rw, size, type) \ argument
/linux-6.1.9/drivers/block/drbd/
Ddrbd_req.c1199 const int rw = bio_data_dir(bio); in drbd_request_prepare() local
1315 const int rw = bio_data_dir(req->master_bio); in drbd_send_and_submit() local
1443 const int rw = bio_data_dir(req->master_bio); in submit_fast_path() local
/linux-6.1.9/drivers/ata/
Dpata_falcon.c42 unsigned int buflen, int rw) in pata_falcon_data_xfer()
/linux-6.1.9/fs/btrfs/
Dlocking.h110 static inline void btrfs_tree_unlock_rw(struct extent_buffer *eb, int rw) in btrfs_tree_unlock_rw()

1234567