Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/splice/
Dsplice_read.c16 ssize_t spliced; in main() local
48 spliced = splice(fd, NULL, STDOUT_FILENO, NULL, in main()
50 if (spliced < 0) { in main()
/linux-6.6.21/kernel/
Drelay.c1206 ssize_t spliced; in relay_file_splice_read() local
1211 spliced = 0; in relay_file_splice_read()
1213 while (len && !spliced) { in relay_file_splice_read()
1228 spliced += nonpad_ret; in relay_file_splice_read()
1232 if (spliced) in relay_file_splice_read()
1233 return spliced; in relay_file_splice_read()
/linux-6.6.21/fs/
Dsplice.c798 size_t spliced = 0; in splice_to_socket() local
820 if (spliced) in splice_to_socket()
885 spliced += ret; in splice_to_socket()
913 return spliced ?: ret; in splice_to_socket()
/linux-6.6.21/mm/
Dfilemap.c2851 size_t spliced = 0, offset = offset_in_folio(folio, fpos); in splice_folio_into_pipe() local
2857 while (spliced < size && in splice_folio_into_pipe()
2860 size_t part = min_t(size_t, PAGE_SIZE - offset, size - spliced); in splice_folio_into_pipe()
2871 spliced += part; in splice_folio_into_pipe()
2875 return spliced; in splice_folio_into_pipe()
/linux-6.6.21/net/ipv4/
Dtcp.c787 ssize_t spliced; in tcp_splice_read() local
797 ret = spliced = 0; in tcp_splice_read()
807 if (spliced) in tcp_splice_read()
845 spliced += ret; in tcp_splice_read()
860 if (spliced) in tcp_splice_read()
861 return spliced; in tcp_splice_read()
/linux-6.6.21/net/core/
Dskbuff.c6883 ssize_t spliced = 0, ret = 0; in skb_splice_from_iter() local
6924 spliced += part; in skb_splice_from_iter()
6934 skb_len_add(skb, spliced); in skb_splice_from_iter()
6935 return spliced ?: ret; in skb_splice_from_iter()