Home
last modified time | relevance | path

Searched refs:nr_pages_max (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/include/linux/
Dsplice.h57 unsigned int nr_pages_max; /* pages[] & partial[] arrays size */ member
/linux-4.1.27/fs/
Dsplice.c281 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/
Drelay.c1232 .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/
Dtrace.c4858 .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/
Dsh_mobile_lcdcfb.c451 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/
Dshmem.c1642 .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/
Dskbuff.c1938 .nr_pages_max = MAX_SKB_FRAGS, in skb_splice_bits()