Home
last modified time | relevance | path

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

123

/linux/fs/
H A Dpipe.c308 unsigned int writers = READ_ONCE(pipe->writers); in pipe_readable() local
310 return !pipe_empty(idx.head, idx.tail) || !writers; in pipe_readable()
445 if (!pipe->writers) in anon_pipe_read()
774 if (!pipe->writers && filp->f_pipe != pipe->w_counter) in pipe_poll()
816 pipe->writers--; in pipe_release()
819 if (!pipe->readers != !pipe->writers) { in pipe_release()
983 pipe->readers = pipe->writers = 1; in get_pipe_inode()
1251 if (!is_pipe && !pipe->writers) { in fifo_open()
1274 if (!pipe->writers++) in fifo_open()
1292 pipe->writers++; in fifo_open()
[all …]
H A Dsplice.c526 if (!pipe->writers) in splice_from_pipe_next()
821 if (!pipe->writers) in splice_to_socket()
1661 if (!pipe->writers) in ipipe_prep()
1759 if (pipe_empty(i_head, i_tail) && !ipipe->writers) in splice_pipe_to_pipe()
/linux/Documentation/userspace-api/media/v4l/
H A Dcompat.rst12 writers to port or update their code.
H A Dformat.rst84 If necessary driver writers should publish an example conversion
/linux/drivers/mtd/ubi/
H A Dkapi.c167 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 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/fs/smb/client/
H A Dmisc.c336 if (!cinode->writers) in cifs_get_writer()
338 cinode->writers++; in cifs_get_writer()
341 cinode->writers--; in cifs_get_writer()
342 if (cinode->writers == 0) { in cifs_get_writer()
356 cinode->writers--; in cifs_put_writer()
357 if (cinode->writers == 0) { in cifs_put_writer()
/linux/drivers/media/test-drivers/
H A DKconfig33 DVB device driver writers and developers working on userspace
/linux/drivers/md/dm-vdo/indexer/
H A Dvolume-index.h187 struct buffered_writer **writers,
/linux/Documentation/driver-api/media/
H A Ddtv-common.rst46 Two or more writers must be locked against each other.
H A Ddtv-demux.rst11 demux layer. It is only of interest for Digital TV device driver writers.
/linux/Documentation/timers/
H A Dhpet.rst17 role. Many x86 BIOS writers don't route HPET interrupts at all, which
/linux/include/media/
H A Ddvbdev.h174 int writers; member
/linux/fs/btrfs/
H A Dlocking.h225 atomic_t writers; member
/linux/include/linux/
H A Dpipe_fs_i.h91 * @writers: number of current writers of this pipe
112 unsigned int writers;
94 unsigned int writers; global() member
/linux/Documentation/locking/
H A Dlocktorture.rst35 ownership (writers). The default value is twice the number
42 both readers and writers be the amount of online CPUs.
H A Dlockdep-design.rst404 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/Documentation/driver-api/
H A Dio_ordering.rst6 platforms, driver writers are responsible for ensuring that I/O writes to
H A Dsync_file.rst7 This document serves as a guide for device drivers writers on what the
/linux/Documentation/trace/
H A Dring-buffer-design.rst80 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 Dfiredtv-ci.c225 .writers = 1,
/linux/drivers/media/dvb-core/
H A Ddvbdev.c145 if (!dvbdev->writers) in dvb_generic_open()
147 dvbdev->writers--; in dvb_generic_open()
165 dvbdev->writers++; in dvb_generic_release()
/linux/Documentation/driver-api/serial/
H A Ddriver.rst32 Driver writers are recommended to use this function rather than implementing
/linux/Documentation/scsi/
H A Dscsi-generic.rst15 Thus sg is used for scanners, CD writers and reading audio CDs digitally
/linux/drivers/media/pci/ngene/
H A Dngene-dvb.c110 .writers = 1,

123