Searched refs:writers (Results 1 – 15 of 15) sorted by relevance
338 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()
493 pipe->writers--; in wait_for_dump_helpers()506 pipe->writers++; in wait_for_dump_helpers()
550 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()
552 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()
1312 unsigned int writers; /* Number of writers on this inode */ member
289 cifs_inode->writers = 0; in cifs_alloc_inode()
53 unsigned int writers; member
170 int writers; member
1125 struct btrfs_subvolume_writers *writers; in btrfs_alloc_subvolume_writers() local1128 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() argument1145 percpu_counter_destroy(&writers->counter); in btrfs_free_subvolume_writers()1146 kfree(writers); in btrfs_free_subvolume_writers()[all …]
149 if (!dvbdev->writers) in dvb_generic_open()151 dvbdev->writers--; in dvb_generic_open()170 dvbdev->writers++; in dvb_generic_release()
638 if (fepriv->dvbdev->writers == 1) in dvb_frontend_is_exiting()2960 .writers = 1, in dvb_register_frontend()
1630 .writers = 1,
1859 .writers = 1,
1285 .writers = 1,
741 int writers; in dbAlloc() local833 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()