Home
last modified time | relevance | path

Searched refs:spd (Results 1 – 2 of 2) sorted by relevance

/kernel/
Drelay.c1101 static void relay_page_release(struct splice_pipe_desc *spd, unsigned int i) in relay_page_release() argument
1126 struct splice_pipe_desc spd = { in subbuf_splice_actor() local
1138 if (splice_grow_spd(pipe, &spd)) in subbuf_splice_actor()
1150 nr_pages = min_t(unsigned int, subbuf_pages, spd.nr_pages_max); in subbuf_splice_actor()
1152 for (total_len = 0; spd.nr_pages < nr_pages; spd.nr_pages++) { in subbuf_splice_actor()
1162 spd.pages[spd.nr_pages] = rbuf->page_array[pidx]; in subbuf_splice_actor()
1163 spd.partial[spd.nr_pages].offset = poff; in subbuf_splice_actor()
1170 spd.partial[spd.nr_pages].len = this_len; in subbuf_splice_actor()
1171 spd.partial[spd.nr_pages].private = private; in subbuf_splice_actor()
1179 spd.nr_pages++; in subbuf_splice_actor()
[all …]
/kernel/trace/
Dtrace.c6899 static void tracing_spd_release_pipe(struct splice_pipe_desc *spd, in tracing_spd_release_pipe() argument
6902 __free_page(spd->pages[idx]); in tracing_spd_release_pipe()
6961 struct splice_pipe_desc spd = { in tracing_splice_read_pipe() local
6973 if (splice_grow_spd(pipe, &spd)) in tracing_splice_read_pipe()
6998 for (i = 0, rem = len; i < spd.nr_pages_max && rem; i++) { in tracing_splice_read_pipe()
6999 spd.pages[i] = alloc_page(GFP_KERNEL); in tracing_splice_read_pipe()
7000 if (!spd.pages[i]) in tracing_splice_read_pipe()
7007 page_address(spd.pages[i]), in tracing_splice_read_pipe()
7010 __free_page(spd.pages[i]); in tracing_splice_read_pipe()
7013 spd.partial[i].offset = 0; in tracing_splice_read_pipe()
[all …]