Home
last modified time | relevance | path

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

/net/core/
Dskbuff.c1663 static void sock_spd_release(struct splice_pipe_desc *spd, unsigned int i) in sock_spd_release() argument
1665 put_page(spd->pages[i]); in sock_spd_release()
1687 static bool spd_can_coalesce(const struct splice_pipe_desc *spd, in spd_can_coalesce() argument
1691 return spd->nr_pages && in spd_can_coalesce()
1692 spd->pages[spd->nr_pages - 1] == page && in spd_can_coalesce()
1693 (spd->partial[spd->nr_pages - 1].offset + in spd_can_coalesce()
1694 spd->partial[spd->nr_pages - 1].len == offset); in spd_can_coalesce()
1700 static bool spd_fill_page(struct splice_pipe_desc *spd, in spd_fill_page() argument
1706 if (unlikely(spd->nr_pages == MAX_SKB_FRAGS)) in spd_fill_page()
1714 if (spd_can_coalesce(spd, page, offset)) { in spd_fill_page()
[all …]