Home
last modified time | relevance | path

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

/linux-4.4.14/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.h1160 unsigned int writers; /* Number of writers on this inode */ member
Dcifsfs.c264 cifs_inode->writers = 0; in cifs_alloc_inode()
/linux-4.4.14/fs/
Dpipe.c300 if (!pipe->writers) in pipe_read()
519 if (!pipe->writers && filp->f_version != pipe->w_counter) in pipe_poll()
560 pipe->writers--; in pipe_release()
562 if (pipe->readers || pipe->writers) { in pipe_release()
689 pipe->readers = pipe->writers = 1; in get_pipe_inode()
909 if (!is_pipe && !pipe->writers) { in fifo_open()
932 if (!pipe->writers++) in fifo_open()
950 pipe->writers++; in fifo_open()
953 if (pipe->readers == 1 || pipe->writers == 1) in fifo_open()
973 if (!--pipe->writers) in fifo_open()
Dcoredump.c463 pipe->writers--; in wait_for_dump_helpers()
476 pipe->writers++; in wait_for_dump_helpers()
Dsplice.c823 if (!pipe->writers) in splice_from_pipe_next()
1740 if (!pipe->writers) in ipipe_prep()
1832 if (!ipipe->nrbufs && !ipipe->writers) in splice_pipe_to_pipe()
/linux-4.4.14/include/linux/
Dpipe_fs_i.h52 unsigned int writers; member
/linux-4.4.14/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.4.14/drivers/media/dvb-core/
Ddvbdev.h139 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_ca_en50221.c1646 .writers = 1,
Ddvb_net.c1466 .writers = 1,
Ddmxdev.c1144 .writers = 1,
Ddvb_frontend.c572 if (fepriv->dvbdev->writers == 1) in dvb_frontend_is_exiting()
2727 .writers = 1, in dvb_register_frontend()
/linux-4.4.14/fs/btrfs/
Ddisk-io.c1192 struct btrfs_subvolume_writers *writers; in btrfs_alloc_subvolume_writers() local
1195 writers = kmalloc(sizeof(*writers), GFP_NOFS); in btrfs_alloc_subvolume_writers()
1196 if (!writers) in btrfs_alloc_subvolume_writers()
1199 ret = percpu_counter_init(&writers->counter, 0, GFP_KERNEL); in btrfs_alloc_subvolume_writers()
1201 kfree(writers); in btrfs_alloc_subvolume_writers()
1205 init_waitqueue_head(&writers->wait); in btrfs_alloc_subvolume_writers()
1206 return writers; in btrfs_alloc_subvolume_writers()
1210 btrfs_free_subvolume_writers(struct btrfs_subvolume_writers *writers) in btrfs_free_subvolume_writers() argument
1212 percpu_counter_destroy(&writers->counter); in btrfs_free_subvolume_writers()
1213 kfree(writers); in btrfs_free_subvolume_writers()
[all …]
Dioctl.c634 s64 writers; in btrfs_wait_for_no_snapshoting_writes() local
641 writers = percpu_counter_sum(&root->subv_writers->counter); in btrfs_wait_for_no_snapshoting_writes()
642 if (writers) in btrfs_wait_for_no_snapshoting_writes()
646 } while (writers); in btrfs_wait_for_no_snapshoting_writes()
/linux-4.4.14/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.4.14/Documentation/
Dio_ordering.txt2 platforms, driver writers are responsible for ensuring that I/O writes to
DDMA-API.txt223 portable, device driver writers may *not* assume that such an IOMMU
232 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.txt1182 This way driver writers do not need to add any of the boilerplate code
Dkernel-parameters.txt3229 Set number of concurrent RCU writers. These just
/linux-4.4.14/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.4.14/drivers/media/firewire/
Dfiredtv-ci.c227 .writers = 1,
/linux-4.4.14/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.4.14/drivers/media/pci/ngene/
Dngene-dvb.c101 .writers = -1,
/linux-4.4.14/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.4.14/drivers/media/pci/ttpci/
Dav7110_ca.c372 .writers = 1,
Dav7110_av.c1544 .writers = 1,
1562 .writers = 1,
Dav7110.c735 .writers = 1,
/linux-4.4.14/Documentation/scsi/
Dscsi-generic.txt10 Thus sg is used for scanners, CD writers and reading audio CDs digitally
/linux-4.4.14/Documentation/arm/OMAP/
Domap_pm80 becomes accessible. To accomplish this, driver writers should use the
/linux-4.4.14/Documentation/console/
Dconsole.txt106 Guidelines for console driver writers:
/linux-4.4.14/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.4.14/Documentation/dmaengine/
Dclient.txt10 Below is a guide to device driver writers on how to use the Slave-DMA API of the
/linux-4.4.14/drivers/media/pci/bt8xx/
Ddst_ca.c699 .writers = 1,
/linux-4.4.14/Documentation/watchdog/
Dwatchdog-api.txt31 future driver writers to use it as a reference.
/linux-4.4.14/Documentation/arm/pxa/
Dmfp.txt75 For board code writers, here are some guidelines:
/linux-4.4.14/Documentation/ide/
DChangeLog.ide-cd.1994-2004169 * It produced errors _only_ for non-writers. duh.
/linux-4.4.14/Documentation/gpio/
Ddriver.txt4 This document serves as a guide for GPIO chip drivers writers. Note that it
/linux-4.4.14/Documentation/fmc/
Dcarrier.txt26 change in layout of some fmc data structures). Device writers should
/linux-4.4.14/Documentation/serial/
Ddriver33 Driver writers are recommended to use this function rather than implementing
/linux-4.4.14/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.4.14/Documentation/device-mapper/
Dthin-provisioning.txt286 it will occur only once after each resume so volume manager writers
/linux-4.4.14/Documentation/networking/
Dphy.txt31 allows network driver writers to write as little code as possible, while
/linux-4.4.14/Documentation/kbuild/
Dkconfig-language.txt408 dependency resolution; this has a few implications for Kconfig file writers.
/linux-4.4.14/drivers/media/pci/ddbridge/
Dddbridge-core.c982 .writers = -1,
/linux-4.4.14/tools/perf/Documentation/
Dperf-script-python.txt29 available to script writers.
/linux-4.4.14/Documentation/power/
Ddevices.txt137 writers of device drivers whose subsystems (PM domains, device types, device
/linux-4.4.14/arch/arm/crypto/
Dsha512-core.S_shipped36 @ Technical writers asserted that 3-way S4 pipeline can sustain
/linux-4.4.14/Documentation/cdrom/
Dcdrom-standard.tex55 their drivers totally inconsistent, the writers of \linux\ \cdrom\
/linux-4.4.14/Documentation/security/
Dkeys.txt1224 but this only deters other writers; any changes to the key's payload must
/linux-4.4.14/drivers/scsi/
DKconfig156 If you want to use SCSI scanners, synthesizers or CD-writers or just