Searched refs:max_usage (Results 1 - 7 of 7) sorted by relevance
/linux-master/fs/ |
H A D | pipe.c | 274 was_full = pipe_full(pipe->head, pipe->tail, pipe->max_usage); 394 was_full = pipe_full(pipe->head, pipe->tail, pipe->max_usage); 421 unsigned int max_usage = READ_ONCE(pipe->max_usage); local 423 return !pipe_full(head, tail, max_usage) || 506 if (!pipe_full(head, pipe->tail, pipe->max_usage)) { 553 if (!pipe_full(head, pipe->tail, pipe->max_usage)) 585 if (pipe_full(pipe->head, pipe->tail, pipe->max_usage)) 694 if (!pipe_full(head, tail, pipe->max_usage)) 822 pipe->max_usage [all...] |
H A D | splice.c | 216 while (!pipe_full(head, tail, pipe->max_usage)) { 256 } else if (pipe_full(head, tail, pipe->max_usage)) { 274 unsigned int max_usage = READ_ONCE(pipe->max_usage); local 276 spd->nr_pages_max = max_usage; 277 if (max_usage <= PIPE_DEF_BUFFERS) 280 spd->pages = kmalloc_array(max_usage, sizeof(struct page *), GFP_KERNEL); 281 spd->partial = kmalloc_array(max_usage, sizeof(struct partial_page), 335 npages = max_t(ssize_t, pipe->max_usage - used, 0); 676 int nbufs = pipe->max_usage; [all...] |
/linux-master/include/linux/ |
H A D | pipe_fs_i.h | 42 * @max_usage: The maximum number of slots that may be used in the ring 63 unsigned int max_usage; member in struct:pipe_inode_info
|
/linux-master/kernel/ |
H A D | watch_queue.c | 259 if (nr_pages > pipe->max_usage &&
|
/linux-master/fs/fuse/ |
H A D | dev.c | 715 if (cs->nr_segs >= cs->pipe->max_usage) 900 if (cs->nr_segs >= cs->pipe->max_usage) 1383 bufs = kvmalloc_array(pipe->max_usage, sizeof(struct pipe_buffer), 1395 if (pipe_occupancy(pipe->head, pipe->tail) + cs.nr_segs > pipe->max_usage) {
|
/linux-master/mm/ |
H A D | shmem.c | 2955 if (!pipe_full(pipe->head, pipe->tail, pipe->max_usage)) { 2983 npages = max_t(ssize_t, pipe->max_usage - used, 0); 3047 if (pipe_full(pipe->head, pipe->tail, pipe->max_usage))
|
H A D | filemap.c | 2824 !pipe_full(pipe->head, pipe->tail, pipe->max_usage)) { 2882 npages = max_t(ssize_t, pipe->max_usage - used, 0); 2941 if (pipe_full(pipe->head, pipe->tail, pipe->max_usage))
|
Completed in 263 milliseconds