Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
Dsplice.h18 #define SPLICE_F_NONBLOCK (0x02) /* don't block on the pipe splicing (but */ macro
24 #define SPLICE_F_ALL (SPLICE_F_MOVE|SPLICE_F_NONBLOCK|SPLICE_F_MORE|SPLICE_F_GIFT)
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dtest_bpf_syscall_macro.c76 r = splice(-42, &off_in, 42, &off_out, 0x12340000, SPLICE_F_NONBLOCK); in test_bpf_syscall_macro()
86 ASSERT_EQ(skel->bss->splice_flags, SPLICE_F_NONBLOCK, "splice_arg6"); in test_bpf_syscall_macro()
/Linux-v6.6/fs/
Dsplice.c536 if (sd->flags & SPLICE_F_NONBLOCK) in splice_from_pipe_next()
824 if (flags & SPLICE_F_NONBLOCK) in splice_to_socket()
1054 sd->flags &= ~SPLICE_F_NONBLOCK; in splice_direct_to_actor()
1211 if (flags & SPLICE_F_NONBLOCK) in wait_for_space()
1267 flags |= SPLICE_F_NONBLOCK; in do_splice()
1289 flags |= SPLICE_F_NONBLOCK; in do_splice()
1311 flags |= SPLICE_F_NONBLOCK; in do_splice()
1620 if (flags & SPLICE_F_NONBLOCK) { in ipipe_prep()
1655 if (flags & SPLICE_F_NONBLOCK) { in opipe_prep()
1732 if (flags & SPLICE_F_NONBLOCK) { in splice_pipe_to_pipe()
[all …]
Dread_write.c1246 fl = SPLICE_F_NONBLOCK; in do_sendfile()
1259 fl |= SPLICE_F_NONBLOCK; in do_sendfile()
/Linux-v6.6/kernel/
Drelay.c1218 if (flags & SPLICE_F_NONBLOCK) in relay_file_splice_read()
/Linux-v6.6/net/tls/
Dtls_sw.c2155 err = tls_rx_reader_lock(sk, ctx, flags & SPLICE_F_NONBLOCK); in tls_sw_splice_read()
2164 err = tls_rx_rec_wait(sk, NULL, flags & SPLICE_F_NONBLOCK, in tls_sw_splice_read()
/Linux-v6.6/tools/testing/selftests/net/
Dtls.c826 EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, half, SPLICE_F_NONBLOCK), in TEST_F()
/Linux-v6.6/net/unix/
Daf_unix.c2898 flags & SPLICE_F_NONBLOCK) in unix_stream_splice_read()
/Linux-v6.6/net/smc/
Daf_smc.c3247 if (flags & SPLICE_F_NONBLOCK) in smc_splice_read()
/Linux-v6.6/kernel/trace/
Dtrace.c8537 if ((file->f_flags & O_NONBLOCK) || (flags & SPLICE_F_NONBLOCK)) in tracing_buffers_splice_read()