Home
last modified time | relevance | path

Searched refs:pread (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/phosphor-ipmi-flash/internal/
H A Dsys.cpp54 int SysImpl::pread(int fd, void* buf, std::size_t count, off_t offset) const in pread() function in internal::SysImpl
56 return static_cast<int>(::pread(fd, buf, count, offset)); in pread()
H A Dsys.hpp35 virtual int pread(int fd, void* buf, std::size_t count,
70 int pread(int fd, void* buf, std::size_t count,
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dnbd-multiconn120 initial_data = clients[0].pread(1024 * 1024, 0)
126 current_data = clients[0].pread(1024 * 1024, 0)
/openbmc/phosphor-ipmi-flash/tools/test/
H A Dinternal_sys_mock.hpp21 MOCK_METHOD(int, pread, (int, void*, std::size_t, off_t), (const override));
H A Dio_unittest.cpp124 EXPECT_CALL(sys_mock, pread(fd, _, 1, 0)).WillOnce(Return(-1)); in TEST_F()
134 EXPECT_CALL(sys_mock, pread(fd, _, 1, 0)).WillOnce(Return(0)); in TEST_F()
/openbmc/qemu/tests/qemu-iotests/
H A D004.out36 pread past image boundary
/openbmc/phosphor-ipmi-flash/tools/
H A Dio.cpp120 int ret = sys->pread(ppcMemFd, destination, length, offset); in read()
/openbmc/qemu/hw/vfio/
H A Dccw.c132 ret = pread(vcdev->vdev.fd, region, vcdev->schib_region_size, in vfio_ccw_handle_store()
257 size = pread(vcdev->vdev.fd, region, vcdev->crw_region_size, in vfio_ccw_crw_read()
317 size = pread(vcdev->vdev.fd, region, vcdev->io_region_size, in vfio_ccw_io_notifier_handler()
H A Ddisplay.c31 pread(_fd, &(_ptr->_fld), sizeof(_ptr->_fld), \
/openbmc/qemu/scripts/
H A Dqcow2-to-stdout.py194 cluster = os.pread(fd, cluster_size, cluster_size * idx)
361 cluster = os.pread(fd, cluster_size, cluster_size * idx)
/openbmc/openbmc/poky/meta/recipes-support/sqlite/
H A Dsqlite3.inc47 # pread() is in POSIX.1-2001 so any reasonable system must surely support it
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-utils/xfsprogs/files/
H A D0005-Replace-off64_t-stat64-with-off_t-stat.patch28 io/pread.c | 22 +++++++++++-----------
309 diff --git a/io/pread.c b/io/pread.c
311 --- a/io/pread.c
312 +++ b/io/pread.c
/openbmc/hiomapd/file/
H A Dbackend.c251 rc = pread(priv->fd, buf, len, 0); in file_reset()
/openbmc/dbus-sensors/src/intel-cpu/
H A DIntelCPUSensor.cpp275 rdLen = pread(fd, response.data(), bufLen, 0); in handleResponse()
/openbmc/qemu/tools/i386/
H A Dqemu-vmsr-helper.c156 if (pread(fd, &result, sizeof(result), msr_register) != sizeof(result)) { in vmsr_read_msr()
/openbmc/qemu/gdbstub/
H A Duser-target.c351 ssize_t n = pread(fd, buf, bufsiz, offset); in gdb_handle_v_file_pread()
/openbmc/qemu/monitor/
H A Dhmp-cmds-target.c341 if (pread(fd, &pinfo, sizeof(pinfo), offset) != sizeof(pinfo)) { in vtop()
/openbmc/qemu/bsd-user/netbsd/
H A Dstrace.list89 { TARGET_NETBSD_NR_pread, "pread", NULL, NULL, NULL },
/openbmc/qemu/hw/xen/
H A Dxen-host-pci-device.c281 rc = pread(d->config_fd, buf, len, pos); in xen_host_pci_config_read()
/openbmc/qemu/linux-user/
H A Dflatload.c100 ret = pread(fd, buf, len, offset); in target_pread()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/build/
H A D0001-Riscv-Add-risc-v-Android-config-header.patch334 + * Define if pread() exists
/openbmc/qemu/bsd-user/openbsd/
H A Dstrace.list112 { TARGET_OPENBSD_NR_pread, "pread", NULL, NULL, NULL },
/openbmc/qemu/bsd-user/freebsd/
H A Dos-syscall.c52 safe_syscall4(ssize_t, pread, int, fd, void *, buf, size_t, nbytes, off_t,
/openbmc/phosphor-networkd/src/
H A Dncsi_util.cpp805 rc = pread(iidFd.fd, &iid, sizeof(iid), eid); in allocateIID()
/openbmc/qemu/util/
H A Dvfio-helpers.c246 pread(s->device, buf, size, s->config_region_info.offset + ofs) in qemu_vfio_pci_read_config()

12