Searched refs:spd (Results 1 – 2 of 2) sorted by relevance
1201 static void relay_page_release(struct splice_pipe_desc *spd, unsigned int i) in relay_page_release() argument1226 struct splice_pipe_desc spd = { in subbuf_splice_actor() local1239 if (splice_grow_spd(pipe, &spd)) in subbuf_splice_actor()1251 nr_pages = min_t(unsigned int, subbuf_pages, spd.nr_pages_max); in subbuf_splice_actor()1253 for (total_len = 0; spd.nr_pages < nr_pages; spd.nr_pages++) { in subbuf_splice_actor()1263 spd.pages[spd.nr_pages] = rbuf->page_array[pidx]; in subbuf_splice_actor()1264 spd.partial[spd.nr_pages].offset = poff; in subbuf_splice_actor()1271 spd.partial[spd.nr_pages].len = this_len; in subbuf_splice_actor()1272 spd.partial[spd.nr_pages].private = private; in subbuf_splice_actor()1280 spd.nr_pages++; in subbuf_splice_actor()[all …]
4934 static void tracing_spd_release_pipe(struct splice_pipe_desc *spd, in tracing_spd_release_pipe() argument4937 __free_page(spd->pages[idx]); in tracing_spd_release_pipe()5004 struct splice_pipe_desc spd = { in tracing_splice_read_pipe() local5017 if (splice_grow_spd(pipe, &spd)) in tracing_splice_read_pipe()5042 for (i = 0, rem = len; i < spd.nr_pages_max && rem; i++) { in tracing_splice_read_pipe()5043 spd.pages[i] = alloc_page(GFP_KERNEL); in tracing_splice_read_pipe()5044 if (!spd.pages[i]) in tracing_splice_read_pipe()5051 page_address(spd.pages[i]), in tracing_splice_read_pipe()5054 __free_page(spd.pages[i]); in tracing_splice_read_pipe()5057 spd.partial[i].offset = 0; in tracing_splice_read_pipe()[all …]