Home
last modified time | relevance | path

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

/linux-4.1.27/fs/
Dpipe.c294 if (!pipe->writers) in pipe_read()
514 if (!pipe->writers && filp->f_version != pipe->w_counter) in pipe_poll()
555 pipe->writers--; in pipe_release()
557 if (pipe->readers || pipe->writers) { in pipe_release()
653 pipe->readers = pipe->writers = 1; in get_pipe_inode()
870 if (!is_pipe && !pipe->writers) { in fifo_open()
893 if (!pipe->writers++) in fifo_open()
911 pipe->writers++; in fifo_open()
914 if (pipe->readers == 1 || pipe->writers == 1) in fifo_open()
934 if (!--pipe->writers) in fifo_open()
Dsuper.c1230 s64 writers; in sb_wait_write() local
1249 writers = percpu_counter_sum(&sb->s_writers.counter[level-1]); in sb_wait_write()
1250 if (writers) in sb_wait_write()
1254 } while (writers); in sb_wait_write()
Dcoredump.c459 pipe->writers--; in wait_for_dump_helpers()
472 pipe->writers++; in wait_for_dump_helpers()
Dsplice.c815 if (!pipe->writers) in splice_from_pipe_next()
1731 if (!pipe->writers) in ipipe_prep()
1823 if (!ipipe->nrbufs && !ipipe->writers) in splice_pipe_to_pipe()
/linux-4.1.27/fs/cifs/
Dmisc.c564 if (!cinode->writers) in cifs_get_writer()
566 cinode->writers++; in cifs_get_writer()
569 cinode->writers--; in cifs_get_writer()
570 if (cinode->writers == 0) { in cifs_get_writer()
584 cinode->writers--; in cifs_put_writer()
585 if (cinode->writers == 0) { in cifs_put_writer()
Dcifsglob.h1145 unsigned int writers; /* Number of writers on this inode */ member
Dcifsfs.c264 cifs_inode->writers = 0; in cifs_alloc_inode()
/linux-4.1.27/include/linux/
Dpipe_fs_i.h51 unsigned int writers; member
/linux-4.1.27/drivers/mtd/ubi/
Dkapi.c179 if (vol->exclusive || vol->writers > 0) in ubi_open_volume()
181 vol->writers += 1; in ubi_open_volume()
185 if (vol->exclusive || vol->writers || vol->readers || in ubi_open_volume()
349 vol->writers -= 1; in ubi_close_volume()
Dcdev.c63 users = vol->readers + vol->writers + vol->exclusive + vol->metaonly; in get_exclusive()
69 vol->readers = vol->writers = vol->metaonly = 0; in get_exclusive()
89 ubi_assert(vol->readers == 0 && vol->writers == 0 && vol->metaonly == 0); in revoke_exclusive()
95 vol->writers = 1; in revoke_exclusive()
Dubi.h322 int writers; member
/linux-4.1.27/drivers/media/dvb-core/
Ddvbdev.h93 int writers; member
Ddvbdev.c121 if (!dvbdev->writers) in dvb_generic_open()
123 dvbdev->writers--; in dvb_generic_open()
142 dvbdev->writers++; in dvb_generic_release()
Ddvb_net.c1467 .writers = 1,
Ddvb_ca_en50221.c1645 .writers = 1,
Ddmxdev.c1142 .writers = 1,
Ddvb_frontend.c571 if (fepriv->dvbdev->writers == 1) in dvb_frontend_is_exiting()
2736 .writers = 1, in dvb_register_frontend()
/linux-4.1.27/Documentation/timers/
Dhpet.txt17 role. Many x86 BIOS writers don't route HPET interrupts at all, which
Dtimers-howto.txt7 This question is most often faced by driver writers who have to
/linux-4.1.27/fs/btrfs/
Ddisk-io.c1184 struct btrfs_subvolume_writers *writers; in btrfs_alloc_subvolume_writers() local
1187 writers = kmalloc(sizeof(*writers), GFP_NOFS); in btrfs_alloc_subvolume_writers()
1188 if (!writers) in btrfs_alloc_subvolume_writers()
1191 ret = percpu_counter_init(&writers->counter, 0, GFP_KERNEL); in btrfs_alloc_subvolume_writers()
1193 kfree(writers); in btrfs_alloc_subvolume_writers()
1197 init_waitqueue_head(&writers->wait); in btrfs_alloc_subvolume_writers()
1198 return writers; in btrfs_alloc_subvolume_writers()
1202 btrfs_free_subvolume_writers(struct btrfs_subvolume_writers *writers) in btrfs_free_subvolume_writers() argument
1204 percpu_counter_destroy(&writers->counter); in btrfs_free_subvolume_writers()
1205 kfree(writers); in btrfs_free_subvolume_writers()
[all …]
Dioctl.c633 s64 writers; in btrfs_wait_for_no_snapshoting_writes() local
640 writers = percpu_counter_sum(&root->subv_writers->counter); in btrfs_wait_for_no_snapshoting_writes()
641 if (writers) in btrfs_wait_for_no_snapshoting_writes()
645 } while (writers); in btrfs_wait_for_no_snapshoting_writes()
/linux-4.1.27/Documentation/
Dio_ordering.txt2 platforms, driver writers are responsible for ensuring that I/O writes to
DDMA-API.txt148 driver writers.
229 portable, device driver writers may *not* assume that such an IOMMU
238 requirement. Therefore, it is recommended that driver writers who
Ddma-buf-sharing.txt8 This document serves as a guide to device-driver writers on what is the dma-buf
DDMA-API-HOWTO.txt8 This is a guide to device driver writers on how to use the DMA API
Dpinctrl.txt1171 This way driver writers do not need to add any of the boilerplate code
Dkernel-parameters.txt3113 Set number of concurrent RCU writers. These just
/linux-4.1.27/Documentation/locking/
Dlocktorture.txt29 ownership (writers). The default value is twice the number
35 both readers and writers be the amount of online CPUs.
/linux-4.1.27/drivers/media/firewire/
Dfiredtv-ci.c227 .writers = 1,
/linux-4.1.27/Documentation/RCU/
Dtorture.txt45 gp_normal Make the fake writers use normal synchronous grace-period
48 gp_exp Make the fake writers use expedited synchronous grace-period
74 different numbers of writers running in parallel.
76 to trigger special cases caused by multiple writers, such as
Dchecklist.txt28 RCU does allow -readers- to run (almost) naked, but -writers- must
74 locks (that are acquired by both readers and writers)
DlistRCU.txt144 writers to exclude readers. Normally, the write_lock() calls would
Drcubarrier.txt12 This means that RCU writers are unaware of the presence of concurrent
DRTFP.txt116 stalls and memory latency for writers. However, these techniques still
1600 no memory barriers or atomic instruction in absence of writers.
/linux-4.1.27/drivers/media/pci/ngene/
Dngene-dvb.c101 .writers = -1,
/linux-4.1.27/Documentation/trace/
Dring-buffer-design.txt63 No two writers can write at the same time (on the same per-cpu buffer),
66 algorithm. The writers act like a "stack". The way interrupts works
455 the readers. But the writers will never take a lock to write to the
678 Only writers move the tail page. This must be done atomically to protect
679 against nested writers.
928 writers means that it only needs to check this after setting the HEAD page.
/linux-4.1.27/drivers/media/pci/ttpci/
Dav7110_ca.c372 .writers = 1,
Dav7110_av.c1544 .writers = 1,
1562 .writers = 1,
Dav7110.c738 .writers = 1,
/linux-4.1.27/Documentation/scsi/
Dscsi-generic.txt10 Thus sg is used for scanners, CD writers and reading audio CDs digitally
/linux-4.1.27/Documentation/arm/OMAP/
Domap_pm80 becomes accessible. To accomplish this, driver writers should use the
/linux-4.1.27/Documentation/console/
Dconsole.txt106 Guidelines for console driver writers:
/linux-4.1.27/fs/jfs/
Djfs_dmap.c710 int writers; in dbAlloc() local
802 writers = atomic_read(&bmp->db_active[agno]); in dbAlloc()
803 if ((writers > 1) || in dbAlloc()
804 ((writers == 1) && (JFS_IP(ip)->active_ag != agno))) { in dbAlloc()
/linux-4.1.27/Documentation/dmaengine/
Dclient.txt10 Below is a guide to device driver writers on how to use the Slave-DMA API of the
/linux-4.1.27/drivers/media/pci/bt8xx/
Ddst_ca.c703 .writers = 1,
/linux-4.1.27/Documentation/watchdog/
Dwatchdog-api.txt31 future driver writers to use it as a reference.
/linux-4.1.27/Documentation/gpio/
Ddriver.txt4 This document serves as a guide for GPIO chip drivers writers. Note that it
/linux-4.1.27/Documentation/arm/pxa/
Dmfp.txt75 For board code writers, here are some guidelines:
/linux-4.1.27/Documentation/ide/
DChangeLog.ide-cd.1994-2004169 * It produced errors _only_ for non-writers. duh.
/linux-4.1.27/Documentation/fmc/
Dcarrier.txt26 change in layout of some fmc data structures). Device writers should
/linux-4.1.27/Documentation/device-mapper/
Dthin-provisioning.txt286 it will occur only once after each resume so volume manager writers
/linux-4.1.27/Documentation/serial/
Ddriver33 Driver writers are recommended to use this function rather than implementing
/linux-4.1.27/Documentation/filesystems/
Dseq_file.txt13 script writers. It is not surprising that the use of virtual files has
Drelay.txt123 active channel writers, results may be unpredictable -
/linux-4.1.27/Documentation/networking/
Dphy.txt31 allows network driver writers to write as little code as possible, while
/linux-4.1.27/tools/perf/Documentation/
Dperf-script-python.txt29 available to script writers.
/linux-4.1.27/drivers/media/pci/ddbridge/
Dddbridge-core.c982 .writers = -1,
/linux-4.1.27/Documentation/power/
Ddevices.txt137 writers of device drivers whose subsystems (PM domains, device types, device
/linux-4.1.27/Documentation/cdrom/
Dcdrom-standard.tex55 their drivers totally inconsistent, the writers of \linux\ \cdrom\
/linux-4.1.27/Documentation/security/
Dkeys.txt1215 but this only deters other writers; any changes to the key's payload must
/linux-4.1.27/drivers/scsi/
DKconfig156 If you want to use SCSI scanners, synthesizers or CD-writers or just