| /openbmc/u-boot/tools/gdb/ |
| H A D | serial.c | 66 int fd; in serialopen() local 83 serialreadchar(int fd, int timeout) in serialreadchar() 114 serialwrite(int fd, char *buf, int len) in serialwrite() 129 serialclose(int fd) in serialclose()
|
| /openbmc/qemu/chardev/ |
| H A D | char-parallel.c | 54 int fd; member 76 int fd = drv->fd; in pp_ioctl() local 161 int fd, in qemu_chr_open_pp_fd() 182 int fd; member 231 int fd, in qemu_chr_open_pp_fd() 248 int fd; in qmp_chardev_open_parallel() local 286 int fd = drv->fd; in char_parallel_finalize() local
|
| /openbmc/qemu/ui/ |
| H A D | ui-qmp-cmds.c | 116 bool qmp_add_client_spice(int fd, bool has_skipauth, bool skipauth, in qmp_add_client_spice() 132 bool qmp_add_client_vnc(int fd, bool has_skipauth, bool skipauth, in qmp_add_client_vnc() 142 bool qmp_add_client_dbus_display(int fd, bool has_skipauth, bool skipauth, in qmp_add_client_dbus_display() 229 static bool png_save(int fd, pixman_image_t *image, Error **errp) in png_save() 291 static bool png_save(int fd, pixman_image_t *image, Error **errp) in png_save() 299 static bool ppm_save(int fd, pixman_image_t *image, Error **errp) in ppm_save() 338 int fd; in qmp_screendump() local
|
| /openbmc/qemu/hw/intc/ |
| H A D | loongarch_extioi_kvm.c | 14 static void kvm_extioi_access_reg(int fd, uint64_t addr, void *val, bool write) in kvm_extioi_access_reg() 20 static void kvm_extioi_access_sw_state(int fd, uint64_t addr, in kvm_extioi_access_sw_state() 41 int fd = les->dev_fd; in kvm_extioi_access_regs() local 94 int fd = les->dev_fd; in kvm_extioi_put() local
|
| /openbmc/u-boot/arch/sandbox/cpu/ |
| H A D | os.c | 36 ssize_t os_read(int fd, void *buf, size_t count) in os_read() 41 ssize_t os_write(int fd, const void *buf, size_t count) in os_write() 46 off_t os_lseek(int fd, off_t offset, int whence) in os_lseek() 86 int os_close(int fd) in os_close() 103 int fd; in os_write_file() local 124 int fd; in os_read_file() local 179 void os_tty_raw(int fd, bool allow_sigs) in os_tty_raw() 513 int fd, ret; in os_write_ram_buf() local 529 int fd, ret; in os_read_ram_buf() local 551 int fd; in make_exec() local [all …]
|
| /openbmc/qemu/tests/unit/ |
| H A D | test-util-sockets.c | 30 int fd = mkstemp(tmp); in test_fd_is_socket_bad() local 44 int fd = qemu_socket(PF_INET, SOCK_STREAM, 0); in test_fd_is_socket_good() local 82 int fd; in test_socket_fd_pass_name_good() local 114 int fd; in test_socket_fd_pass_name_bad() local 144 int fd; in test_socket_fd_pass_name_nomon() local 166 int fd, sfd; in test_socket_fd_pass_num_good() local 189 int fd, sfd; in test_socket_fd_pass_num_bad() local 213 int fd; in test_socket_fd_pass_num_nocli() local 245 int i, fd; in unix_client_thread_func() local 263 int fd, connfd, i; in test_socket_unix_abstract_row() local
|
| /openbmc/openpower-occ-control/ |
| H A D | file.hpp | 15 int fd = -1; member in open_power::occ::FileDescriptor 28 explicit FileDescriptor(int fd) : fd(fd) in FileDescriptor()
|
| /openbmc/qemu/migration/ |
| H A D | cpr.c | 32 int fd; member 49 void cpr_save_fd(const char *name, int id, int fd) in cpr_save_fd() 89 int fd = elem ? elem->fd : -1; in cpr_find_fd() local 95 void cpr_resave_fd(const char *name, int id, int fd) in cpr_resave_fd() 113 int fd = cpr_find_fd(name, id); in cpr_open_fd() local 284 int fd; in cpr_get_fd_param() local
|
| /openbmc/phosphor-buttons/inc/ |
| H A D | button_interface.hpp | 51 static int EventHandler(sd_event_source* es, int fd, uint32_t revents, in EventHandler() 80 for (auto fd : config.fds) in init() local 115 for (auto fd : config.fds) in deInit() local
|
| /openbmc/google-misc/subprojects/ncsid/src/ |
| H A D | net_config.cpp | 93 auto fd = stdplus::fd::socket(stdplus::fd::SocketDomain::INet6, in get_mac_addr() local 112 void PhosphorConfig::call_nic(auto fd, struct ifreq& ifr, int op) in call_nic() 141 auto fd = stdplus::fd::open( in set_mac_addr() local 157 auto fd = stdplus::fd::socket(stdplus::fd::SocketDomain::INet6, in set_mac_addr() local
|
| /openbmc/sdeventplus/test/source/ |
| H A D | io.cpp | 62 const int fd = 10; in TEST_F() local 88 IO::Callback callback = [&](IO&, int fd, uint32_t revents) { in TEST_F() 113 const int fd = 10; in TEST_F() local 137 const int fd = 7; in SetUp() local 203 const int fd = 5; in TEST_F() local 218 const int fd = 5; in TEST_F() local 226 const int fd = 3; in TEST_F() local
|
| /openbmc/qemu/net/ |
| H A D | socket.c | 39 int fd; member 218 int fd; in net_socket_mcast_create() local 332 int fd, int is_connected, in net_socket_fd_init_dgram() 423 int fd, int is_connected) in net_socket_fd_init_stream() 449 static int net_socket_fd_check(int fd, Error **errp) in net_socket_fd_check() 471 int fd; in net_socket_accept() local 500 int fd, ret; in net_socket_listen_init() local 547 int fd, connected, ret; in net_socket_connect_init() local 598 int fd; in net_socket_mcast_init() local 643 int fd, ret; in net_socket_udp_init() local [all …]
|
| /openbmc/phosphor-power/phosphor-regulators/test/ |
| H A D | ffdc_file_tests.cpp | 40 bool isValid(int fd) in isValid() 77 int fd = file.getFileDescriptor(); in TEST() local 160 int fd = file.getFileDescriptor(); in TEST() local 189 int fd = file.getFileDescriptor(); in TEST() local
|
| /openbmc/phosphor-buttons/src/ |
| H A D | hostSelector_switch.cpp | 31 size_t HostSelector::getGpioIndex(int fd) in getGpioIndex() 43 char HostSelector::getValueFromFd(int fd) in getValueFromFd() 111 void HostSelector::setHostSelectorValue(int fd, GpioState state) in setHostSelectorValue() 135 void HostSelector::handleEvent(sd_event_source* /* es */, int fd, in handleEvent()
|
| /openbmc/phosphor-gpio-monitor/ |
| H A D | file.hpp | 18 int fd = -1; member in phosphor::gpio::FileDescriptor 31 explicit FileDescriptor(int fd) : fd(fd) in FileDescriptor()
|
| /openbmc/qemu/util/ |
| H A D | chardev_open.c | 46 int fd; in open_cdev_internal() local 74 int fd; in open_cdev() local
|
| H A D | oslib-win32.c | 180 void qemu_socket_set_block(int fd) in qemu_socket_set_block() 187 int qemu_socket_try_set_nonblock(int fd) in qemu_socket_try_set_nonblock() 196 void qemu_socket_set_nonblock(int fd) in qemu_socket_set_nonblock() 201 int socket_set_fast_reuse(int fd) in socket_set_fast_reuse() 221 void qemu_set_cloexec(int fd) in qemu_set_cloexec() 240 void qemu_set_tty_echo(int fd, bool echo) in qemu_set_tty_echo() 267 bool qemu_prealloc_mem(int fd, char *area, size_t sz, int max_threads, in qemu_prealloc_mem() 499 int qemu_close_socket_osfhandle(int fd) in qemu_close_socket_osfhandle() 543 int qemu_close_wrap(int fd) in qemu_close_wrap() 568 int fd; in qemu_socket_wrap() local [all …]
|
| /openbmc/witherspoon-pfault-analysis/ |
| H A D | file.hpp | 30 FileDescriptor(int fd) : fd(fd) {} in FileDescriptor() 64 int fd = -1; member in witherspoon::power::util::FileDescriptor
|
| /openbmc/phosphor-ipmi-flash/internal/ |
| H A D | sys.cpp | 49 int SysImpl::read(int fd, void* buf, std::size_t count) const in read() 54 int SysImpl::pread(int fd, void* buf, std::size_t count, off_t offset) const in pread() 59 int SysImpl::pwrite(int fd, const void* buf, std::size_t count, in pwrite() 70 void* SysImpl::mmap(void* addr, std::size_t length, int prot, int flags, int fd, in mmap() 86 int SysImpl::ioctl(int fd, unsigned long request, void* param) const in ioctl()
|
| /openbmc/qemu/backends/ |
| H A D | iommufd.c | 54 int fd = -1; in iommufd_backend_set_fd() local 124 int fd; in iommufd_backend_connect() local 167 int fd = be->fd; in iommufd_backend_alloc_ioas() local 186 int ret, fd = be->fd; in iommufd_backend_free_id() local 202 int ret, fd = be->fd; in iommufd_backend_map_dma() local 236 int ret, fd = be->fd; in iommufd_backend_map_file_dma() local 273 int ret, fd = be->fd; in iommufd_backend_unmap_dma() local 313 int ret, fd = be->fd; in iommufd_backend_alloc_hwpt() local 418 int ret, fd = be->fd; in iommufd_backend_invalidate_cache() local
|
| /openbmc/openpower-sbe-interface/ |
| H A D | file.hpp | 21 int fd = -1; member in openpower::sbe::internal::FileDescriptor 53 FileDescriptor(int fd) : fd(fd) in FileDescriptor()
|
| /openbmc/hiomapd/vpnor/ |
| H A D | partition.cpp | 119 #define fd_process_all(fn, fd, src, len) \ argument 146 int fd = ::open(path.c_str(), O_RDONLY); in read() local 204 int fd = ::open(path.c_str(), O_RDWR); in write() local
|
| /openbmc/bmcweb/redfish-core/include/utils/ |
| H A D | log_services_utils.hpp | 38 inline bool checkSizeLimit(int fd, crow::Response& res) in checkSizeLimit() 94 int fd = -1; in downloadEntryCallback() local
|
| /openbmc/openpower-hw-diags/util/ |
| H A D | file_descriptor.hpp | 31 explicit FileDescriptor(int fd) : fd(fd) {} in FileDescriptor() 131 int fd = -1; member in util::FileDescriptor
|
| /openbmc/sdeventplus/src/sdeventplus/source/ |
| H A D | io.cpp | 14 IO::IO(const Event& event, int fd, uint32_t events, Callback&& callback) : in IO() 77 sd_event_source* IO::create_source(const Event& event, int fd, uint32_t events) in create_source() 86 int IO::ioCallback(sd_event_source* source, int fd, uint32_t revents, in ioCallback()
|