Searched refs:spd (Results 1 – 2 of 2) sorted by relevance
1774 static void sock_spd_release(struct splice_pipe_desc *spd, unsigned int i) in sock_spd_release() argument1776 put_page(spd->pages[i]); in sock_spd_release()1798 static bool spd_can_coalesce(const struct splice_pipe_desc *spd, in spd_can_coalesce() argument1802 return spd->nr_pages && in spd_can_coalesce()1803 spd->pages[spd->nr_pages - 1] == page && in spd_can_coalesce()1804 (spd->partial[spd->nr_pages - 1].offset + in spd_can_coalesce()1805 spd->partial[spd->nr_pages - 1].len == offset); in spd_can_coalesce()1811 static bool spd_fill_page(struct splice_pipe_desc *spd, in spd_fill_page() argument1817 if (unlikely(spd->nr_pages == MAX_SKB_FRAGS)) in spd_fill_page()1825 if (spd_can_coalesce(spd, page, offset)) { in spd_fill_page()[all …]
2503 struct splice_pipe_desc *spd) in skb_unix_socket_splice() argument2509 ret = splice_to_pipe(pipe, spd); in skb_unix_socket_splice()