Lines Matching refs:spd
1186 static void relay_page_release(struct splice_pipe_desc *spd, unsigned int i) in relay_page_release() argument
1211 struct splice_pipe_desc spd = { in subbuf_splice_actor() local
1223 if (splice_grow_spd(pipe, &spd)) in subbuf_splice_actor()
1235 nr_pages = min_t(unsigned int, subbuf_pages, spd.nr_pages_max); in subbuf_splice_actor()
1237 for (total_len = 0; spd.nr_pages < nr_pages; spd.nr_pages++) { in subbuf_splice_actor()
1247 spd.pages[spd.nr_pages] = rbuf->page_array[pidx]; in subbuf_splice_actor()
1248 spd.partial[spd.nr_pages].offset = poff; in subbuf_splice_actor()
1255 spd.partial[spd.nr_pages].len = this_len; in subbuf_splice_actor()
1256 spd.partial[spd.nr_pages].private = private; in subbuf_splice_actor()
1264 spd.nr_pages++; in subbuf_splice_actor()
1270 if (!spd.nr_pages) in subbuf_splice_actor()
1273 ret = *nonpad_ret = splice_to_pipe(pipe, &spd); in subbuf_splice_actor()
1281 splice_shrink_spd(&spd); in subbuf_splice_actor()