/linux-4.1.27/fs/ |
D | pipe.c | 294 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()
|
D | super.c | 1230 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()
|
D | coredump.c | 459 pipe->writers--; in wait_for_dump_helpers() 472 pipe->writers++; in wait_for_dump_helpers()
|
D | splice.c | 815 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/ |
D | misc.c | 564 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()
|
D | cifsglob.h | 1145 unsigned int writers; /* Number of writers on this inode */ member
|
D | cifsfs.c | 264 cifs_inode->writers = 0; in cifs_alloc_inode()
|
/linux-4.1.27/include/linux/ |
D | pipe_fs_i.h | 51 unsigned int writers; member
|
/linux-4.1.27/drivers/mtd/ubi/ |
D | kapi.c | 179 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()
|
D | cdev.c | 63 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()
|
D | ubi.h | 322 int writers; member
|
/linux-4.1.27/drivers/media/dvb-core/ |
D | dvbdev.h | 93 int writers; member
|
D | dvbdev.c | 121 if (!dvbdev->writers) in dvb_generic_open() 123 dvbdev->writers--; in dvb_generic_open() 142 dvbdev->writers++; in dvb_generic_release()
|
D | dvb_net.c | 1467 .writers = 1,
|
D | dvb_ca_en50221.c | 1645 .writers = 1,
|
D | dmxdev.c | 1142 .writers = 1,
|
D | dvb_frontend.c | 571 if (fepriv->dvbdev->writers == 1) in dvb_frontend_is_exiting() 2736 .writers = 1, in dvb_register_frontend()
|
/linux-4.1.27/Documentation/timers/ |
D | hpet.txt | 17 role. Many x86 BIOS writers don't route HPET interrupts at all, which
|
D | timers-howto.txt | 7 This question is most often faced by driver writers who have to
|
/linux-4.1.27/fs/btrfs/ |
D | disk-io.c | 1184 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 …]
|
D | ioctl.c | 633 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/ |
D | io_ordering.txt | 2 platforms, driver writers are responsible for ensuring that I/O writes to
|
D | DMA-API.txt | 148 driver writers. 229 portable, device driver writers may *not* assume that such an IOMMU 238 requirement. Therefore, it is recommended that driver writers who
|
D | dma-buf-sharing.txt | 8 This document serves as a guide to device-driver writers on what is the dma-buf
|
D | DMA-API-HOWTO.txt | 8 This is a guide to device driver writers on how to use the DMA API
|
D | pinctrl.txt | 1171 This way driver writers do not need to add any of the boilerplate code
|
D | kernel-parameters.txt | 3113 Set number of concurrent RCU writers. These just
|
/linux-4.1.27/Documentation/locking/ |
D | locktorture.txt | 29 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/ |
D | firedtv-ci.c | 227 .writers = 1,
|
/linux-4.1.27/Documentation/RCU/ |
D | torture.txt | 45 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
|
D | checklist.txt | 28 RCU does allow -readers- to run (almost) naked, but -writers- must 74 locks (that are acquired by both readers and writers)
|
D | listRCU.txt | 144 writers to exclude readers. Normally, the write_lock() calls would
|
D | rcubarrier.txt | 12 This means that RCU writers are unaware of the presence of concurrent
|
D | RTFP.txt | 116 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/ |
D | ngene-dvb.c | 101 .writers = -1,
|
/linux-4.1.27/Documentation/trace/ |
D | ring-buffer-design.txt | 63 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/ |
D | av7110_ca.c | 372 .writers = 1,
|
D | av7110_av.c | 1544 .writers = 1, 1562 .writers = 1,
|
D | av7110.c | 738 .writers = 1,
|
/linux-4.1.27/Documentation/scsi/ |
D | scsi-generic.txt | 10 Thus sg is used for scanners, CD writers and reading audio CDs digitally
|
/linux-4.1.27/Documentation/arm/OMAP/ |
D | omap_pm | 80 becomes accessible. To accomplish this, driver writers should use the
|
/linux-4.1.27/Documentation/console/ |
D | console.txt | 106 Guidelines for console driver writers:
|
/linux-4.1.27/fs/jfs/ |
D | jfs_dmap.c | 710 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/ |
D | client.txt | 10 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/ |
D | dst_ca.c | 703 .writers = 1,
|
/linux-4.1.27/Documentation/watchdog/ |
D | watchdog-api.txt | 31 future driver writers to use it as a reference.
|
/linux-4.1.27/Documentation/gpio/ |
D | driver.txt | 4 This document serves as a guide for GPIO chip drivers writers. Note that it
|
/linux-4.1.27/Documentation/arm/pxa/ |
D | mfp.txt | 75 For board code writers, here are some guidelines:
|
/linux-4.1.27/Documentation/ide/ |
D | ChangeLog.ide-cd.1994-2004 | 169 * It produced errors _only_ for non-writers. duh.
|
/linux-4.1.27/Documentation/fmc/ |
D | carrier.txt | 26 change in layout of some fmc data structures). Device writers should
|
/linux-4.1.27/Documentation/device-mapper/ |
D | thin-provisioning.txt | 286 it will occur only once after each resume so volume manager writers
|
/linux-4.1.27/Documentation/serial/ |
D | driver | 33 Driver writers are recommended to use this function rather than implementing
|
/linux-4.1.27/Documentation/filesystems/ |
D | seq_file.txt | 13 script writers. It is not surprising that the use of virtual files has
|
D | relay.txt | 123 active channel writers, results may be unpredictable -
|
/linux-4.1.27/Documentation/networking/ |
D | phy.txt | 31 allows network driver writers to write as little code as possible, while
|
/linux-4.1.27/tools/perf/Documentation/ |
D | perf-script-python.txt | 29 available to script writers.
|
/linux-4.1.27/drivers/media/pci/ddbridge/ |
D | ddbridge-core.c | 982 .writers = -1,
|
/linux-4.1.27/Documentation/power/ |
D | devices.txt | 137 writers of device drivers whose subsystems (PM domains, device types, device
|
/linux-4.1.27/Documentation/cdrom/ |
D | cdrom-standard.tex | 55 their drivers totally inconsistent, the writers of \linux\ \cdrom\
|
/linux-4.1.27/Documentation/security/ |
D | keys.txt | 1215 but this only deters other writers; any changes to the key's payload must
|
/linux-4.1.27/drivers/scsi/ |
D | Kconfig | 156 If you want to use SCSI scanners, synthesizers or CD-writers or just
|