Home
last modified time | relevance | path

Searched refs:writer (Results 1 – 25 of 51) sorted by relevance

123

/linux/Documentation/trace/
H A Dring-buffer-design.rst28 - the task that writes into the ring buffer (same as writer)
30 writer
81 but a writer may interrupt another writer, but it must finish writing
82 before the previous writer may continue. This is very important to the
94 This is very much like a writer being preempted by an interrupt and
99 cannot preempt/interrupt a writer, but it may read/consume from the
100 buffer at the same time as a writer is writing, but the reader must be
102 and can be preempted by a writer.
104 A writer can preempt a reader, but a reader cannot preempt a writer.
106 as a writer.
[all …]
/linux/rust/kernel/debugfs/
H A Dtraits.rs65 /// Writes the binary form of `self` into `writer`. in write_to_slice()
69 /// On success, returns the number of bytes written in to `writer`.
72 writer: &mut UserSliceWriter, in write_to_slice()
81 writer: &mut UserSliceWriter,
84 writer.write_slice_file(self.as_bytes(), offset)
92 writer: &mut UserSliceWriter, in write_to_slice()
97 guard.write_to_slice(writer, offset)
109 writer: &mut UserSliceWriter, in write_to_slice()
112 self.deref().write_to_slice(writer, offset)
124 writer in write_to_slice()
[all...]
H A Dfile_ops.rs272 let mut writer = UserSlice::new(UserPtr::from_ptr(buf.cast()), count).writer(); in blob_read()
275 let written = this.write_to_slice(&mut writer, pos)?; in blob_read()
266 let mut writer = UserSlice::new(UserPtr::from_ptr(buf.cast()), count).writer(); blob_read() localVariable
/linux/tools/lib/python/
H A Djobserver.py20 os.write(writer, b"+") # os.write(writer, claim)
60 self.writer = None
95 self.writer = os.open(path, os.O_WRONLY)
109 self.writer = int(split_fds[1])
150 os.write(self.writer, self.jobs)
169 os.write(self.writer, self.jobs)
/linux/tools/testing/radix-tree/
H A Dregression4.c60 pthread_t reader, writer; in regression4_test() local
68 pthread_create(&writer, NULL, writer_fn, NULL)) { in regression4_test()
73 if (pthread_join(reader, NULL) || pthread_join(writer, NULL)) { in regression4_test()
/linux/tools/perf/util/
H A Ddata-convert-bt.c14 #include <babeltrace2-ctf-writer/writer.h>
15 #include <babeltrace2-ctf-writer/clock.h>
16 #include <babeltrace2-ctf-writer/stream.h>
17 #include <babeltrace2-ctf-writer/event.h>
18 #include <babeltrace2-ctf-writer/event-types.h>
19 #include <babeltrace2-ctf-writer/event-fields.h>
20 #include <babeltrace2-ctf-writer/utils.h>
64 /* writer primitives */
65 struct bt_ctf_writer *writer;
66 struct bt_ctf_writer *writer; global() member
94 struct ctf_writer writer; global() member
1388 struct bt_ctf_writer *writer = cw->writer; ctf_writer__setup_env() local
1572 struct bt_ctf_writer *writer; ctf_writer__init() local
[all...]
/linux/lib/
H A Ddecompress_unlzma.c279 struct writer { struct
294 static inline size_t INIT get_pos(struct writer *wr) in get_pos() argument
300 static inline uint8_t INIT peek_old_byte(struct writer *wr, in peek_old_byte()
318 static inline int INIT write_byte(struct writer *wr, uint8_t byte) in write_byte()
332 static inline int INIT copy_byte(struct writer *wr, uint32_t offs) in copy_byte()
337 static inline int INIT copy_bytes(struct writer *wr, in copy_bytes()
349 static inline int INIT process_bit0(struct writer *wr, struct rc *rc, in process_bit0()
393 static inline int INIT process_bit1(struct writer *wr, struct rc *rc, in process_bit1()
555 struct writer wr; in unlzma()
/linux/tools/testing/selftests/powerpc/dscr/
H A Ddscr_default_test.c41 pthread_t writer; in dscr_default_lockstep_test() local
52 FAIL_IF(pthread_create(&writer, NULL, dscr_default_lockstep_writer, (void *)rw_semaphores)); in dscr_default_lockstep_test()
65 FAIL_IF(pthread_join(writer, NULL)); in dscr_default_lockstep_test()
/linux/drivers/md/dm-vdo/indexer/
H A Dio-factory.h59 int __must_check uds_write_to_buffered_writer(struct buffered_writer *writer,
62 int __must_check uds_flush_buffered_writer(struct buffered_writer *writer);
H A Dindex-page-map.h34 struct buffered_writer *writer);
/linux/drivers/char/
H A Dapm-emulation.c107 unsigned int writer: 1; member
253 if (!as->suser || !as->writer) in apm_ioctl()
356 as->writer = (filp->f_mode & FMODE_WRITE) == FMODE_WRITE; in apm_open()
526 as->writer && as->suser) { in apm_suspend_notifier()
/linux/Documentation/locking/
H A Dspinlocks.rst52 Lesson 2: reader-writer spinlocks.
56 to mostly read from the shared variables, the reader-writer locks
61 NOTE! reader-writer locks require more atomic memory operations than
91 NOTE! We are working hard to remove reader-writer spinlocks in most
H A Dlockdep-design.rst436 read_lock() first. And when task B tries to acquire writer on X, it will block
437 and become a waiter for writer on X. Now if read_lock_2() is recursive readers,
438 task A will make progress, because writer waiters don't block recursive readers,
440 it will get blocked by writer waiter B, and cause a self deadlock.
451 writer waiters)
535 exclusive writer to recursive reader dependency, "X -(ER)-> Y" means
536 X -> Y and X is a writer and Y is a recursive reader.
539 exclusive writer to non-recursive locker dependency, "X -(EN)-> Y" means
540 X -> Y and X is a writer and Y is either a writer or non-recursive reader.
548 X -> Y and X is a reader (recursive or not) and Y is either a writer or
[all …]
H A Dlocktorture.rst40 ownership (readers). The default is the same amount of writer
137 (B): Number of writer lock acquisitions. If dealing with a read/write
/linux/drivers/tty/hvc/
H A Dhvsi.c60 struct delayed_work writer; member
752 cancel_delayed_work_sync(&hp->writer); in hvsi_flush_output()
852 container_of(work, struct hvsi_struct, writer.work); in hvsi_write_worker()
872 schedule_delayed_work(&hp->writer, HZ); in hvsi_write_worker()
878 schedule_delayed_work(&hp->writer, 10); in hvsi_write_worker()
948 schedule_delayed_work(&hp->writer, 10); in hvsi_write()
1199 INIT_DELAYED_WORK(&hp->writer, hvsi_write_worker); in hvsi_console_init()
/linux/Documentation/RCU/
H A Drculist_nulls.rst46 * Because a writer could delete object, and a writer could
147 a race (some writer did a delete and/or a move of an object
/linux/rust/kernel/
H A Ddma.rs956 writer: &mut UserSliceWriter,
973 let count = (self.size() - offset_val).min(writer.len()); in drop()
975 writer.write_dma(self, offset_val, count)?; in drop()
H A Duaccess.rs187 pub fn writer(self) -> UserSliceWriter { in writer() method
/linux/Documentation/driver-api/media/
H A Ddtv-common.rst41 2) If there is exactly one reader and one writer, there is no need
/linux/arch/x86/kernel/
H A Dapm_32.c329 unsigned int writer: 1; member
1169 if (!as->suser || !as->writer) in queue_event()
1497 if (!as->suser || !as->writer) in do_ioctl()
1595 as->writer = (filp->f_mode & FMODE_WRITE) == FMODE_WRITE; in do_open()
/linux/Documentation/core-api/
H A Dlocal_ops.rst83 synchronization is done by the writer CPU, an outdated copy of the
130 respectively on the writer and the reader CPUs. It would be the case if you use
/linux/Documentation/userspace-api/media/v4l/
H A Dselection-api-configuration.rst46 driver writer considers the complete picture. Drivers shall set the
117 the driver writer considers the complete picture. It is recommended for
H A Dvidioc-g-parm.rst238 driver writer may achieve that; it will depend on the hardware and
239 the ingenuity of the driver writer. High quality mode is a
H A Dvidioc-cropcap.rst66 and height are defined in pixels, the driver writer is free to
/linux/arch/powerpc/boot/dts/
H A Dmicrowatt.dts242 reg-names = "phy", "core", "reader", "writer", "irq";

123