| /linux/fs/ |
| H A D | pipe.c | 73 * FIFOs and Pipes now generate SIGIO for both readers and writers. 265 unsigned int writers = READ_ONCE(pipe->writers); 267 return !pipe_empty(idx.head, idx.tail) || !writers; 317 * We only wake up writers if the pipe was full when we started reading in pipe_update_tail() 320 * But when we do wake up writers, we do so using a sync wakeup in pipe_update_tail() 402 if (!pipe->writers) in anon_pipe_read() 731 if (!pipe->writers && filp->f_pipe != pipe->w_counter) in pipe_ioctl() 773 pipe->writers--; in pipe_poll() 776 if (!pipe->readers != !pipe->writers) { in pipe_poll() 308 unsigned int writers = READ_ONCE(pipe->writers); pipe_readable() local [all...] |
| H A D | splice.c | 450 if (!pipe->writers) in splice_from_pipe_feed() 497 * This function will wake up pipe writers if necessary. It should in eat_empty_buffer() 748 if (!pipe->writers) in iter_file_splice_write() 1610 if (!pipe->writers) in SYSCALL_DEFINE4() 1708 if (pipe_empty(i_head, i_tail) && !ipipe->writers) in opipe_prep() 1834 if (pipe_empty(i_head, i_tail) && !ipipe->writers) in splice_pipe_to_pipe()
|
| /linux/drivers/mtd/ubi/ |
| H A D | kapi.c | 167 if (vol->exclusive || vol->writers > 0) in ubi_open_volume() 169 vol->writers += 1; in ubi_open_volume() 173 if (vol->exclusive || vol->writers || vol->readers || in ubi_open_volume() 360 vol->writers -= 1; in ubi_close_volume()
|
| H A D | cdev.c | 50 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() 82 vol->writers = 1; in revoke_exclusive()
|
| /linux/fs/smb/client/ |
| H A D | misc.c | 334 if (!cinode->writers) in cifs_get_writer() 336 cinode->writers++; in cifs_get_writer() 339 cinode->writers--; in cifs_get_writer() 340 if (cinode->writers == 0) { in cifs_get_writer() 354 cinode->writers--; in cifs_put_writer() 355 if (cinode->writers == 0) { in cifs_put_writer()
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | compat.rst | 12 writers to port or update their code.
|
| /linux/drivers/media/test-drivers/ |
| H A D | Kconfig | 33 DVB device driver writers and developers working on userspace
|
| /linux/drivers/md/dm-vdo/indexer/ |
| H A D | volume-index.h | 187 struct buffered_writer **writers,
|
| /linux/Documentation/driver-api/media/ |
| H A D | dtv-common.rst | 46 Two or more writers must be locked against each other.
|
| H A D | dtv-demux.rst | 11 demux layer. It is only of interest for Digital TV device driver writers.
|
| /linux/include/media/ |
| H A D | dvbdev.h | 174 int writers; member
|
| /linux/Documentation/locking/ |
| H A D | locktorture.rst | 35 ownership (writers). The default value is twice the number 42 both readers and writers be the amount of online CPUs.
|
| H A D | lockdep-design.rst | 404 There are three types of lockers: writers (i.e. exclusive lockers, like 409 W or E: stands for writers (exclusive lockers). 413 N: stands for writers and non-recursive readers, as both are not recursive. 442 Block conditions on readers/writers of the same lock instance: 446 1. Writers block other writers. 447 2. Readers block writers. 465 (W: writers, r: non-recursive readers, R: recursive readers) 528 we can combine writers and non-recursive readers for L2 (as they get blocked by the
|
| /linux/fs/btrfs/ |
| H A D | locking.h | 225 atomic_t writers; member
|
| /linux/Documentation/driver-api/ |
| H A D | io_ordering.rst | 6 platforms, driver writers are responsible for ensuring that I/O writes to
|
| H A D | sync_file.rst | 7 This document serves as a guide for device drivers writers on what the
|
| /linux/Documentation/trace/ |
| H A D | ring-buffer-design.rst | 80 No two writers can write at the same time (on the same per-cpu buffer), 83 algorithm. The writers act like a "stack". The way interrupts works 484 the readers. But the writers will never take a lock to write to the 707 Only writers move the tail page. This must be done atomically to protect 708 against nested writers:: 957 writers means that it only needs to check this after setting the HEAD page::
|
| /linux/Documentation/timers/ |
| H A D | hpet.rst | 17 role. Many x86 BIOS writers don't route HPET interrupts at all, which
|
| /linux/drivers/media/firewire/ |
| H A D | firedtv-ci.c | 225 .writers = 1,
|
| /linux/drivers/media/dvb-core/ |
| H A D | dvbdev.c | 145 if (!dvbdev->writers) in dvb_generic_open() 147 dvbdev->writers--; in dvb_generic_open() 165 dvbdev->writers++; in dvb_generic_release()
|
| /linux/tools/testing/selftests/net/af_unix/ |
| H A D | scm_pidfd.c | 576 /* Used by writers to signal they've written, so we can sequence multiple writers */ 656 pthread_t writers[MAX_WRITERS]; in thread_client() local 666 if (pthread_create(&writers[i], NULL, sender, &fd)) in thread_client() 677 if (pthread_join(writers[i], &ret) || ret) in thread_client() 836 /* release the writers */ in pidfd_flow()
|
| /linux/Documentation/driver-api/serial/ |
| H A D | driver.rst | 32 Driver writers are recommended to use this function rather than implementing
|
| /linux/Documentation/scsi/ |
| H A D | scsi-generic.rst | 15 Thus sg is used for scanners, CD writers and reading audio CDs digitally
|
| /linux/drivers/media/pci/ngene/ |
| H A D | ngene-dvb.c | 110 .writers = 1,
|
| /linux/net/sunrpc/ |
| H A D | cache.c | 412 atomic_set(&cd->writers, 0); in sunrpc_init_cache_detail() 1036 atomic_inc(&cd->writers); in cache_open() 1078 atomic_dec(&cd->writers); in cache_release() 1183 if (atomic_read(&detail->writers)) in cache_listeners_exist()
|