Home
last modified time | relevance | path

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

1234567

/linux-6.6.21/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.6.21/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.6.21/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
156 struct io_rw *rw = io_kiocb_to_cmd(req, struct io_rw); in io_kiocb_update_pos() local
227 struct io_rw *rw = io_kiocb_to_cmd(req, struct io_rw); in io_req_end_write() local
239 struct io_rw *rw = io_kiocb_to_cmd(req, struct io_rw); in io_req_io_end() local
284 struct io_rw *rw = io_kiocb_to_cmd(req, struct io_rw); in io_req_rw_complete() local
305 struct io_rw *rw = container_of(kiocb, struct io_rw, kiocb); in io_complete_rw() local
319 struct io_rw *rw = container_of(kiocb, struct io_rw, kiocb); in io_complete_rw_iopoll() local
339 struct io_rw *rw = io_kiocb_to_cmd(req, struct io_rw); in kiocb_done() local
[all …]
/linux-6.6.21/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.6.21/arch/powerpc/include/asm/
Dsimple_spinlock.h159 static inline long __arch_read_trylock(arch_rwlock_t *rw) in __arch_read_trylock()
183 static inline long __arch_write_trylock(arch_rwlock_t *rw) in __arch_write_trylock()
203 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock()
217 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock()
231 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock()
236 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
241 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock()
257 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock()
/linux-6.6.21/arch/parisc/include/asm/
Dspinlock.h79 static inline int arch_read_trylock(arch_rwlock_t *rw) in arch_read_trylock()
103 static inline int arch_write_trylock(arch_rwlock_t *rw) in arch_write_trylock()
127 static inline void arch_read_lock(arch_rwlock_t *rw) in arch_read_lock()
133 static inline void arch_write_lock(arch_rwlock_t *rw) in arch_write_lock()
139 static inline void arch_read_unlock(arch_rwlock_t *rw) in arch_read_unlock()
150 static inline void arch_write_unlock(arch_rwlock_t *rw) in arch_write_unlock()
/linux-6.6.21/fs/smb/client/
Ddfs.h42 struct dfs_ref_walk *rw; in ref_walk_alloc() local
50 static inline void ref_walk_init(struct dfs_ref_walk *rw) in ref_walk_init()
64 static inline void ref_walk_free(struct dfs_ref_walk *rw) in ref_walk_free()
73 static inline int ref_walk_advance(struct dfs_ref_walk *rw) in ref_walk_advance()
85 ref_walk_next_tgt(struct dfs_ref_walk *rw) in ref_walk_next_tgt()
98 static inline int ref_walk_get_tgt(struct dfs_ref_walk *rw, in ref_walk_get_tgt()
106 static inline int ref_walk_num_tgts(struct dfs_ref_walk *rw) in ref_walk_num_tgts()
111 static inline void ref_walk_set_tgt_hint(struct dfs_ref_walk *rw) in ref_walk_set_tgt_hint()
Ddfs.c99 struct dfs_ref_walk *rw, in parse_dfs_target()
113 struct dfs_ref_walk *rw) in set_ref_paths()
140 struct dfs_ref_walk *rw) in __dfs_referral_walk()
214 struct dfs_ref_walk *rw; in dfs_referral_walk() local
/linux-6.6.21/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.6.21/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.6.21/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()
342 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()
736 static inline void throtl_trim_slice(struct throtl_grp *tg, bool rw) in throtl_trim_slice()
[all …]
/linux-6.6.21/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.6.21/arch/sparc/kernel/
Dprocess_32.c118 struct reg_window32 *rw = (struct reg_window32 *) r->u_regs[14]; in show_regs() local
149 struct reg_window32 *rw; in show_stack() local
372 struct reg_window32 *rw; local
Dprocess_64.c108 struct reg_window32 __user *rw; in show_regwindow32() local
132 struct reg_window __user *rw; in show_regwindow() local
206 struct reg_window *rw; in __global_reg_self() local
661 struct reg_window *rw; in __get_wchan() local
/linux-6.6.21/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.6.21/drivers/firmware/arm_scmi/
Draw_mode.c339 struct scmi_xfer_raw_waiter *rw = NULL; in scmi_xfer_raw_waiter_get() local
361 struct scmi_xfer_raw_waiter *rw) in scmi_xfer_raw_waiter_put()
374 struct scmi_xfer_raw_waiter *rw) in scmi_xfer_raw_waiter_enqueue()
396 struct scmi_xfer_raw_waiter *rw = NULL; in scmi_xfer_raw_waiter_dequeue() local
447 struct scmi_xfer_raw_waiter *rw; in scmi_xfer_raw_worker() local
617 struct scmi_xfer_raw_waiter *rw; in scmi_do_xfer_raw_start() local
1063 struct scmi_xfer_raw_waiter *rw; in scmi_xfer_raw_worker_init() local
/linux-6.6.21/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.6.21/Documentation/userspace-api/media/v4l/
Drw.rst4 .. _rw: target
/linux-6.6.21/arch/powerpc/lib/
Dlocks.c46 void splpar_rw_yield(arch_rwlock_t *rw) in splpar_rw_yield()
/linux-6.6.21/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.6.21/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.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dpriv.h13 bool rw; member
/linux-6.6.21/arch/sh/drivers/pci/
Dcommon.c33 #define EARLY_PCI_OP(rw, size, type) \ argument
/linux-6.6.21/drivers/ata/
Dpata_gayle.c44 unsigned int buflen, int rw) in pata_gayle_data_xfer()

1234567