Searched refs:max_usage (Results 1 – 6 of 6) sorted by relevance
/linux/fs/ |
A D | pipe.c | 407 unsigned int max_usage = READ_ONCE(pipe->max_usage); in pipe_writable() local 409 return !pipe_full(head, tail, max_usage) || in pipe_writable() 684 if (!pipe_full(head, tail, pipe->max_usage)) in pipe_poll() 812 pipe->max_usage = pipe_bufs; in alloc_pipe_info() 1294 if (pipe->max_usage > nr_slots) in pipe_resize_ring() 1295 pipe->max_usage = nr_slots; in pipe_resize_ring() 1332 if (nr_slots > pipe->max_usage && in pipe_set_size() 1338 if (nr_slots > pipe->max_usage && in pipe_set_size() 1350 pipe->max_usage = nr_slots; in pipe_set_size() 1352 return pipe->max_usage * PAGE_SIZE; in pipe_set_size() [all …]
|
A D | splice.c | 200 while (!pipe_full(head, tail, pipe->max_usage)) { in splice_to_pipe() 240 } else if (pipe_full(head, tail, pipe->max_usage)) { in add_to_pipe() 258 unsigned int max_usage = READ_ONCE(pipe->max_usage); in splice_grow_spd() local 260 spd->nr_pages_max = max_usage; in splice_grow_spd() 261 if (max_usage <= PIPE_DEF_BUFFERS) in splice_grow_spd() 627 int nbufs = pipe->max_usage; in iter_file_splice_write() 648 if (unlikely(nbufs < pipe->max_usage)) { in iter_file_splice_write() 650 nbufs = pipe->max_usage; in iter_file_splice_write() 1407 if (!pipe_full(pipe->head, pipe->tail, pipe->max_usage)) in opipe_prep() 1491 pipe_full(o_head, o_tail, opipe->max_usage)) { in splice_pipe_to_pipe() [all …]
|
/linux/include/linux/ |
A D | pipe_fs_i.h | 63 unsigned int max_usage; member 171 if (p_occupancy >= pipe->max_usage) in pipe_space_for_user() 174 if (p_space > pipe->max_usage) in pipe_space_for_user() 175 p_space = pipe->max_usage; in pipe_space_for_user()
|
/linux/fs/fuse/ |
A D | dev.c | 721 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_copy_fill() 905 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_ref_page() 1378 bufs = kvmalloc_array(pipe->max_usage, sizeof(struct pipe_buffer), in fuse_dev_splice_read() 1390 if (pipe_occupancy(pipe->head, pipe->tail) + cs.nr_segs > pipe->max_usage) { in fuse_dev_splice_read()
|
/linux/kernel/ |
A D | watch_queue.c | 238 if (nr_pages > pipe->max_usage && in watch_queue_set_size()
|
/linux/lib/ |
A D | iov_iter.c | 415 if (pipe_full(i_head, p_tail, pipe->max_usage)) in copy_page_to_iter_pipe() 575 while (!pipe_full(iter_head, p_tail, pipe->max_usage)) { in push_pipe()
|
Completed in 18 milliseconds