Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/yocto/poky/scripts/
H A Doepydevshell-internal.py63 writers = [] variable
65 writers.append(sys.stdout)
66 (ready, _, _) = select.select([pty, sys.stdin], writers , [], 0)
/OK3568_Linux_fs/kernel/fs/
H A Dpipe.c224 unsigned int writers = READ_ONCE(pipe->writers); in pipe_readable() local
226 return !pipe_empty(head, tail) || !writers; in pipe_readable()
340 if (!pipe->writers) in pipe_read()
681 if (!pipe->writers && filp->f_version != pipe->w_counter) in pipe_poll()
723 pipe->writers--; in pipe_release()
726 if (!pipe->readers != !pipe->writers) { in pipe_release()
887 pipe->readers = pipe->writers = 1; in get_pipe_inode()
1142 if (!is_pipe && !pipe->writers) { in fifo_open()
1165 if (!pipe->writers++) in fifo_open()
1183 pipe->writers++; in fifo_open()
[all …]
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dlocking.c601 ret = percpu_counter_init(&lock->writers, 0, GFP_KERNEL); in btrfs_drew_lock_init()
614 percpu_counter_destroy(&lock->writers); in btrfs_drew_lock_destroy()
623 percpu_counter_inc(&lock->writers); in btrfs_drew_try_write_lock()
646 percpu_counter_dec(&lock->writers); in btrfs_drew_write_unlock()
663 percpu_counter_sum(&lock->writers) == 0); in btrfs_drew_read_lock()
H A Dlocking.h136 struct percpu_counter writers; member
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/fs/cifs/
H A Dmisc.c575 if (!cinode->writers) in cifs_get_writer()
577 cinode->writers++; in cifs_get_writer()
580 cinode->writers--; in cifs_get_writer()
581 if (cinode->writers == 0) { in cifs_get_writer()
595 cinode->writers--; in cifs_put_writer()
596 if (cinode->writers == 0) { in cifs_put_writer()
/OK3568_Linux_fs/kernel/drivers/mtd/ubi/
H A 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()
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()
/OK3568_Linux_fs/u-boot/drivers/mtd/ubi/
H A Dkapi.c174 if (vol->exclusive || vol->writers > 0) in ubi_open_volume()
176 vol->writers += 1; in ubi_open_volume()
180 if (vol->exclusive || vol->writers || vol->readers || in ubi_open_volume()
346 vol->writers -= 1; in ubi_close_volume()
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Dcompat.rst11 writers to port or update their code.
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/python/
H A Dpython3-sphinx_4.4.0.bb16 rm ${D}${libdir}/${PYTHON_DIR}/site-packages/sphinx/writers/__pycache__/*latex*
/OK3568_Linux_fs/kernel/drivers/media/test-drivers/
H A DKconfig35 DVB device driver writers and developers working on userspace
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/include/media/
H A Ddvbdev.h168 int writers; member
/OK3568_Linux_fs/kernel/include/linux/
H A Dpipe_fs_i.h69 unsigned int writers; member
/OK3568_Linux_fs/kernel/Documentation/timers/
H A Dhpet.rst17 role. Many x86 BIOS writers don't route HPET interrupts at all, which
/OK3568_Linux_fs/kernel/Documentation/driver-api/media/
H A Ddtv-common.rst55 Two or more writers must be locked against each other.
/OK3568_Linux_fs/kernel/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::
/OK3568_Linux_fs/kernel/drivers/media/dvb-core/
H A Ddvbdev.c149 if (!dvbdev->writers) in dvb_generic_open()
151 dvbdev->writers--; in dvb_generic_open()
170 dvbdev->writers++; in dvb_generic_release()
/OK3568_Linux_fs/kernel/Documentation/driver-api/
H A Dio_ordering.rst6 platforms, driver writers are responsible for ensuring that I/O writes to
/OK3568_Linux_fs/kernel/drivers/media/firewire/
H A Dfiredtv-ci.c225 .writers = 1,
/OK3568_Linux_fs/kernel/include/linux/sunrpc/
H A Dcache.h112 atomic_t writers; /* how many time is /channel open */ member
/OK3568_Linux_fs/kernel/drivers/media/pci/ngene/
H A Dngene-dvb.c110 .writers = 1,
/OK3568_Linux_fs/kernel/net/sunrpc/
H A Dcache.c390 atomic_set(&cd->writers, 0); in sunrpc_init_cache_detail()
1047 atomic_inc(&cd->writers); in cache_open()
1078 atomic_dec(&cd->writers); in cache_release()
1187 if (atomic_read(&detail->writers)) in cache_listeners_exist()

12345