Home
last modified time | relevance | path

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

1234

/openbmc/openbmc/poky/scripts/
H A Doepydevshell-internal.py65 writers = []
67 writers.append(sys.stdout)
68 (ready, _, _) = select.select([pty, sys.stdin], writers , [], 0)
/openbmc/linux/fs/btrfs/
H A Dlocking.c332 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()
H A Dsubpage.c175 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()
H A Dlocking.h198 atomic_t writers; member
H A Dsubpage.h66 atomic_t writers; member
/openbmc/linux/fs/
H A Dpipe.c225 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()
687 if (!pipe->writers && filp->f_version != pipe->w_counter) in pipe_poll()
729 pipe->writers--; in pipe_release()
732 if (!pipe->readers != !pipe->writers) { in pipe_release()
893 pipe->readers = pipe->writers = 1; in get_pipe_inode()
1151 if (!is_pipe && !pipe->writers) { in fifo_open()
1174 if (!pipe->writers++) in fifo_open()
1192 pipe->writers++; in fifo_open()
[all …]
/openbmc/linux/Documentation/driver-api/dmaengine/
H A Dindex.rst12 driver writers.
22 This book is a guide to device driver writers on how to use the Slave-DMA
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dcompat.rst11 writers to port or update their code.
/openbmc/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()
340 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()
/openbmc/u-boot/drivers/mtd/ubi/
H A Dkapi.c173 if (vol->exclusive || vol->writers > 0) in ubi_open_volume()
175 vol->writers += 1; in ubi_open_volume()
179 if (vol->exclusive || vol->writers || vol->readers || in ubi_open_volume()
345 vol->writers -= 1; in ubi_close_volume()
/openbmc/openbmc/poky/meta/recipes-devtools/python/
H A Dpython3-sphinx_8.1.3.bb13 rm ${D}${libdir}/${PYTHON_DIR}/site-packages/sphinx/writers/__pycache__/*latex*
/openbmc/linux/fs/smb/client/
H A Dmisc.c590 if (!cinode->writers) in cifs_get_writer()
592 cinode->writers++; in cifs_get_writer()
595 cinode->writers--; in cifs_get_writer()
596 if (cinode->writers == 0) { in cifs_get_writer()
610 cinode->writers--; in cifs_put_writer()
611 if (cinode->writers == 0) { in cifs_put_writer()
/openbmc/linux/drivers/media/test-drivers/
H A DKconfig34 DVB device driver writers and developers working on userspace
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-daemon/
H A D0001-Use-version-from-packaging-module-instead-of-setupto.patch23 @@ -23,7 +23,7 @@ import docutils.writers
/openbmc/linux/Documentation/driver-api/media/
H A Ddtv-common.rst46 Two or more writers must be locked against each other.
/openbmc/linux/Documentation/timers/
H A Dhpet.rst17 role. Many x86 BIOS writers don't route HPET interrupts at all, which
/openbmc/linux/include/media/
H A Ddvbdev.h174 int writers; member
/openbmc/linux/include/linux/
H A Dpipe_fs_i.h70 unsigned int writers; member
/openbmc/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
/openbmc/linux/Documentation/driver-api/
H A Dio_ordering.rst6 platforms, driver writers are responsible for ensuring that I/O writes to
/openbmc/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::
/openbmc/linux/drivers/media/firewire/
H A Dfiredtv-ci.c225 .writers = 1,
/openbmc/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()

1234