/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-utils/xfsprogs/files/ |
H A D | 0005-Replace-off64_t-stat64-with-off_t-stat.patch | 4 Subject: [PATCH] Replace off64_t/stat64 with off_t/stat 7 -D_FILE_OFFSET_BITS=64 to enable 64bit off_t and all lfs64 support 9 helps compile on musl where off_t was always 64bit and lfs64 were never 53 + off_t off; 66 + off_t cnt, pos; 79 + off_t agoff, bbperag; 89 + bbperag = (off_t)fsgeo.agblocks * 90 + (off_t)fsgeo.blocksize / BBSIZE; 103 +static off_t 112 + off_t sz; [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/trace-cmd/files/ |
H A D | 0001-Replace-LFS64-interfaces-off64_t-and-lseek64.patch | 8 off_t. We pass -D_FILE_OFFSET_BITS=64 in makefiles already therefore 9 original lseek and off_t are already 64bit 38 +off_t tracecmd_get_cpu_file_size(struct tracecmd_input *handle, int cpu); 47 +int tracecmd_prepare_options(struct tracecmd_output *handle, off_t offset, int whence); 56 + off_t cache_start_offset; 66 + off_t zoffset; 67 + off_t offset; 72 int tracecmd_compress_pread(struct tracecmd_compression *handle, char *dst, int len, off_t offset); 76 +off_t tracecmd_compress_lseek(struct tracecmd_compression *handle, off_t offset, int whence); 89 + off_t offset; [all …]
|
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools/ |
H A D | 0002-f2fs_io-Define-_FILE_OFFSET_BITS-64.patch | 36 -typedef off_t off64_t; 51 +static off_t *dcache_blk; /* which block it cached */ 60 + if ((dcache_blk = (off_t *) malloc(sizeof(off_t) * n)) == NULL 69 +static long dcache_find(off_t blk) 78 +static int dcache_io_read(int fd, long entry, off_t offset, off_t blk) 92 +static int dcache_update_rw(int fd, void *buf, off_t offset, 96 + off_t blk; 99 + off_t start; 108 +int dcache_update_cache(int fd, void *buf, off_t offset, size_t count) 115 +int dcache_read(int fd, void *buf, off_t offset, size_t count) [all …]
|
/openbmc/phosphor-ipmi-flash/internal/ |
H A D | sys.hpp | 36 off_t offset) const = 0; 38 off_t offset) const = 0; 41 int fd, off_t offset) const = 0; 51 virtual ssize_t sendfile(int out_fd, int in_fd, off_t* offset, 71 off_t offset) const override; 73 off_t offset) const override; 76 off_t offset) const override; 86 ssize_t sendfile(int out_fd, int in_fd, off_t* offset,
|
H A D | sys.cpp | 54 int SysImpl::pread(int fd, void* buf, std::size_t count, off_t offset) const in pread() 60 off_t offset) const in pwrite() 71 off_t offset) const in mmap() 112 ssize_t SysImpl::sendfile(int out_fd, int in_fd, off_t* offset, in sendfile()
|
/openbmc/openbmc/poky/meta/recipes-kernel/lttng/lttng-tools/ |
H A D | 0001-compat-Define-off64_t-as-off_t-on-linux.patch | 13 As such, it is safe to assume off_t is 64-bit wide. This is checked by a 15 off_t slip. 37 +int compat_sync_file_range(int fd, off_t offset, off_t nbytes, 40 + LTTNG_BUILD_BUG_ON(sizeof(off_t) != sizeof(int64_t)); 60 +extern int compat_sync_file_range(int fd, off_t offset, off_t nbytes, 70 +static inline int lttng_sync_file_range(int fd, off_t offset, 71 + off_t nbytes, unsigned int flags)
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/gperftools/gperftools/ |
H A D | 0001-src-mmap_hook.cc-Fix-build-for-32bit-machine.patch | 9 309 | static_assert(sizeof(int32_t) == sizeof(off_t), ""); 11 This is because oe's off_t is 64bit on both 32 and 64bit system, which is the 26 @@ -302,30 +302,8 @@ void* mmap(void* start, size_t length, int prot, int flags, int fd, off_t off)… 31 -// Linuxes with 32-bit off_t. We're being careful with mmap64 being 34 -static_assert(sizeof(int32_t) == sizeof(off_t), ""); 38 -extern "C" void* mmap(void* start, size_t length, int prot, int flags, int fd, off_t off) 41 -void* mmap(void *start, size_t length, int prot, int flags, int fd, off_t off) __THROW { 51 #endif // Linux/32-bit off_t case
|
/openbmc/openbmc/poky/meta/recipes-devtools/strace/strace/ |
H A D | 0002-tests-Replace-off64_t-with-off_t.patch | 4 Subject: [PATCH] tests: Replace off64_t with off_t 6 when _FILE_OFFSET_BITS=64 then off_t is 64bit wide, this also fixes 26 +static const off_t offsets[] = { 40 + const off_t offset = 0xdeadbeefbadc0dedULL; 41 + const off_t nbytes = 0xfacefeedcafef00dULL; 55 + const off_t offset = 0xdeadbeefbadc0ded; 56 + const off_t nbytes = 0xfacefeedcafef00d;
|
/openbmc/qemu/include/io/ |
H A D | channel.h | 137 off_t offset, 142 off_t offset, 151 off_t (*io_seek)(QIOChannel *ioc, 152 off_t offset, 563 size_t niov, off_t offset, Error **errp); 579 off_t offset, Error **errp); 599 size_t niov, off_t offset, Error **errp); 615 off_t offset, Error **errp); 714 off_t qio_channel_io_seek(QIOChannel *ioc, 715 off_t offset,
|
/openbmc/phosphor-ipmi-flash/tools/test/ |
H A D | internal_sys_mock.hpp | 21 MOCK_METHOD(int, pread, (int, void*, std::size_t, off_t), (const override)); 22 MOCK_METHOD(int, pwrite, (int, const void*, std::size_t, off_t), 25 MOCK_METHOD(void*, mmap, (void*, std::size_t, int, int, int, off_t), 36 MOCK_METHOD(ssize_t, sendfile, (int, int, off_t*, size_t),
|
/openbmc/qemu/io/ |
H A D | channel-file.c | 39 if (lseek(fd, 0, SEEK_CUR) != (off_t)-1) { in qio_channel_file_new_fd() 81 if (lseek(ioc->fd, 0, SEEK_CUR) != (off_t)-1) { in qio_channel_file_new_path() 167 off_t offset, in qio_channel_file_preadv() 193 off_t offset, in qio_channel_file_pwritev() 235 static off_t qio_channel_file_seek(QIOChannel *ioc, in qio_channel_file_seek() 236 off_t offset, in qio_channel_file_seek() 241 off_t ret; in qio_channel_file_seek() 244 if (ret == (off_t)-1) { in qio_channel_file_seek()
|
/openbmc/qemu/migration/ |
H A D | qemu-file.h | 74 void qemu_set_offset(QEMUFile *f, off_t off, int whence); 75 off_t qemu_get_offset(QEMUFile *f); 77 off_t pos); 79 off_t pos);
|
/openbmc/qemu/fsdev/ |
H A D | file-op-9p.h | 144 off_t (*telldir)(FsContext *, V9fsFidOpenState *); 146 void (*seekdir)(FsContext *, V9fsFidOpenState *, off_t); 148 const struct iovec *, int, off_t); 150 const struct iovec *, int, off_t); 154 int (*truncate)(FsContext *, V9fsPath *, off_t);
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-test/fwts/fwts/ |
H A D | 0006-use-intptr_t-to-fix-pointer-to-int-cast-issues.patch | 25 - if ((mem = fwts_mmap((off_t)addr, sizeof(fwts_acpi_table_rsdp))) == FWTS_MAP_FAILED) 34 - fwts_acpi_add_table("RSDP", rsdp, (uint64_t)(off_t)rsdp_addr, rsdp_len, FWTS_ACPI_TABLE_FROM_FIRM… 42 off_t offset; 45 - offset = ((off_t)(mem)) & (page_size - 1); 56 - if ((mapped_entry = fwts_mmap((off_t)addr, size)) != FWTS_MAP_FAILED) {
|
/openbmc/linux/tools/testing/selftests/sgx/ |
H A D | main.h | 13 off_t offset; 23 off_t bin_size; 27 off_t encl_base;
|
/openbmc/openbmc/poky/meta/recipes-support/gpgme/gpgme/ |
H A D | 0001-posix-io.c-Use-off_t-instead-of-off64_t.patch | 4 Subject: [PATCH] posix-io.c: Use off_t instead of off64_t 7 therefore use off_t and ino_t instead of 64bit variants. Musl e.g. does 18 …kspace/sources/gpgme/src/posix-io.c:78:3: error: unknown type name 'off64_t'; did you mean 'off_t'? 39 + off_t d_off;
|
/openbmc/qemu/hw/9pfs/ |
H A D | 9p-synth.h | 18 typedef ssize_t (*v9fs_synth_read)(void *buf, int len, off_t offset, 20 typedef ssize_t (*v9fs_synth_write)(void *buf, int len, off_t offset, 41 off_t offset;
|
H A D | coth.h | 65 struct V9fsDirEnt **, off_t, int32_t, 67 off_t coroutine_fn v9fs_co_telldir(V9fsPDU *, V9fsFidState *); 68 void coroutine_fn v9fs_co_seekdir(V9fsPDU *, V9fsFidState *, off_t); 75 int coroutine_fn v9fs_co_truncate(V9fsPDU *, V9fsPath *, off_t);
|
H A D | codir.c | 73 off_t offset, int32_t maxsize, bool dostat) in do_readdir_many() 79 off_t saved_dir_pos; in do_readdir_many() 218 off_t offset, int32_t maxsize, in v9fs_co_readdir_many() 232 off_t v9fs_co_telldir(V9fsPDU *pdu, V9fsFidState *fidp) in v9fs_co_telldir() 234 off_t err; in v9fs_co_telldir() 251 off_t offset) in v9fs_co_seekdir()
|
/openbmc/linux/tools/perf/ui/ |
H A D | browser.h | 30 void (*seek)(struct ui_browser *browser, off_t offset, int whence); 76 void ui_browser__argv_seek(struct ui_browser *browser, off_t offset, int whence); 79 void ui_browser__rb_tree_seek(struct ui_browser *browser, off_t offset, int whence); 82 void ui_browser__list_head_seek(struct ui_browser *browser, off_t offset, int whence);
|
/openbmc/linux/include/linux/ |
H A D | agpgart.h | 52 off_t pg_start; /* starting page to populate */ 58 off_t pg_start; 81 off_t pg_start; /* starting page to populate */
|
/openbmc/linux/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet.h | 529 static inline u32 axienet_ior(struct axienet_local *lp, off_t offset) in axienet_ior() 560 static inline void axienet_iow(struct axienet_local *lp, off_t offset, in axienet_iow() 577 off_t reg, u32 value) in axienet_dma_out32() 593 off_t reg, u64 value) in axienet_dma_out64() 598 static inline void axienet_dma_out_addr(struct axienet_local *lp, off_t reg, in axienet_dma_out_addr() 609 static inline void axienet_dma_out_addr(struct axienet_local *lp, off_t reg, in axienet_dma_out_addr()
|
/openbmc/openbmc/poky/meta/recipes-devtools/unfs3/unfs3/ |
H A D | 0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch | 4 Subject: [PATCH] Alias off64_t to off_t on linux if not defined 6 Musl C library does not define off64_t and has 64-bit default off_t 26 typedef off_t off64_t;
|
/openbmc/entity-manager/test/ |
H A D | test_fru-utils.cpp | 150 int64_t getDataTempl(const std::vector<uint8_t>& data, off_t offset, in getDataTempl() 153 if (offset >= static_cast<off_t>(data.size())) in getDataTempl() 309 off_t offset = 0; in TEST() 322 off_t offset = 0; in TEST() 336 off_t offset = 0; in TEST() 351 off_t offset = 0; in TEST() 364 off_t offset = 0; in TEST() 382 off_t offset = 0; in TEST()
|
/openbmc/u-boot/board/gdsys/common/ |
H A D | fpga.c | 12 int fpga_set_reg(u32 fpga, u16 *reg, off_t regoff, u16 data) in fpga_set_reg() 19 int fpga_get_reg(u32 fpga, u16 *reg, off_t regoff, u16 *data) in fpga_get_reg()
|