Searched refs:infd (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/arch/arm/vdso/ |
D | vdsomunge.c | 127 int infd; in main() local 138 infd = open(infile, O_RDONLY); in main() 139 if (infd < 0) in main() 142 if (fstat(infd, &stat) != 0) in main() 145 inbuf = mmap(NULL, stat.st_size, PROT_READ, MAP_PRIVATE, infd, 0); in main() 149 close(infd); in main()
|
/linux-6.12.1/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.c | 354 int infd, struct wstate *winfo) in sock_connect_mptcp() argument 381 winfo->total_len = winfo->len = read(infd, winfo->buf, in sock_connect_mptcp() 616 static int copyfd_io_poll(int infd, int peerfd, int outfd, in copyfd_io_poll() argument 685 winfo->len = read(infd, winfo->buf, sizeof(winfo->buf)); in copyfd_io_poll() 743 static int do_recvfile(int infd, int outfd) in do_recvfile() argument 750 r = do_rnd_read(infd, buf, sizeof(buf)); in do_recvfile() 777 static int do_mmap(int infd, int outfd, unsigned int size, in do_mmap() argument 780 char *inbuf = mmap(NULL, size, PROT_READ, MAP_SHARED, infd, 0); in do_mmap() 837 static int do_sendfile(int infd, int outfd, unsigned int count, in do_sendfile() argument 850 r = sendfile(outfd, infd, NULL, count); in do_sendfile() [all …]
|
/linux-6.12.1/tools/firmware/ |
D | ihex2fw.c | 74 int infd, outfd; in main() local 99 infd = 0; in main() 101 infd = open(argv[optind], O_RDONLY); in main() 102 if (infd == -1) { in main() 107 if (fstat(infd, &st)) { in main() 111 data = mmap(NULL, st.st_size, PROT_READ, MAP_SHARED, infd, 0); in main()
|