Home
last modified time | relevance | path

Searched refs:errno (Results 1 – 25 of 52) sorted by relevance

123

/arch/um/os-Linux/
A Dfile.c51 return -errno; in os_stat_fd()
65 return -errno; in os_stat_file()
83 return -errno; in os_access()
95 return -errno; in os_ioctl_generic()
104 return -errno; in os_get_ifname()
115 return -errno; in os_mode_fd()
152 return -errno; in os_file_mode()
158 return -errno; in os_file_mode()
193 err = -errno; in os_open_file()
211 err = -errno; in os_connect_socket()
[all …]
A Dumid.c63 err = -errno; in make_uml_dir()
92 return -errno; in remove_files_and_dir()
108 ret = -errno; in remove_files_and_dir()
114 ret = -errno; in remove_files_and_dir()
150 fd = -errno; in is_umdir_used()
234 errno); in create_pid_file()
271 err = -errno; in make_umid()
285 err = -errno; in make_umid()
293 err = -errno; in make_umid()
303 err = -errno; in make_umid()
[all …]
A Dsigio.c44 if (errno == EINTR) in write_sigio_thread()
47 __func__, errno); in write_sigio_thread()
53 __func__, errno); in write_sigio_thread()
68 return r < 0 ? -errno : 0; in __add_sigio_fd()
113 __func__, errno); in write_sigio_workaround()
180 info->err = -errno; in openpty_cb()
189 return -errno; in async_pty()
193 return -errno; in async_pty()
196 return -errno; in async_pty()
273 if (errno != EAGAIN) in tty_output()
[all …]
A Dmem.c39 strerror(errno)); in kasan_map_memory()
45 strerror(errno)); in kasan_map_memory()
51 strerror(errno)); in kasan_map_memory()
66 os_info("%s\n", strerror(errno)); in check_tmpfs()
140 strerror(errno)); in make_tempfile()
151 if (fd != -1 || (errno != EINVAL && errno != EISDIR && in make_tempfile()
152 errno != EOPNOTSUPP)) in make_tempfile()
165 strerror(errno)); in make_tempfile()
220 errno = -err; in create_mem_file()
235 err = errno; in check_tmpexec()
A Dhelper.c56 ret = -errno; in run_helper()
58 errno); in run_helper()
78 ret = -errno; in run_helper()
80 errno); in run_helper()
96 n = -errno; in run_helper()
136 err = -errno; in run_helper_thread()
138 "errno = %d\n", errno); in run_helper_thread()
144 err = -errno; in run_helper_thread()
146 "errno = %d\n", errno); in run_helper_thread()
167 return -errno; in helper_wait()
[all …]
A Dtty.c24 info->err = errno; in grantpt_cb()
34 err = -errno; in get_pty()
36 "err = %d\n", errno); in get_pty()
51 err = -errno; in get_pty()
53 "errno = %d\n", errno); in get_pty()
A Dirq.c76 err = -errno; in os_waiting_for_events_epoll()
77 if (errno != EINTR) in os_waiting_for_events_epoll()
81 strerror(errno) in os_waiting_for_events_epoll()
100 if ((result) && (errno == EEXIST)) in os_add_epoll_fd()
103 printk("epollctl add err fd %d, %s\n", fd, strerror(errno)); in os_add_epoll_fd()
120 "epollctl mod err fd %d, %s\n", fd, strerror(errno)); in os_mod_epoll_fd()
A Dprocess.c97 return -errno; in os_map_memory()
107 return -errno; in os_protect_memory()
118 return -errno; in os_unmap_memory()
132 err = -errno; in os_drop_memory()
153 "err = %d\n", -errno); in can_drop_memory()
158 printk(UM_KERN_ERR "MADV_REMOVE failed, err = %d\n", -errno); in can_drop_memory()
A Dexecvp.c90 switch (errno) { in execvp_noalloc()
119 return -errno; in execvp_noalloc()
131 return -errno; in execvp_noalloc()
145 errno = -ret; in main()
A Dsignal.c38 int save_errno = errno; in sig_handler_common()
53 errno = save_errno; in sig_handler_common()
171 panic("enabling signal stack failed, errno = %d\n", errno); in set_sigstack()
231 panic("sigaction failed - errno = %d\n", errno); in set_handler()
236 panic("sigprocmask failed - errno = %d\n", errno); in set_handler()
251 return -errno; in change_sig()
/arch/um/drivers/
A Dchan_user.c31 else if (errno == EAGAIN) in generic_read()
33 return -errno; in generic_read()
47 errno = 0; in generic_write()
61 return -errno; in generic_write()
71 return -errno; in generic_window_size()
124 return -errno; in generic_console_write()
184 errno); in winch_thread()
192 errno); in winch_thread()
204 pty_fd, errno); in winch_thread()
217 errno); in winch_thread()
[all …]
A Dvfio_user.c29 return -errno; in uml_vfio_user_open_container()
66 return -errno; in uml_vfio_user_setup_iommu()
69 return -errno; in uml_vfio_user_setup_iommu()
94 r = -errno; in uml_vfio_user_get_group_id()
127 fd = -errno; in uml_vfio_user_open_group()
139 return -errno; in uml_vfio_user_set_container()
146 return -errno; in uml_vfio_user_unset_container()
168 err = -errno; in vfio_set_irqs()
186 return -errno; in uml_vfio_user_setup_device()
189 err = -errno; in uml_vfio_user_setup_device()
[all …]
A Dvector_user.c173 err = -errno; in create_raw_fd()
179 err = -errno; in create_raw_fd()
189 err = -errno; in create_raw_fd()
357 -errno in user_init_unix_fds()
396 errno = 0; in strtofd()
399 errno != 0 || in strtofd()
532 err = -errno; in user_init_raw_fds()
537 err = -errno; in user_init_raw_fds()
672 -errno in user_init_socket_fds()
795 if ((n < 0) && ((errno == EAGAIN) || (errno == ENOBUFS))) in uml_vector_writev()
[all …]
A Dport_user.c119 return -errno; in port_listen_fd()
123 err = -errno; in port_listen_fd()
131 err = -errno; in port_listen_fd()
136 err = -errno; in port_listen_fd()
181 return -errno; in port_connection()
A Dmconsole_user.c162 return -errno; in mconsole_reply_len()
191 err = -errno; in mconsole_notify()
193 "errno = %d\n", errno); in mconsole_notify()
216 err = -errno; in mconsole_notify()
218 "errno = %d\n", errno); in mconsole_notify()
/arch/um/os-Linux/skas/
A Dprocess.c96 return -errno; in ptrace_dump_regs()
213 if (ret < 0 && errno != EINTR && errno != EAGAIN) { in wait_stub_done_seccomp()
393 -errno); in init_stub_exe_fd()
400 if (errno == EINTR) in init_stub_exe_fd()
418 -errno); in init_stub_exe_fd()
464 err = -errno; in start_userspace()
475 err = -errno; in start_userspace()
488 err = -errno; in start_userspace()
501 err = -errno; in start_userspace()
517 err = -errno; in start_userspace()
[all …]
/arch/x86/um/os-Linux/
A Dtls.c38 if (errno == EINVAL) in check_host_supports_tls()
40 else if (errno == ENOSYS) in check_host_supports_tls()
56 ret = -errno; in os_set_thread_area()
67 ret = -errno; in os_get_thread_area()
A Dregisters.c32 return -errno; in get_fp_registers()
44 return -errno; in put_fp_registers()
65 ret = -errno; in arch_init_registers()
76 ret = -errno; in arch_init_registers()
/arch/arm/vdso/
A Dvdsomunge.c140 fail("Cannot open %s: %s\n", infile, strerror(errno)); in main()
143 fail("Failed stat for %s: %s\n", infile, strerror(errno)); in main()
147 fail("Failed to map %s: %s\n", infile, strerror(errno)); in main()
181 fail("Cannot open %s: %s\n", outfile, strerror(errno)); in main()
184 fail("Cannot truncate %s: %s\n", outfile, strerror(errno)); in main()
189 fail("Failed to map %s: %s\n", outfile, strerror(errno)); in main()
204 fail("Failed to sync %s: %s\n", outfile, strerror(errno)); in main()
/arch/x86/um/
A Dptrace_user.c12 return -errno; in ptrace_getregs()
19 return -errno; in ptrace_setregs()
/arch/mips/vdso/
A Dgenvdso.c118 path, strerror(errno)); in map_vdso()
124 path, strerror(errno)); in map_vdso()
133 path, strerror(errno)); in map_vdso()
243 dbg_vdso_path, strerror(errno)); in main()
247 vdso_path, strerror(errno)); in main()
254 out_path, strerror(errno)); in main()
/arch/xtensa/platforms/iss/include/platform/
A Dsimcall-gdbio.h17 static int errno; variable
30 errno = c1; in __simc()
/arch/mips/boot/compressed/
A Dcalc_vmlinuz_load_addr.c31 errno = 0; in main()
33 if (errno != 0) in main()
/arch/mips/boot/tools/
A Drelocs.c208 die("Cannot read ELF header: %s\n", strerror(errno)); in read_ehdr()
278 i, ehdr.e_shnum, strerror(errno)); in read_shdrs()
311 sec->shdr.sh_offset, strerror(errno)); in read_strtabs()
315 die("Cannot read symbol table: %s\n", strerror(errno)); in read_strtabs()
335 sec->shdr.sh_offset, strerror(errno)); in read_symtabs()
379 sec->shdr.sh_offset, strerror(errno)); in read_relocs()
420 sec->shdr_offset, strerror(errno)); in remove_relocs()
424 i, ehdr.e_shnum, strerror(errno)); in remove_relocs()
434 sec->shdr_offset, strerror(errno)); in remove_relocs()
438 i, ehdr.e_shnum, strerror(errno)); in remove_relocs()
[all …]
/arch/s390/tools/
A Drelocs.c121 die("Cannot read ELF header: %s\n", strerror(errno)); in read_ehdr()
166 die("Seek to %" FMT " failed: %s\n", ehdr.e_shoff, strerror(errno)); in read_ehdr()
169 die("Cannot read initial ELF section header: %s\n", strerror(errno)); in read_ehdr()
192 die("Seek to %" FMT " failed: %s\n", ehdr.e_shoff, strerror(errno)); in read_shdrs()
199 i, shnum, strerror(errno)); in read_shdrs()
234 die("Seek to %" FMT " failed: %s\n", sec->shdr.sh_offset, strerror(errno)); in read_relocs()
237 die("Cannot read symbol table: %s\n", strerror(errno)); in read_relocs()
376 die("Cannot open %s: %s\n", fname, strerror(errno)); in main()
379 die("Cannot read %s: %s", fname, strerror(errno)); in main()

Completed in 597 milliseconds

123