| /openbmc/gpioplus/src/gpioplus/internal/ |
| H A D | fd.cpp | 26 int fd = sys->dup(oldfd); in dup() local 34 Fd::Fd(int fd, const Sys* sys) : sys(sys), fd(dup(fd, sys)) {} in Fd() 36 Fd::Fd(int fd, std::false_type, const Sys* sys) : sys(sys), fd(fd) {} in Fd()
|
| /openbmc/qemu/tests/unit/ |
| H A D | test-image-locking.c | 56 static void check_locked_bytes(int fd, uint64_t perm_locks, in check_locked_bytes() 82 int fd = g_file_open_tmp("qemu-tst-img-lock.XXXXXX", &img_path, NULL); in test_image_locking_basic() local 123 int fd = g_file_open_tmp("qemu-tst-img-lock.XXXXXX", &img_path, NULL); in test_set_perm_abort() 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/openpower-debug-collector/watchdog/ |
| H A D | file_descriptor.hpp | 33 explicit FileDescriptor(int fd) : fd(fd) {} in FileDescriptor() 135 int fd = -1; member in watchdog::dump::FileDescriptor
|
| /openbmc/qemu/backends/ |
| H A D | hostmem-epc.c | 25 int fd; in sgx_epc_backend_memory_alloc() local 70 int fd = qemu_open_old("/dev/sgx_vepc", O_RDWR); in register_types() local
|
| /openbmc/qemu/scsi/ |
| H A D | qemu-pr-helper.c | 126 int fd; member 180 static int coroutine_fn do_sgio(int fd, const uint8_t *cdb, uint8_t *sense, in do_sgio() 229 static void *dm_dev_ioctl(int fd, int ioc, struct dm_ioctl *dm) in dm_dev_ioctl() 286 static int is_mpath(int fd) in is_mpath() 318 static int coroutine_fn mpath_reconstruct_sense(int fd, int r, uint8_t *sense) in mpath_reconstruct_sense() 370 static int coroutine_fn multipath_pr_in(int fd, const uint8_t *cdb, uint8_t *sense, in multipath_pr_in() 425 static int coroutine_fn multipath_pr_out(int fd, const uint8_t *cdb, uint8_t *sense, in multipath_pr_out() 543 static int coroutine_fn do_pr_in(int fd, const uint8_t *cdb, uint8_t *sense, in do_pr_in() 561 static int coroutine_fn do_pr_out(int fd, const uint8_t *cdb, uint8_t *sense, in do_pr_out() 587 int fd; member [all …]
|
| H A D | pr-manager.c | 29 int fd; member 39 int fd = data->fd; in pr_manager_worker() local 51 int coroutine_fn pr_manager_execute(PRManager *pr_mgr, AioContext *ctx, int fd, in pr_manager_execute()
|
| /openbmc/qemu/util/ |
| H A D | oslib-posix.c | 137 int fd; in qemu_write_pidfile() local 253 void qemu_socket_set_block(int fd) in qemu_socket_set_block() 258 int qemu_socket_try_set_nonblock(int fd) in qemu_socket_try_set_nonblock() 263 void qemu_socket_set_nonblock(int fd) in qemu_socket_set_nonblock() 270 int socket_set_fast_reuse(int fd) in socket_set_fast_reuse() 282 void qemu_set_cloexec(int fd) in qemu_set_cloexec() 316 void qemu_set_tty_echo(int fd, bool echo) in qemu_set_tty_echo() 606 bool qemu_prealloc_mem(int fd, char *area, size_t sz, int max_threads, in qemu_prealloc_mem() 836 int qemu_msync(void *addr, size_t length, int fd) in qemu_msync() 857 int fd, dfd; in qemu_close_all_open_fd_proc() local [all …]
|
| H A D | memfd.c | 109 int *fd, Error **errp) in qemu_memfd_alloc() 150 void qemu_memfd_free(void *ptr, size_t size, int fd) in qemu_memfd_free() 182 int fd; in qemu_memfd_alloc_check() local
|
| /openbmc/qemu/contrib/ivshmem-client/ |
| H A D | ivshmem-client.c | 26 ivshmem_client_read_one_msg(IvshmemClient *client, int64_t *index, int *fd) in ivshmem_client_read_one_msg() 95 int ret, fd; in ivshmem_client_handle_server_msg() local 182 int fd, ret; in ivshmem_client_connect() local 274 int fd; in ivshmem_client_get_fds() local 350 int fd; in ivshmem_client_notify() local
|
| /openbmc/u-boot/arch/xtensa/include/asm/ |
| H A D | posix_types.h | 56 #define __FD_SET(fd, fdsetp) \ argument 60 #define __FD_CLR(fd, fdsetp) \ argument 64 #define __FD_ISSET(fd, fdsetp) \ argument
|
| /openbmc/u-boot/arch/nds32/include/asm/ |
| H A D | posix_types.h | 71 #define __FD_SET(fd, fdsetp) \ argument 75 #define __FD_CLR(fd, fdsetp) \ argument 79 #define __FD_ISSET(fd, fdsetp) \ argument
|
| /openbmc/pldm/oem/ibm/libpldmresponder/ |
| H A D | file_io_by_type.cpp | 34 int FileHandler::transferFileData(int32_t fd, bool upstream, uint32_t offset, in transferFileData() 55 int FileHandler::transferFileDataToSocket(int32_t fd, uint32_t& length, in transferFileDataToSocket() 121 utils::CustomFD fd(file); in transferFileData() local
|
| /openbmc/qemu/hw/vfio/ |
| H A D | helpers.c | 131 int vfio_kvm_device_add_fd(int fd, Error **errp) in vfio_kvm_device_add_fd() 166 int vfio_kvm_device_del_fd(int fd, Error **errp) in vfio_kvm_device_del_fd() 189 struct vfio_device_info *vfio_get_device_info(int fd) in vfio_get_device_info()
|
| /openbmc/phosphor-power/ |
| H A D | file_descriptor.hpp | 31 FileDescriptor(int fd) : fd(fd) {} in FileDescriptor() 131 int fd = -1; member in phosphor::power::util::FileDescriptor
|
| /openbmc/estoraged/src/erase/ |
| H A D | zero.cpp | 23 void Zero::writeZero(const uint64_t driveSize, Fd& fd) in writeZero() 72 void Zero::verifyZero(uint64_t driveSize, Fd& fd) in verifyZero()
|
| /openbmc/u-boot/arch/x86/include/asm/ |
| H A D | posix_types.h | 56 #define __FD_SET(fd,fdsetp) \ argument 61 #define __FD_CLR(fd,fdsetp) \ argument 66 #define __FD_ISSET(fd,fdsetp) (__extension__ ({ \ argument
|
| /openbmc/u-boot/arch/arm/include/asm/ |
| H A D | posix_types.h | 70 #define __FD_SET(fd, fdsetp) \ argument 74 #define __FD_CLR(fd, fdsetp) \ argument 78 #define __FD_ISSET(fd, fdsetp) \ argument
|
| /openbmc/u-boot/arch/microblaze/include/asm/ |
| H A D | posix_types.h | 63 #define __FD_SET(fd, fd_set) \ argument 66 #define __FD_CLR(fd, fd_set) \ argument 69 #define __FD_ISSET(fd, fd_set) \ argument
|
| /openbmc/qemu/subprojects/libvhost-user/ |
| H A D | link-test.c | 16 set_watch(VuDev *dev, int fd, int condition, in set_watch() 23 remove_watch(VuDev *dev, int fd) in remove_watch()
|
| /openbmc/qemu/hw/9pfs/ |
| H A D | 9p-util.h | 108 static inline void close_preserve_errno(int fd) in close_preserve_errno() 126 static inline int close_if_special_file(int fd) in close_if_special_file() 156 int fd, serrno, ret; in openat_file() local
|
| /openbmc/openpower-pnor-code-mgmt/ubi/ |
| H A D | watch.hpp | 61 int fd = -1; member 120 CustomFd fd; member in openpower::software::updater::Watch
|
| /openbmc/u-boot/tools/ |
| H A D | mingw_support.c | 19 int fsync(int fd) in fsync() 24 void *mmap(void *addr, size_t len, int prot, int flags, int fd, int offset) in mmap()
|
| /openbmc/phosphor-buttons/src/ |
| H A D | gpio.cpp | 37 void setGpioState(int fd, GpioPolarity polarity, GpioState state) in setGpioState() 58 GpioState getGpioState(int fd, GpioPolarity polarity) in getGpioState() 285 auto fd = ::open(devPath.c_str(), O_RDWR | O_NONBLOCK); in configGpio() local
|
| /openbmc/qemu/net/ |
| H A D | dgram.c | 41 int fd; member 149 int fd; in net_dgram_mcast_create() local 262 int fd, in net_dgram_fd_init() 287 int fd, ret; in net_dgram_mcast_init() local 425 int fd, ret; in net_init_dgram() local
|