Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/fs/btrfs/
A Dlocking.c332 ret = percpu_counter_init(&lock->writers, 0, GFP_KERNEL); in btrfs_drew_lock_init()
345 percpu_counter_destroy(&lock->writers); in btrfs_drew_lock_destroy()
354 percpu_counter_inc(&lock->writers); in btrfs_drew_try_write_lock()
377 percpu_counter_dec(&lock->writers); in btrfs_drew_write_unlock()
394 percpu_counter_sum(&lock->writers) == 0); in btrfs_drew_read_lock()
A Dsubpage.c178 atomic_set(&ret->writers, 0); in btrfs_alloc_subpage()
307 ret = atomic_add_return(nbits, &subpage->writers); in btrfs_subpage_start_writer()
326 if (atomic_read(&subpage->writers) == 0) in btrfs_subpage_end_and_test_writer()
329 ASSERT(atomic_read(&subpage->writers) >= nbits); in btrfs_subpage_end_and_test_writer()
330 return atomic_sub_and_test(nbits, &subpage->writers); in btrfs_subpage_end_and_test_writer()
763 if (atomic_read(&subpage->writers) == 0) in btrfs_page_unlock_writer()
A Dlocking.h198 struct percpu_counter writers; member
A Dsubpage.h67 atomic_t writers; member
/linux-6.3-rc2/Documentation/driver-api/dmaengine/
A Dindex.rst12 driver writers.
22 This book is a guide to device driver writers on how to use the Slave-DMA
/linux-6.3-rc2/fs/
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()
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()
1186 if (pipe->readers == 1 || pipe->writers == 1) in fifo_open()
[all …]
/linux-6.3-rc2/Documentation/userspace-api/media/v4l/
A Dcompat.rst11 writers to port or update their code.
/linux-6.3-rc2/drivers/mtd/ubi/
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()
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-6.3-rc2/fs/cifs/
A Dmisc.c571 if (!cinode->writers) in cifs_get_writer()
573 cinode->writers++; in cifs_get_writer()
576 cinode->writers--; in cifs_get_writer()
577 if (cinode->writers == 0) { in cifs_get_writer()
591 cinode->writers--; in cifs_put_writer()
592 if (cinode->writers == 0) { in cifs_put_writer()
/linux-6.3-rc2/drivers/media/test-drivers/
A DKconfig34 DVB device driver writers and developers working on userspace
/linux-6.3-rc2/Documentation/driver-api/media/
A Ddtv-common.rst55 Two or more writers must be locked against each other.
/linux-6.3-rc2/Documentation/timers/
A Dhpet.rst17 role. Many x86 BIOS writers don't route HPET interrupts at all, which
/linux-6.3-rc2/include/linux/
A Dpipe_fs_i.h70 unsigned int writers; member
/linux-6.3-rc2/include/media/
A Ddvbdev.h174 int writers; member
/linux-6.3-rc2/Documentation/locking/
A Dlocktorture.rst35 ownership (writers). The default value is twice the number
42 both readers and writers be the amount of online CPUs.
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-6.3-rc2/Documentation/driver-api/
A Dio_ordering.rst6 platforms, driver writers are responsible for ensuring that I/O writes to
A Dsync_file.rst7 This document serves as a guide for device drivers writers on what the
/linux-6.3-rc2/drivers/media/dvb-core/
A Ddvbdev.c139 if (!dvbdev->writers) in dvb_generic_open()
141 dvbdev->writers--; in dvb_generic_open()
160 dvbdev->writers++; in dvb_generic_release()
/linux-6.3-rc2/Documentation/trace/
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-6.3-rc2/drivers/media/firewire/
A Dfiredtv-ci.c225 .writers = 1,
/linux-6.3-rc2/include/linux/sunrpc/
A Dcache.h113 atomic_t writers; /* how many time is /channel open */ member
/linux-6.3-rc2/Documentation/driver-api/serial/
A Ddriver.rst33 Driver writers are recommended to use this function rather than implementing
/linux-6.3-rc2/drivers/media/pci/ngene/
A Dngene-dvb.c110 .writers = 1,

Completed in 30 milliseconds

1234