Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/powerpc/boot/
A Dmktree.c44 int in_fd, out_fd; in main() local
82 if ((in_fd = open(argv[1], O_RDONLY)) < 0) { in main()
99 if (read(in_fd, tmpbuf, sizeof(tmpbuf)) != sizeof(tmpbuf)) { in main()
110 if (lseek(in_fd, (64 * 1024), SEEK_SET) < 0) { in main()
125 if (read(in_fd, tmpbuf, sizeof(tmpbuf)) < 0) { in main()
/linux-6.3-rc2/tools/virtio/virtio-trace/
A Dtrace-agent-rw.c31 rw_ti->in_fd = -1; in rw_thread_info_new()
49 rw_ti->in_fd = open(in_path, O_RDONLY); in rw_thread_init()
50 if (rw_ti->in_fd == -1) { in rw_thread_init()
127 rlen = splice(ts->in_fd, NULL, ts->read_pipe, NULL, in rw_thread_main()
A Dtrace-agent.h37 int in_fd; member
A Dtrace-agent.c247 close(s->rw_ti[i]->in_fd); in agent_info_free()
/linux-6.3-rc2/tools/tracing/rtla/src/
A Dtrace.c75 int out_fd, in_fd; in save_trace_to_file() local
78 in_fd = tracefs_instance_file_open(inst, file, O_RDONLY); in save_trace_to_file()
79 if (in_fd < 0) { in save_trace_to_file()
91 retval = read(in_fd, buffer, sizeof(buffer)); in save_trace_to_file()
104 close(in_fd); in save_trace_to_file()
/linux-6.3-rc2/arch/um/drivers/
A Dharddog_user.c106 void stop_watchdog(int in_fd, int out_fd) in stop_watchdog() argument
108 close(in_fd); in stop_watchdog()
A Dharddog_kern.c95 extern void stop_watchdog(int in_fd, int out_fd);
/linux-6.3-rc2/tools/testing/selftests/exec/
A Dexecveat.c142 int in_fd = open_or_die(src, O_RDONLY); in exe_cp() local
146 fstat(in_fd, &info); in exe_cp()
147 sendfile(out_fd, in_fd, NULL, info.st_size); in exe_cp()
148 close(in_fd); in exe_cp()
/linux-6.3-rc2/fs/
A Dread_write.c1196 in = fdget(in_fd); in do_sendfile()
1300 ret = do_sendfile(out_fd, in_fd, &pos, count, MAX_NON_LFS); in SYSCALL_DEFINE4()
1306 return do_sendfile(out_fd, in_fd, NULL, count, 0); in SYSCALL_DEFINE4()
1317 ret = do_sendfile(out_fd, in_fd, &pos, count, 0); in SYSCALL_DEFINE4()
1323 return do_sendfile(out_fd, in_fd, NULL, count, 0); in SYSCALL_DEFINE4()
1327 COMPAT_SYSCALL_DEFINE4(sendfile, int, out_fd, int, in_fd, in COMPAT_SYSCALL_DEFINE4() argument
1338 ret = do_sendfile(out_fd, in_fd, &pos, count, MAX_NON_LFS); in COMPAT_SYSCALL_DEFINE4()
1344 return do_sendfile(out_fd, in_fd, NULL, count, 0); in COMPAT_SYSCALL_DEFINE4()
1347 COMPAT_SYSCALL_DEFINE4(sendfile64, int, out_fd, int, in_fd, in COMPAT_SYSCALL_DEFINE4() argument
1356 ret = do_sendfile(out_fd, in_fd, &pos, count, 0); in COMPAT_SYSCALL_DEFINE4()
[all …]
/linux-6.3-rc2/include/linux/
A Dcompat.h654 asmlinkage long compat_sys_sendfile(int out_fd, int in_fd,
656 asmlinkage long compat_sys_sendfile64(int out_fd, int in_fd,
A Dsyscalls.h520 asmlinkage long sys_sendfile64(int out_fd, int in_fd,
1125 asmlinkage long sys_sendfile(int out_fd, int in_fd,

Completed in 19 milliseconds