Home
last modified time | relevance | path

Searched refs:get_errno (Results 1 – 25 of 32) sorted by relevance

12

/openbmc/qemu/bsd-user/
H A Dbsd-proc.h51 ret = get_errno(getgroups(gidsetsize, grouplist)); in do_bsd_getgroups()
83 return get_errno(setgroups(gidsetsize, grouplist)); in do_bsd_setgroups()
89 return get_errno(umask(arg1)); in do_bsd_umask()
102 ret = get_errno(setlogin(p)); in do_bsd_setlogin()
118 ret = get_errno(_getlogin(p, arg2)); in do_bsd_getlogin()
130 ret = get_errno(getrusage(who, &rusage)); in do_bsd_getrusage()
159 ret = get_errno(getrlimit(resource, &rlim)); in do_bsd_getrlimit()
191 ret = get_errno(setrlimit(resource, &rlim)); in do_bsd_setrlimit()
199 return get_errno(getpid()); in do_bsd_getpid()
205 return get_errno(getppid()); in do_bsd_getppid()
[all …]
H A Dbsd-file.h80 ret = get_errno(safe_read(arg1, p, arg3)); in do_bsd_read()
101 ret = get_errno(safe_pread(arg1, p, arg3, target_arg64(arg4, arg5))); in do_bsd_pread()
114 ret = get_errno(safe_readv(arg1, vec, arg3)); in do_bsd_readv()
135 ret = get_errno(safe_preadv(arg1, vec, arg3, target_arg64(arg4, arg5))); in do_bsd_preadv()
159 ret = get_errno(safe_write(arg1, p, arg3)); in do_bsd_write()
180 ret = get_errno(safe_pwrite(arg1, p, arg3, target_arg64(arg4, arg5))); in do_bsd_pwrite()
193 ret = get_errno(safe_writev(arg1, vec, arg3)); in do_bsd_writev()
214 ret = get_errno(safe_pwritev(arg1, vec, arg3, target_arg64(arg4, arg5))); in do_bsd_pwritev()
230 ret = get_errno(safe_open(path(p), target_to_host_bitmask(arg2, in do_bsd_open()
245 ret = get_errno(safe_openat(arg1, path(p), in do_bsd_openat()
[all …]
H A Dbsd-mem.h74 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()
100 return get_errno(msync(g2h_untagged(addr), len, flags)); in do_bsd_msync()
109 return get_errno(mlock(g2h_untagged(arg1), arg2)); in do_bsd_mlock()
118 return get_errno(munlock(g2h_untagged(arg1), arg2)); in do_bsd_munlock()
124 return get_errno(mlockall(arg1)); in do_bsd_mlockall()
130 return get_errno(munlockall()); in do_bsd_munlockall()
175 ret = get_errno(madvise(g2h_untagged(start), len, advice)); in do_bsd_madvise()
190 return get_errno(minherit(g2h_untagged(addr), len, inherit)); in do_bsd_minherit()
[all …]
/openbmc/qemu/bsd-user/freebsd/
H A Dos-stat.h65 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()
124 ret = get_errno(freebsd11_fstatat(arg1, p, &st, arg4)); in do_freebsd11_fstatat()
141 ret = get_errno(fstatat(arg1, p, &st, arg4)); in do_freebsd_fstatat()
157 ret = get_errno(freebsd11_nstat(path(p), &st)); in do_freebsd11_nstat()
171 ret = get_errno(freebsd11_nfstat(arg1, &st)); in do_freebsd11_nfstat()
186 ret = get_errno(freebsd11_nlstat(path(p), &st)); in do_freebsd11_nlstat()
202 ret = get_errno(getfh(path(p), &host_fh)); in do_freebsd_getfh()
[all …]
H A Dos-proc.h66 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 Dos-misc.h59 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 Dos-proc.c114 ret = get_errno(fexecve((int)path_or_fd, argp, envp)); in freebsd_exec_common()
121 ret = get_errno(execve(p, argp, envp)); in freebsd_exec_common()
334 error = get_errno(procctl(idtype, id, host_cmd, data)); in do_freebsd_procctl()
/openbmc/qemu/linux-user/
H A Dsyscall.c568 abi_long get_errno(abi_long ret) in get_errno() function
1357 ret = get_errno(safe_pselect6(n, rfds_ptr, wfds_ptr, efds_ptr, in do_select()
1485 ret = get_errno(safe_pselect6(n, rfds_ptr, wfds_ptr, efds_ptr, in do_pselect6()
1573 ret = get_errno(safe_ppoll(pfd, nfds, timeout_ts, in do_ppoll()
1602 ret = get_errno(safe_ppoll(pfd, nfds, pts, NULL, 0)); in do_ppoll()
1623 return get_errno(ret); in do_pipe()
1646 return get_errno(ret); in do_pipe()
2093 ret = get_errno(setsockopt(sockfd, level, optname, &val, sizeof(val))); in do_setsockopt()
2121 ret = get_errno(setsockopt(sockfd, level, optname, &val, sizeof(val))); in do_setsockopt()
2149 ret = get_errno(setsockopt(sockfd, level, optname, &ip_mreq, optlen)); in do_setsockopt()
[all …]
H A Duser-internals.h69 abi_long get_errno(abi_long ret);
H A Dmmap.c1252 ret = get_errno(madvise(g2h_untagged(start), len, advice)); in target_madvise()
1349 ret = get_errno(shmctl(shmid, IPC_STAT, &shm_info)); in target_shmat()
1409 ? get_errno(-1) : -TARGET_EINVAL); in target_shmat()
1423 ret = get_errno(-1); in target_shmat()
1475 rv = get_errno(shmdt(g2h_untagged(shmaddr))); in target_shmdt()
/openbmc/sdbusplus/include/sdbusplus/
H A Dexception.hpp31 virtual int get_errno() const noexcept = 0;
47 int get_errno() const noexcept override;
78 int get_errno() const noexcept override in get_errno() function
121 int get_errno() const noexcept override;
154 int get_errno() const noexcept override;
176 int get_errno() const noexcept override;
199 int get_errno() const noexcept override;
H A Dmessage.hpp265 int get_errno() const in get_errno() function in sdbusplus::message::message
/openbmc/sdbusplus/test/exception/
H A Dsdbus_error.cpp44 EXPECT_EQ(errorVal, errNew.get_errno()); in TEST()
91 EXPECT_EQ(errorVal, err.get_errno()); in TEST()
103 EXPECT_EQ(0, err.get_errno()); in TEST()
109 EXPECT_EQ(errorVal, errNew.get_errno()); in TEST()
121 EXPECT_EQ(0, errNew.get_errno()); in TEST()
128 EXPECT_EQ(errorVal, errFinal.get_errno()); in TEST()
157 EXPECT_EQ(errorVal, err.get_errno()); in TEST()
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dacl.py57 err = ctypes.get_errno()
70 err = ctypes.get_errno()
86 err = ctypes.get_errno()
98 err = ctypes.get_errno()
110 err = ctypes.get_errno()
122 err = ctypes.get_errno()
H A Dxattr.py29 err = ctypes.get_errno()
69 err = ctypes.get_errno()
/openbmc/sdbusplus/src/
H A Dexception.cpp28 int generated_exception::get_errno() const noexcept in get_errno() function in sdbusplus::exception::generated_exception
99 int SdBusError::get_errno() const noexcept in get_errno() function in sdbusplus::exception::SdBusError
150 int InvalidEnumString::get_errno() const noexcept in get_errno() function in sdbusplus::exception::InvalidEnumString
189 int UnpackPropertyError::get_errno() const noexcept in get_errno() function in sdbusplus::exception::UnpackPropertyError
209 int UnhandledStop::get_errno() const noexcept in get_errno() function in sdbusplus::exception::UnhandledStop
/openbmc/openpower-host-ipmi-flash/
H A Dhiomap.cpp451 return hiomap_xlate_errno(e.get_errno()); in hiomap_reset()
493 return hiomap_xlate_errno(e.get_errno()); in hiomap_get_info()
522 return hiomap_xlate_errno(e.get_errno()); in hiomap_get_flash_info()
563 return hiomap_xlate_errno(e.get_errno()); in hiomap_create_window()
611 return hiomap_xlate_errno(e.get_errno()); in hiomap_close_window()
643 return hiomap_xlate_errno(e.get_errno()); in hiomap_mark_dirty()
667 return hiomap_xlate_errno(e.get_errno()); in hiomap_flush()
698 return hiomap_xlate_errno(e.get_errno()); in hiomap_ack()
730 return hiomap_xlate_errno(e.get_errno()); in hiomap_erase()
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dtest_sdbus_error.hpp48 int get_errno() const noexcept override in get_errno() function in phosphor::power::regulators::TestSDBusError
/openbmc/telemetry/src/
H A Derrors.hpp20 int get_errno() const noexcept override;
H A Derrors.cpp39 int InvalidArgument::get_errno() const noexcept in get_errno() function in errors::InvalidArgument
/openbmc/sdbusplus/include/sdbusplus/asio/detail/
H A Dasync_send_handler.hpp57 static_cast<boost::system::errc::errc_t>(message.get_errno())); in do_unpack()
/openbmc/sdbusplus/tools/sdbusplus/templates/
H A Derror.hpp.mako35 int get_errno() const noexcept override
/openbmc/sdbusplus/include/sdbusplus/asio/
H A Dconnection.hpp196 static_cast<boost::system::errc::errc_t>(e.get_errno())); in async_method_call_timed()
282 static_cast<boost::system::errc::errc_t>(e.get_errno())); in yield_method_call()
/openbmc/entity-manager/src/
H A Dutils.hpp90 int get_errno() const noexcept override in get_errno() function
/openbmc/phosphor-logging/tools/phosphor-logging/templates/
H A Delog-gen-template.mako.hpp142 int get_errno() const noexcept override

12