Home
last modified time | relevance | path

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

/linux-4.19.296/fs/
Dpipe.c338 if (!pipe->writers) in pipe_read()
556 if (!pipe->writers && filp->f_version != pipe->w_counter) in pipe_poll()
597 pipe->writers--; in pipe_release()
599 if (pipe->readers || pipe->writers) { in pipe_release()
747 pipe->readers = pipe->writers = 1; in get_pipe_inode()
950 if (!is_pipe && !pipe->writers) { in fifo_open()
973 if (!pipe->writers++) in fifo_open()
991 pipe->writers++; in fifo_open()
994 if (pipe->readers == 1 || pipe->writers == 1) in fifo_open()
1014 if (!--pipe->writers) in fifo_open()
Dcoredump.c493 pipe->writers--; in wait_for_dump_helpers()
506 pipe->writers++; in wait_for_dump_helpers()
Dsplice.c550 if (!pipe->writers) in splice_from_pipe_next()
1462 if (!pipe->writers) in ipipe_prep()
1554 if (!ipipe->nrbufs && !ipipe->writers) in splice_pipe_to_pipe()
/linux-4.19.296/fs/cifs/
Dmisc.c552 if (!cinode->writers) in cifs_get_writer()
554 cinode->writers++; in cifs_get_writer()
557 cinode->writers--; in cifs_get_writer()
558 if (cinode->writers == 0) { in cifs_get_writer()
572 cinode->writers--; in cifs_put_writer()
573 if (cinode->writers == 0) { in cifs_put_writer()
Dcifsglob.h1312 unsigned int writers; /* Number of writers on this inode */ member
Dcifsfs.c289 cifs_inode->writers = 0; in cifs_alloc_inode()
/linux-4.19.296/include/linux/
Dpipe_fs_i.h53 unsigned int writers; member
/linux-4.19.296/include/media/
Ddvbdev.h170 int writers; member
/linux-4.19.296/fs/btrfs/
Ddisk-io.c1125 struct btrfs_subvolume_writers *writers; in btrfs_alloc_subvolume_writers() local
1128 writers = kmalloc(sizeof(*writers), GFP_NOFS); in btrfs_alloc_subvolume_writers()
1129 if (!writers) in btrfs_alloc_subvolume_writers()
1132 ret = percpu_counter_init(&writers->counter, 0, GFP_NOFS); in btrfs_alloc_subvolume_writers()
1134 kfree(writers); in btrfs_alloc_subvolume_writers()
1138 init_waitqueue_head(&writers->wait); in btrfs_alloc_subvolume_writers()
1139 return writers; in btrfs_alloc_subvolume_writers()
1143 btrfs_free_subvolume_writers(struct btrfs_subvolume_writers *writers) in btrfs_free_subvolume_writers() argument
1145 percpu_counter_destroy(&writers->counter); in btrfs_free_subvolume_writers()
1146 kfree(writers); in btrfs_free_subvolume_writers()
[all …]
/linux-4.19.296/drivers/media/dvb-core/
Ddvbdev.c149 if (!dvbdev->writers) in dvb_generic_open()
151 dvbdev->writers--; in dvb_generic_open()
170 dvbdev->writers++; in dvb_generic_release()
Ddvb_frontend.c638 if (fepriv->dvbdev->writers == 1) in dvb_frontend_is_exiting()
2960 .writers = 1, in dvb_register_frontend()
Ddvb_net.c1630 .writers = 1,
Ddvb_ca_en50221.c1859 .writers = 1,
Ddmxdev.c1285 .writers = 1,
/linux-4.19.296/fs/jfs/
Djfs_dmap.c741 int writers; in dbAlloc() local
833 writers = atomic_read(&bmp->db_active[agno]); in dbAlloc()
834 if ((writers > 1) || in dbAlloc()
835 ((writers == 1) && (JFS_IP(ip)->active_ag != agno))) { in dbAlloc()