/Linux-v5.4/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-v5.4/fs/ |
D | pipe.c | 335 if (!pipe->writers) in pipe_read() 553 if (!pipe->writers && filp->f_version != pipe->w_counter) in pipe_poll() 594 pipe->writers--; in pipe_release() 596 if (pipe->readers || pipe->writers) { in pipe_release() 744 pipe->readers = pipe->writers = 1; in get_pipe_inode() 947 if (!is_pipe && !pipe->writers) { in fifo_open() 970 if (!pipe->writers++) in fifo_open() 988 pipe->writers++; in fifo_open() 991 if (pipe->readers == 1 || pipe->writers == 1) in fifo_open() 1011 if (!--pipe->writers) in fifo_open()
|
D | coredump.c | 519 pipe->writers--; in wait_for_dump_helpers() 532 pipe->writers++; in wait_for_dump_helpers()
|
/Linux-v5.4/fs/cifs/ |
D | misc.c | 582 if (!cinode->writers) in cifs_get_writer() 584 cinode->writers++; in cifs_get_writer() 587 cinode->writers--; in cifs_get_writer() 588 if (cinode->writers == 0) { in cifs_get_writer() 602 cinode->writers--; in cifs_put_writer() 603 if (cinode->writers == 0) { in cifs_put_writer()
|
/Linux-v5.4/drivers/mtd/ubi/ |
D | kapi.c | 166 if (vol->exclusive || vol->writers > 0) in ubi_open_volume() 168 vol->writers += 1; in ubi_open_volume() 172 if (vol->exclusive || vol->writers || vol->readers || in ubi_open_volume() 339 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-v5.4/Documentation/media/uapi/v4l/ |
D | compat.rst | 18 writers to port or update their code.
|
/Linux-v5.4/include/linux/ |
D | pipe_fs_i.h | 53 unsigned int writers; member
|
/Linux-v5.4/include/media/ |
D | dvbdev.h | 168 int writers; member
|
/Linux-v5.4/Documentation/media/kapi/ |
D | dtv-common.rst | 55 Two or more writers must be locked against each other.
|
D | dtv-demux.rst | 11 demux layer. It is only of interest for Digital TV device driver writers.
|
/Linux-v5.4/Documentation/timers/ |
D | hpet.rst | 17 role. Many x86 BIOS writers don't route HPET interrupts at all, which
|
D | timers-howto.rst | 8 This question is most often faced by driver writers who have to
|
/Linux-v5.4/fs/btrfs/ |
D | disk-io.c | 1109 struct btrfs_subvolume_writers *writers; in btrfs_alloc_subvolume_writers() local 1112 writers = kmalloc(sizeof(*writers), GFP_NOFS); in btrfs_alloc_subvolume_writers() 1113 if (!writers) in btrfs_alloc_subvolume_writers() 1116 ret = percpu_counter_init(&writers->counter, 0, GFP_NOFS); in btrfs_alloc_subvolume_writers() 1118 kfree(writers); in btrfs_alloc_subvolume_writers() 1122 init_waitqueue_head(&writers->wait); in btrfs_alloc_subvolume_writers() 1123 return writers; in btrfs_alloc_subvolume_writers() 1127 btrfs_free_subvolume_writers(struct btrfs_subvolume_writers *writers) in btrfs_free_subvolume_writers() argument 1129 percpu_counter_destroy(&writers->counter); in btrfs_free_subvolume_writers() 1130 kfree(writers); in btrfs_free_subvolume_writers() [all …]
|
/Linux-v5.4/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.
|
/Linux-v5.4/Documentation/ |
D | io_ordering.txt | 6 platforms, driver writers are responsible for ensuring that I/O writes to
|
/Linux-v5.4/drivers/media/dvb-core/ |
D | dvbdev.c | 149 if (!dvbdev->writers) in dvb_generic_open() 151 dvbdev->writers--; in dvb_generic_open() 170 dvbdev->writers++; in dvb_generic_release()
|
/Linux-v5.4/Documentation/trace/ |
D | ring-buffer-design.txt | 63 No two writers can write at the same time (on the same per-cpu buffer), 66 algorithm. The writers act like a "stack". The way interrupts works 455 the readers. But the writers will never take a lock to write to the 678 Only writers move the tail page. This must be done atomically to protect 679 against nested writers. 928 writers means that it only needs to check this after setting the HEAD page.
|
/Linux-v5.4/include/linux/sunrpc/ |
D | cache.h | 111 atomic_t writers; /* how many time is /channel open */ member
|
/Linux-v5.4/drivers/media/firewire/ |
D | firedtv-ci.c | 223 .writers = 1,
|
/Linux-v5.4/drivers/media/pci/ngene/ |
D | ngene-dvb.c | 110 .writers = 1,
|
/Linux-v5.4/Documentation/driver-api/ |
D | sync_file.rst | 7 This document serves as a guide for device drivers writers on what the
|
/Linux-v5.4/net/sunrpc/ |
D | cache.c | 376 atomic_set(&cd->writers, 0); in sunrpc_init_cache_detail() 1038 atomic_inc(&cd->writers); in cache_open() 1069 atomic_dec(&cd->writers); in cache_release() 1178 if (atomic_read(&detail->writers)) in cache_listeners_exist()
|
/Linux-v5.4/Documentation/scsi/ |
D | scsi-generic.txt | 10 Thus sg is used for scanners, CD writers and reading audio CDs digitally
|
/Linux-v5.4/drivers/media/pci/ttpci/ |
D | av7110_ca.c | 355 .writers = 1,
|