Home
last modified time | relevance | path

Searched refs:writers (Results 1 – 25 of 80) sorted by relevance

1234

/Linux-v5.4/Documentation/driver-api/dmaengine/
Dindex.rst12 driver writers.
22 This book is a guide to device driver writers on how to use the Slave-DMA
/Linux-v5.4/fs/
Dpipe.c335 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()
Dcoredump.c519 pipe->writers--; in wait_for_dump_helpers()
532 pipe->writers++; in wait_for_dump_helpers()
/Linux-v5.4/fs/cifs/
Dmisc.c582 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/
Dkapi.c166 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()
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()
82 vol->writers = 1; in revoke_exclusive()
/Linux-v5.4/Documentation/media/uapi/v4l/
Dcompat.rst18 writers to port or update their code.
/Linux-v5.4/include/linux/
Dpipe_fs_i.h53 unsigned int writers; member
/Linux-v5.4/include/media/
Ddvbdev.h168 int writers; member
/Linux-v5.4/Documentation/media/kapi/
Ddtv-common.rst55 Two or more writers must be locked against each other.
Ddtv-demux.rst11 demux layer. It is only of interest for Digital TV device driver writers.
/Linux-v5.4/Documentation/timers/
Dhpet.rst17 role. Many x86 BIOS writers don't route HPET interrupts at all, which
Dtimers-howto.rst8 This question is most often faced by driver writers who have to
/Linux-v5.4/fs/btrfs/
Ddisk-io.c1109 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/
Dlocktorture.rst35 ownership (writers). The default value is twice the number
42 both readers and writers be the amount of online CPUs.
/Linux-v5.4/Documentation/
Dio_ordering.txt6 platforms, driver writers are responsible for ensuring that I/O writes to
/Linux-v5.4/drivers/media/dvb-core/
Ddvbdev.c149 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/
Dring-buffer-design.txt63 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/
Dcache.h111 atomic_t writers; /* how many time is /channel open */ member
/Linux-v5.4/drivers/media/firewire/
Dfiredtv-ci.c223 .writers = 1,
/Linux-v5.4/drivers/media/pci/ngene/
Dngene-dvb.c110 .writers = 1,
/Linux-v5.4/Documentation/driver-api/
Dsync_file.rst7 This document serves as a guide for device drivers writers on what the
/Linux-v5.4/net/sunrpc/
Dcache.c376 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/
Dscsi-generic.txt10 Thus sg is used for scanners, CD writers and reading audio CDs digitally
/Linux-v5.4/drivers/media/pci/ttpci/
Dav7110_ca.c355 .writers = 1,

1234