Searched refs:nr_pages_max (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/include/linux/ |
D | splice.h | 57 unsigned int nr_pages_max; /* pages[] & partial[] arrays size */ member
|
/linux-4.1.27/fs/ |
D | splice.c | 281 spd->nr_pages_max = buffers; in splice_grow_spd() 298 if (spd->nr_pages_max <= PIPE_DEF_BUFFERS) in splice_shrink_spd() 321 .nr_pages_max = PIPE_DEF_BUFFERS, in __generic_file_splice_read() 333 nr_pages = min(req_pages, spd.nr_pages_max); in __generic_file_splice_read() 623 .nr_pages_max = PIPE_DEF_BUFFERS, in default_file_splice_read() 634 if (spd.nr_pages_max > PIPE_DEF_BUFFERS) { in default_file_splice_read() 635 vec = kmalloc(spd.nr_pages_max * sizeof(struct iovec), GFP_KERNEL); in default_file_splice_read() 643 for (i = 0; i < nr_pages && i < spd.nr_pages_max && len; i++) { in default_file_splice_read() 1592 .nr_pages_max = PIPE_DEF_BUFFERS, in vmsplice_to_pipe() 1608 spd.nr_pages_max); in vmsplice_to_pipe()
|
/linux-4.1.27/kernel/ |
D | relay.c | 1232 .nr_pages_max = PIPE_DEF_BUFFERS, in subbuf_splice_actor() 1254 nr_pages = min_t(unsigned int, subbuf_pages, spd.nr_pages_max); in subbuf_splice_actor()
|
/linux-4.1.27/kernel/trace/ |
D | trace.c | 4858 .nr_pages_max = PIPE_DEF_BUFFERS, in tracing_splice_read_pipe() 4892 for (i = 0, rem = len; i < spd.nr_pages_max && rem; i++) { in tracing_splice_read_pipe() 5720 .nr_pages_max = PIPE_DEF_BUFFERS, in tracing_buffers_splice_read() 5750 for (i = 0; i < spd.nr_pages_max && len && entries; i++, len -= PAGE_SIZE) { in tracing_buffers_splice_read()
|
/linux-4.1.27/drivers/video/fbdev/ |
D | sh_mobile_lcdcfb.c | 451 unsigned int nr_pages_max = ch->fb_size >> PAGE_SHIFT; in sh_mobile_lcdc_sginit() local 455 sg_init_table(ch->sglist, nr_pages_max); in sh_mobile_lcdc_sginit()
|
/linux-4.1.27/mm/ |
D | shmem.c | 1642 .nr_pages_max = PIPE_DEF_BUFFERS, in shmem_file_splice_read() 1662 nr_pages = min(req_pages, spd.nr_pages_max); in shmem_file_splice_read()
|
/linux-4.1.27/net/core/ |
D | skbuff.c | 1938 .nr_pages_max = MAX_SKB_FRAGS, in skb_splice_bits()
|