Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dsplice.h57 unsigned int nr_pages_max; /* pages[] & partial[] arrays size */ member
/linux-4.4.14/fs/
Dsplice.c282 spd->nr_pages_max = buffers; in splice_grow_spd()
299 if (spd->nr_pages_max <= PIPE_DEF_BUFFERS) in splice_shrink_spd()
322 .nr_pages_max = PIPE_DEF_BUFFERS, in __generic_file_splice_read()
334 nr_pages = min(req_pages, spd.nr_pages_max); in __generic_file_splice_read()
624 .nr_pages_max = PIPE_DEF_BUFFERS, in default_file_splice_read()
635 if (spd.nr_pages_max > PIPE_DEF_BUFFERS) { in default_file_splice_read()
636 vec = kmalloc(spd.nr_pages_max * sizeof(struct iovec), GFP_KERNEL); in default_file_splice_read()
644 for (i = 0; i < nr_pages && i < spd.nr_pages_max && len; i++) { in default_file_splice_read()
1601 .nr_pages_max = PIPE_DEF_BUFFERS, in vmsplice_to_pipe()
1617 spd.nr_pages_max); in vmsplice_to_pipe()
/linux-4.4.14/kernel/
Drelay.c1229 .nr_pages_max = PIPE_DEF_BUFFERS, in subbuf_splice_actor()
1251 nr_pages = min_t(unsigned int, subbuf_pages, spd.nr_pages_max); in subbuf_splice_actor()
/linux-4.4.14/kernel/trace/
Dtrace.c4891 .nr_pages_max = PIPE_DEF_BUFFERS, in tracing_splice_read_pipe()
4925 for (i = 0, rem = len; i < spd.nr_pages_max && rem; i++) { in tracing_splice_read_pipe()
5755 .nr_pages_max = PIPE_DEF_BUFFERS, in tracing_buffers_splice_read()
5785 for (i = 0; i < spd.nr_pages_max && len && entries; i++, len -= PAGE_SIZE) { in tracing_buffers_splice_read()
/linux-4.4.14/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.4.14/mm/
Dshmem.c1658 .nr_pages_max = PIPE_DEF_BUFFERS, in shmem_file_splice_read()
1678 nr_pages = min(req_pages, spd.nr_pages_max); in shmem_file_splice_read()
/linux-4.4.14/net/core/
Dskbuff.c1914 .nr_pages_max = MAX_SKB_FRAGS, in skb_splice_bits()