Home
last modified time | relevance | path

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

1234

/linux-6.15/fs/btrfs/
H A Dlocking.c317 atomic_set(&lock->writers, 0); in btrfs_drew_lock_init()
328 atomic_inc(&lock->writers); in btrfs_drew_try_write_lock()
355 if (atomic_dec_and_test(&lock->writers)) in btrfs_drew_write_unlock()
371 wait_event(lock->pending_readers, atomic_read(&lock->writers) == 0); in btrfs_drew_read_lock()
H A Dlocking.h225 atomic_t writers; member
/linux-6.15/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
/linux-6.15/fs/
H A Dpipe.c234 unsigned int writers = READ_ONCE(pipe->writers); in pipe_readable() local
236 return !pipe_empty(idx.head, idx.tail) || !writers; in pipe_readable()
371 if (!pipe->writers) in anon_pipe_read()
732 pipe->writers--; in pipe_release()
735 if (!pipe->readers != !pipe->writers) { in pipe_release()
901 pipe->readers = pipe->writers = 1; in get_pipe_inode()
1167 if (!is_pipe && !pipe->writers) { in fifo_open()
1190 if (!pipe->writers++) in fifo_open()
1208 pipe->writers++; in fifo_open()
1211 if (pipe->readers == 1 || pipe->writers == 1) in fifo_open()
[all …]
/linux-6.15/Documentation/userspace-api/media/v4l/
H A Dcompat.rst11 writers to port or update their code.
/linux-6.15/drivers/md/dm-vdo/indexer/
H A Dindex-layout.c1050 struct buffered_writer *writers[MAX_ZONES]; in uds_save_index_state() local
1062 result = open_region_writer(layout, &isl->open_chapter, &writers[0]); in uds_save_index_state()
1068 result = uds_save_open_chapter(index, writers[0]); in uds_save_index_state()
1069 uds_free_buffered_writer(writers[0]); in uds_save_index_state()
1077 &writers[zone]); in uds_save_index_state()
1080 uds_free_buffered_writer(writers[zone - 1]); in uds_save_index_state()
1087 result = uds_save_volume_index(index->volume_index, writers, index->zone_count); in uds_save_index_state()
1089 uds_free_buffered_writer(writers[zone]); in uds_save_index_state()
1095 result = open_region_writer(layout, &isl->index_page_map, &writers[0]); in uds_save_index_state()
1101 result = uds_write_index_page_map(index->volume->index_page_map, writers[0]); in uds_save_index_state()
[all …]
H A Dvolume-index.h187 struct buffered_writer **writers,
H A Dvolume-index.c1108 struct buffered_writer **writers, unsigned int writer_count) in uds_save_volume_index() argument
1114 result = start_saving_volume_index(volume_index, zone, writers[zone]); in uds_save_volume_index()
1122 result = uds_write_guard_delta_list(writers[zone]); in uds_save_volume_index()
1126 result = uds_flush_buffered_writer(writers[zone]); in uds_save_volume_index()
/linux-6.15/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-6.15/drivers/media/test-drivers/
H A DKconfig33 DVB device driver writers and developers working on userspace
/linux-6.15/fs/smb/client/
H A Dmisc.c596 if (!cinode->writers) in cifs_get_writer()
598 cinode->writers++; in cifs_get_writer()
601 cinode->writers--; in cifs_get_writer()
602 if (cinode->writers == 0) { in cifs_get_writer()
616 cinode->writers--; in cifs_put_writer()
617 if (cinode->writers == 0) { in cifs_put_writer()
/linux-6.15/Documentation/driver-api/media/
H A Ddtv-common.rst46 Two or more writers must be locked against each other.
/linux-6.15/Documentation/timers/
H A Dhpet.rst17 role. Many x86 BIOS writers don't route HPET interrupts at all, which
H A Ddelay_sleep_functions.rst9 This question is most often faced by driver writers who have to
/linux-6.15/include/media/
H A Ddvbdev.h174 int writers; member
/linux-6.15/include/linux/
H A Dpipe_fs_i.h103 unsigned int writers; member
/linux-6.15/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-6.15/Documentation/driver-api/
H A Dio_ordering.rst6 platforms, driver writers are responsible for ensuring that I/O writes to
/linux-6.15/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-6.15/drivers/media/firewire/
H A Dfiredtv-ci.c225 .writers = 1,
/linux-6.15/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-6.15/include/linux/sunrpc/
H A Dcache.h117 atomic_t writers; /* how many time is /channel open */ member
/linux-6.15/Documentation/driver-api/serial/
H A Ddriver.rst33 Driver writers are recommended to use this function rather than implementing

1234