| /linux/fs/btrfs/ |
| H A D | locking.c | 317 atomic_set(&lock->writers, 0); in btrfs_drew_lock_init() 328 atomic_inc(&lock->writers); in btrfs_drew_try_write_lock() 355 if (atomic_dec_and_test(&lock->writers)) in btrfs_drew_write_unlock() 371 wait_event(lock->pending_readers, atomic_read(&lock->writers) == 0); in btrfs_drew_read_lock()
|
| H A D | locking.h | 225 atomic_t writers; member
|
| /linux/fs/ |
| H A D | pipe.c | 233 unsigned int writers = READ_ONCE(pipe->writers); in pipe_readable() local 235 return !pipe_empty(idx.head, idx.tail) || !writers; in pipe_readable() 370 if (!pipe->writers) in anon_pipe_read() 691 if (!pipe->writers && filp->f_pipe != pipe->w_counter) in pipe_poll() 733 pipe->writers--; in pipe_release() 736 if (!pipe->readers != !pipe->writers) { in pipe_release() 902 pipe->readers = pipe->writers = 1; in get_pipe_inode() 1170 if (!is_pipe && !pipe->writers) { in fifo_open() 1193 if (!pipe->writers++) in fifo_open() 1211 pipe->writers++; in fifo_open() [all …]
|
| H A D | splice.c | 527 if (!pipe->writers) in splice_from_pipe_next() 823 if (!pipe->writers) in splice_to_socket() 1663 if (!pipe->writers) in ipipe_prep() 1761 if (pipe_empty(i_head, i_tail) && !ipipe->writers) in splice_pipe_to_pipe()
|
| /linux/Documentation/driver-api/dmaengine/ |
| H A D | index.rst | 12 driver writers. 22 This book is a guide to device driver writers on how to use the Slave-DMA
|
| /linux/drivers/md/dm-vdo/indexer/ |
| H A D | index-layout.c | 1050 struct buffered_writer *writers[MAX_ZONES]; in uds_save_index_state() local 1062 result = open_region_writer(layout, &isl->open_chapter, &writers[0]); in uds_save_index_state() 1068 result = uds_save_open_chapter(index, writers[0]); in uds_save_index_state() 1069 uds_free_buffered_writer(writers[0]); in uds_save_index_state() 1077 &writers[zone]); in uds_save_index_state() 1080 uds_free_buffered_writer(writers[zone - 1]); in uds_save_index_state() 1087 result = uds_save_volume_index(index->volume_index, writers, index->zone_count); in uds_save_index_state() 1089 uds_free_buffered_writer(writers[zone]); in uds_save_index_state() 1095 result = open_region_writer(layout, &isl->index_page_map, &writers[0]); in uds_save_index_state() 1101 result = uds_write_index_page_map(index->volume->index_page_map, writers[0]); in uds_save_index_state() [all …]
|
| H A D | volume-index.h | 187 struct buffered_writer **writers,
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | compat.rst | 12 writers to port or update their code.
|
| /linux/fs/smb/client/ |
| H A D | misc.c | 617 if (!cinode->writers) in cifs_get_writer() 619 cinode->writers++; in cifs_get_writer() 622 cinode->writers--; in cifs_get_writer() 623 if (cinode->writers == 0) { in cifs_get_writer() 637 cinode->writers--; in cifs_put_writer() 638 if (cinode->writers == 0) { in cifs_put_writer()
|
| /linux/drivers/media/test-drivers/ |
| H A D | Kconfig | 33 DVB device driver writers and developers working on userspace
|
| /linux/Documentation/driver-api/media/ |
| H A D | dtv-common.rst | 46 Two or more writers must be locked against each other.
|
| /linux/Documentation/timers/ |
| H A D | hpet.rst | 17 role. Many x86 BIOS writers don't route HPET interrupts at all, which
|
| /linux/drivers/mtd/ubi/ |
| 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/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/include/linux/ |
| H A D | pipe_fs_i.h | 94 unsigned int 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/drivers/media/firewire/ |
| H A D | firedtv-ci.c | 225 .writers = 1,
|
| /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 | 405 atomic_set(&cd->writers, 0); in sunrpc_init_cache_detail() 1053 atomic_inc(&cd->writers); in cache_open() 1084 atomic_dec(&cd->writers); in cache_release() 1192 if (atomic_read(&detail->writers)) in cache_listeners_exist()
|