| /Linux-v6.6/fs/btrfs/ |
| D | locking.c | 332 atomic_set(&lock->writers, 0); in btrfs_drew_lock_init() 343 atomic_inc(&lock->writers); in btrfs_drew_try_write_lock() 366 atomic_dec(&lock->writers); in btrfs_drew_write_unlock() 382 wait_event(lock->pending_readers, atomic_read(&lock->writers) == 0); in btrfs_drew_read_lock()
|
| D | subpage.c | 175 atomic_set(&ret->writers, 0); in btrfs_alloc_subpage() 304 ret = atomic_add_return(nbits, &subpage->writers); in btrfs_subpage_start_writer() 323 if (atomic_read(&subpage->writers) == 0) in btrfs_subpage_end_and_test_writer() 326 ASSERT(atomic_read(&subpage->writers) >= nbits); in btrfs_subpage_end_and_test_writer() 327 return atomic_sub_and_test(nbits, &subpage->writers); in btrfs_subpage_end_and_test_writer() 707 if (atomic_read(&subpage->writers) == 0) in btrfs_page_unlock_writer()
|
| D | locking.h | 198 atomic_t writers; member
|
| D | subpage.h | 66 atomic_t writers; member
|
| /Linux-v6.6/fs/ |
| D | pipe.c | 225 unsigned int writers = READ_ONCE(pipe->writers); in pipe_readable() local 227 return !pipe_empty(head, tail) || !writers; in pipe_readable() 341 if (!pipe->writers) in pipe_read() 682 if (!pipe->writers && filp->f_version != pipe->w_counter) in pipe_poll() 724 pipe->writers--; in pipe_release() 727 if (!pipe->readers != !pipe->writers) { in pipe_release() 888 pipe->readers = pipe->writers = 1; in get_pipe_inode() 1146 if (!is_pipe && !pipe->writers) { in fifo_open() 1169 if (!pipe->writers++) in fifo_open() 1187 pipe->writers++; in fifo_open() [all …]
|
| /Linux-v6.6/Documentation/driver-api/dmaengine/ |
| D | index.rst | 12 driver writers. 22 This book is a guide to device driver writers on how to use the Slave-DMA
|
| /Linux-v6.6/Documentation/userspace-api/media/v4l/ |
| D | compat.rst | 11 writers to port or update their code.
|
| /Linux-v6.6/drivers/mtd/ubi/ |
| 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() 340 vol->writers -= 1; in ubi_close_volume()
|
| 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-v6.6/fs/smb/client/ |
| D | misc.c | 584 if (!cinode->writers) in cifs_get_writer() 586 cinode->writers++; in cifs_get_writer() 589 cinode->writers--; in cifs_get_writer() 590 if (cinode->writers == 0) { in cifs_get_writer() 604 cinode->writers--; in cifs_put_writer() 605 if (cinode->writers == 0) { in cifs_put_writer()
|
| /Linux-v6.6/drivers/media/test-drivers/ |
| D | Kconfig | 34 DVB device driver writers and developers working on userspace
|
| /Linux-v6.6/Documentation/driver-api/media/ |
| D | dtv-common.rst | 46 Two or more writers must be locked against each other.
|
| /Linux-v6.6/Documentation/timers/ |
| D | hpet.rst | 17 role. Many x86 BIOS writers don't route HPET interrupts at all, which
|
| /Linux-v6.6/include/linux/ |
| D | pipe_fs_i.h | 70 unsigned int writers; member
|
| /Linux-v6.6/include/media/ |
| D | dvbdev.h | 174 int writers; member
|
| /Linux-v6.6/Documentation/locking/ |
| D | locktorture.rst | 35 ownership (writers). The default value is twice the number 42 both readers and writers be the amount of online CPUs.
|
| 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-v6.6/Documentation/driver-api/ |
| D | io_ordering.rst | 6 platforms, driver writers are responsible for ensuring that I/O writes to
|
| /Linux-v6.6/Documentation/trace/ |
| 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-v6.6/drivers/media/firewire/ |
| D | firedtv-ci.c | 225 .writers = 1,
|
| /Linux-v6.6/drivers/media/dvb-core/ |
| D | dvbdev.c | 138 if (!dvbdev->writers) in dvb_generic_open() 140 dvbdev->writers--; in dvb_generic_open() 158 dvbdev->writers++; in dvb_generic_release()
|
| /Linux-v6.6/include/linux/sunrpc/ |
| D | cache.h | 117 atomic_t writers; /* how many time is /channel open */ member
|
| /Linux-v6.6/Documentation/driver-api/serial/ |
| D | driver.rst | 33 Driver writers are recommended to use this function rather than implementing
|
| /Linux-v6.6/Documentation/scsi/ |
| D | scsi-generic.rst | 15 Thus sg is used for scanners, CD writers and reading audio CDs digitally
|
| /Linux-v6.6/drivers/media/pci/ngene/ |
| D | ngene-dvb.c | 110 .writers = 1,
|