/qemu/bsd-user/ |
H A D | bsd-proc.h | 89 return get_errno(umask(arg1)); in do_bsd_umask() 102 ret = get_errno(setlogin(p)); in do_bsd_setlogin() 199 return get_errno(getpid()); in do_bsd_getpid() 205 return get_errno(getppid()); in do_bsd_getppid() 211 return get_errno(getuid()); in do_bsd_getuid() 217 return get_errno(geteuid()); in do_bsd_geteuid() 223 return get_errno(getgid()); in do_bsd_getgid() 229 return get_errno(getegid()); in do_bsd_getegid() 271 return get_errno(getpgrp()); in do_bsd_getpgrp() 353 return get_errno(setsid()); in do_bsd_setsid() [all …]
|
H A D | bsd-file.h | 255 return get_errno(close(arg1)); in do_bsd_close() 261 return get_errno(fdatasync(arg1)); in do_bsd_fdatasync() 267 return get_errno(fsync(arg1)); in do_bsd_fsync() 274 return get_errno(0); in do_bsd_closefrom() 346 return get_errno(fchdir(arg1)); in do_bsd_fchdir() 483 return get_errno(ret); in do_bsd___getcwd() 489 return get_errno(dup(arg1)); in do_bsd_dup() 495 return get_errno(dup2(arg1, arg2)); in do_bsd_dup2() 534 ret = get_errno(acct(NULL)); in do_bsd_acct() 537 ret = get_errno(acct(path(p))); in do_bsd_acct() [all …]
|
H A D | bsd-mem.h | 74 return get_errno(target_mmap(arg1, arg2, arg3, in do_bsd_mmap() 82 return get_errno(target_munmap(arg1, arg2)); in do_bsd_munmap() 89 return get_errno(target_mprotect(arg1, arg2, arg3)); in do_bsd_mprotect() 109 return get_errno(mlock(g2h_untagged(arg1), arg2)); in do_bsd_mlock() 124 return get_errno(mlockall(arg1)); in do_bsd_mlockall() 130 return get_errno(munlockall()); in do_bsd_munlockall() 306 return get_errno(shmget(arg1, arg2, arg3)); in do_bsd_shmget() 323 ret = get_errno(shmctl(shmid, cmd, &dsarg)); in do_bsd_shmctl() 333 ret = get_errno(shmctl(shmid, cmd, &dsarg)); in do_bsd_shmctl() 337 ret = get_errno(shmctl(shmid, cmd, NULL)); in do_bsd_shmctl() [all …]
|
H A D | qemu.h | 257 abi_long get_errno(abi_long ret);
|
/qemu/bsd-user/freebsd/ |
H A D | os-stat.h | 65 ret = get_errno(freebsd11_stat(path(p), &st)); in do_freebsd11_stat() 81 ret = get_errno(freebsd11_lstat(path(p), &st)); in do_freebsd11_lstat() 95 ret = get_errno(freebsd11_fstat(arg1, &st)); in do_freebsd11_fstat() 108 ret = get_errno(fstat(arg1, &st)); in do_freebsd_fstat() 141 ret = get_errno(fstatat(arg1, p, &st, arg4)); in do_freebsd_fstatat() 171 ret = get_errno(freebsd11_nfstat(arg1, &st)); in do_freebsd11_nfstat() 202 ret = get_errno(getfh(path(p), &host_fh)); in do_freebsd_getfh() 218 ret = get_errno(lgetfh(path(p), &host_fh)); in do_freebsd_lgetfh() 237 return get_errno(fhopen(&host_fh, arg2)); in do_freebsd_fhopen() 269 ret = get_errno(fhstat(&host_fh, &host_sb)); in do_freebsd_fhstat() [all …]
|
H A D | os-proc.h | 66 ret = get_errno(safe_wait4(arg1, &status, arg3, rusage_ptr)); in do_freebsd_wait4() 109 ret = get_errno(safe_wait6(idtype, target_arg64(id1, id2), in do_freebsd_wait6() 145 ret = get_errno(setloginclass(p)); in do_freebsd_setloginclass() 161 ret = get_errno(getloginclass(p, arg2)); in do_freebsd_getloginclass() 173 ret = get_errno(pdgetpid(fd, &pid)); in do_freebsd_pdgetpid()
|
H A D | os-misc.h | 59 ret = get_errno(__sys_shm_open2(upath, in do_freebsd_shm_open2() 90 ret = get_errno(shm_rename(ufrom, uto, flags)); in do_freebsd_shm_rename()
|
H A D | os-proc.c | 191 ret = get_errno(execve(qemu_proc_pathname, qargp, envp)); in freebsd_exec_common() 198 ret = get_errno(fexecve((int)path_or_fd, argp, envp)); in freebsd_exec_common() 228 ret = get_errno(execve(qemu_proc_pathname, qargp, envp)); in freebsd_exec_common() 232 ret = get_errno(execve(p, argp, envp)); in freebsd_exec_common() 446 error = get_errno(procctl(idtype, id, host_cmd, data)); in do_freebsd_procctl()
|
H A D | os-sys.c | 422 ret = get_errno(sysctl(snamep, namelen, holdp, &holdlen, hnewp, newlen)); in do_freebsd_sysctl_oid()
|
H A D | os-syscall.c | 74 abi_long get_errno(abi_long ret) in get_errno() function
|
/qemu/linux-user/ |
H A D | syscall.c | 567 abi_long get_errno(abi_long ret) in get_errno() function 1593 return get_errno(ret); in do_pipe() 1616 return get_errno(ret); in do_pipe() 3889 return get_errno(ret); in target_to_host_semarray() 3925 return get_errno(ret); in host_to_target_semarray() 8539 ret = get_errno(ret); in do_execv() 8675 hlen = get_errno(hlen); in do_getdents() 9355 ret = get_errno(chdir(p)); in _syscall2() 9452 ret = get_errno(ret); in _syscall2() 13443 ret = get_errno( in _syscall2() [all …]
|
H A D | mmap.c | 1208 ret = get_errno(madvise(g2h_untagged(start), len, advice)); in target_madvise() 1305 ret = get_errno(shmctl(shmid, IPC_STAT, &shm_info)); in target_shmat() 1365 ? get_errno(-1) : -TARGET_EINVAL); in target_shmat() 1379 ret = get_errno(-1); in target_shmat() 1431 rv = get_errno(shmdt(g2h_untagged(shmaddr))); in target_shmdt()
|
H A D | user-internals.h | 69 abi_long get_errno(abi_long ret);
|