Searched refs:max_usage (Results 1 – 4 of 4) sorted by relevance
| /linux/fs/ |
| H A D | splice.c | 215 while (!pipe_full(head, tail, pipe->max_usage)) { in splice_to_pipe() 254 } else if (pipe_full(head, tail, pipe->max_usage)) { in add_to_pipe() 272 unsigned int max_usage = READ_ONCE(pipe->max_usage); in splice_grow_spd() local 274 spd->nr_pages_max = max_usage; in splice_grow_spd() 275 if (max_usage <= PIPE_DEF_BUFFERS) in splice_grow_spd() 278 spd->pages = kmalloc_objs(struct page *, max_usage); in splice_grow_spd() 279 spd->partial = kmalloc_objs(struct partial_page, max_usage); in splice_grow_spd() 332 npages = max_t(ssize_t, pipe->max_usage - used, 0); in copy_splice_read() 671 int nbufs = pipe->max_usage; in iter_file_splice_write() 696 if (unlikely(nbufs < pipe->max_usage)) { in iter_file_splice_write() [all …]
|
| /linux/include/linux/ |
| H A D | pipe_fs_i.h | 90 unsigned int max_usage; member 208 return pipe_full(pipe->head, pipe->tail, pipe->max_usage); in pipe_is_full()
|
| /linux/kernel/ |
| H A D | watch_queue.c | 258 if (nr_pages > pipe->max_usage && in watch_queue_set_size() 277 pipe->max_usage = nr_pages; in watch_queue_set_size()
|
| /linux/mm/ |
| H A D | filemap.c | 3073 npages = max_t(ssize_t, pipe->max_usage - used, 0); in filemap_splice_read()
|