Home
last modified time | relevance | path

Searched refs:readers (Results 1 – 25 of 69) sorted by relevance

123

/Linux-v5.4/drivers/misc/cardreader/
DKconfig9 Alcor Micro card readers support access to many types of memory cards,
20 Realtek card readers support access to many types of memory cards,
29 Select this option to get support for Realtek USB 2.0 card readers
/Linux-v5.4/Documentation/RCU/
Drcu.rst10 must be long enough that any readers accessing the item being deleted have
22 The advantage of RCU's two-part approach is that RCU readers need
27 in read-mostly situations. The fact that RCU readers need not
31 if the RCU readers give no indication when they are done?
33 Just as with spinlocks, RCU readers are not permitted to
43 same effect, but require that the readers manipulate CPU-local
DwhatisRCU.txt37 Section 1, though most readers will profit by reading this section at
58 new versions of these data items), and can run concurrently with readers.
60 readers is the semantics of modern CPUs guarantee that readers will see
64 removal phase. Because reclaiming data items can disrupt any readers
66 not start until readers no longer hold references to those data items.
70 reclamation phase until all readers active during the removal phase have
72 callback that is invoked after they finish. Only readers that are active
80 readers cannot gain a reference to it.
82 b. Wait for all previous readers to complete their RCU read-side
85 c. At this point, there cannot be any readers who hold references
[all …]
Dchecklist.txt26 One final exception is where RCU readers are used to prevent
36 RCU does allow -readers- to run (almost) naked, but -writers- must
76 The whole point of RCU is to permit readers to run without
77 any locks or atomic operations. This means that readers will
90 locks (that are acquired by both readers and writers)
92 the readers refrain from accessing can be guarded by
97 c. Make updates appear atomic to readers. For example,
101 appear to be atomic to RCU readers, nor will sequences
107 readers see valid data at all phases of the update.
150 is common to readers and updaters. However, lockdep
[all …]
Dlockdep.txt37 invoked by both RCU readers and updaters.
41 is invoked by both RCU-bh readers and updaters.
45 is invoked by both RCU-sched readers and updaters.
49 is invoked by both SRCU readers and updaters.
Drcubarrier.txt7 very low-overhead readers that are immune to deadlock, priority inversion,
13 readers, so that RCU updates to shared data must be undertaken quite
15 pre-existing readers have finished. These old versions are needed because
16 such readers might hold a reference to them. RCU updates can therefore be
19 How can an RCU writer possibly determine when all readers are finished,
20 given that readers might well leave absolutely no trace of their
22 pre-existing readers have completed. An updater wishing to delete an
Dtorture.txt40 to readers.
43 has changed the structure visible to readers.
85 o "Reader Pipe": Histogram of "ages" of structures seen by readers.
98 by readers, but in terms of counter flips (or batches) rather
/Linux-v5.4/fs/
Dpipe.c394 if (!pipe->readers) { in pipe_write()
428 if (!pipe->readers) { in pipe_write()
563 if (!pipe->readers) in pipe_poll()
592 pipe->readers--; in pipe_release()
596 if (pipe->readers || pipe->writers) { in pipe_release()
744 pipe->readers = pipe->writers = 1; in get_pipe_inode()
944 if (pipe->readers++ == 0) in fifo_open()
966 if (!is_pipe && (filp->f_flags & O_NONBLOCK) && !pipe->readers) in fifo_open()
973 if (!is_pipe && !pipe->readers) { in fifo_open()
987 pipe->readers++; in fifo_open()
[all …]
Dsplice.c193 if (unlikely(!pipe->readers)) { in splice_to_pipe()
233 if (unlikely(!pipe->readers)) { in add_to_pipe()
926 pipe->readers = 1; in splice_direct_to_actor()
1074 if (unlikely(!pipe->readers)) { in wait_for_space()
1493 if (!pipe->readers) { in opipe_prep()
1544 if (!opipe->readers) { in splice_pipe_to_pipe()
1654 if (!opipe->readers) { in link_pipe()
Dcoredump.c518 pipe->readers++; in wait_for_dump_helpers()
528 wait_event_interruptible(pipe->wait, pipe->readers == 1); in wait_for_dump_helpers()
531 pipe->readers--; in wait_for_dump_helpers()
/Linux-v5.4/drivers/misc/ibmasm/
Devent.c30 list_for_each_entry(reader, &sp->event_buffer->readers, node) in wake_up_event_readers()
123 list_add(&reader->node, &sp->event_buffer->readers); in ibmasm_event_reader_register()
153 INIT_LIST_HEAD(&buffer->readers); in ibmasm_event_buffer_init()
Dibmasm.h117 struct list_head readers; member
/Linux-v5.4/drivers/soc/aspeed/
Daspeed-p2a-ctrl.c65 u32 readers; member
192 ctrl->readers += 1; in aspeed_p2a_ioctl()
275 priv->parent->readers -= priv->read; in aspeed_p2a_release()
299 if (!open_regions && priv->parent->readers == 0) in aspeed_p2a_release()
/Linux-v5.4/drivers/hid/
Dhid-roccat.c47 struct list_head readers; member
191 list_add_tail(&reader->node, &device->readers); in roccat_open()
268 list_for_each_entry(reader, &device->readers, node) { in roccat_report_event()
335 INIT_LIST_HEAD(&device->readers); in roccat_connect()
/Linux-v5.4/include/linux/
Dpipe_fs_i.h52 unsigned int readers; member
/Linux-v5.4/drivers/mtd/ubi/
Dkapi.c162 vol->readers += 1; in ubi_open_volume()
172 if (vol->exclusive || vol->writers || vol->readers || in ubi_open_volume()
336 vol->readers -= 1; in ubi_close_volume()
Dcdev.c50 users = vol->readers + vol->writers + vol->exclusive + vol->metaonly; in get_exclusive()
56 vol->readers = vol->writers = vol->metaonly = 0; in get_exclusive()
76 ubi_assert(vol->readers == 0 && vol->writers == 0 && vol->metaonly == 0); in revoke_exclusive()
80 vol->readers = 1; in revoke_exclusive()
/Linux-v5.4/drivers/usb/storage/
DKconfig18 and card readers.
39 for Realtek RTS51xx USB card readers.
51 Support for certain Datafab CompactFlash readers.
/Linux-v5.4/include/media/
Ddvbdev.h167 int readers; member
/Linux-v5.4/Documentation/media/kapi/
Ddtv-common.rst52 Two or more readers must be locked against each other.
/Linux-v5.4/net/sunrpc/
Dcache.c783 int readers; member
833 rq->readers++; in cache_read()
867 rq->readers--; in cache_read()
868 if (rq->readers == 0 && in cache_read()
1056 ->readers--; in cache_release()
1094 if (cr->readers != 0) in cache_dequeue()
1230 crq->readers = 0; in sunrpc_cache_pipe_upcall()
/Linux-v5.4/Documentation/ABI/testing/
Ddev-kmsg29 persistent state; many readers can concurrently open the device
30 and read from it, without affecting other readers.
/Linux-v5.4/kernel/locking/
Drwsem.c778 int readers = count >> RWSEM_READER_SHIFT; in rwsem_rspin_threshold() local
781 if (readers > 30) in rwsem_rspin_threshold()
782 readers = 30; in rwsem_rspin_threshold()
783 delta = (20 + readers) * NSEC_PER_USEC / 2; in rwsem_rspin_threshold()
/Linux-v5.4/Documentation/admin-guide/
Dbraille-console.rst5 readers can start), you first need to compile the support for the usual serial
/Linux-v5.4/Documentation/locking/
Dlocktorture.rst40 ownership (readers). The default is the same amount of writer
42 both readers and writers be the amount of online CPUs.

123