Lines Matching refs:spd
1101 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()
1185 if (!spd.nr_pages) in subbuf_splice_actor()
1188 ret = *nonpad_ret = splice_to_pipe(pipe, &spd); in subbuf_splice_actor()
1196 splice_shrink_spd(&spd); in subbuf_splice_actor()