Home
last modified time | relevance | path

Searched refs:off_t (Results 1 – 25 of 343) sorted by relevance

12345678910>>...14

/OK3568_Linux_fs/kernel/arch/c6x/include/asm/
H A Dsyscalls.h28 size_t count, off_t pos_low, off_t pos_high);
30 size_t count, off_t pos_low, off_t pos_high);
32 off_t length_low, off_t length_high);
34 off_t length_low, off_t length_high);
/OK3568_Linux_fs/external/recovery/minzip/
H A DSysUtil.c47 static int getFileStartAndLength(int fd, off_t *start_, size_t *length_) in getFileStartAndLength()
49 off_t start, end; in getFileStartAndLength()
59 if (start == (off_t) -1 || end == (off_t) -1) { in getFileStartAndLength()
85 off_t start; in sysLoadFileInShmem()
120 off_t start; in sysMapFileInShmem()
149 int sysMapFileSegmentInShmem(int fd, off_t start, long length, in sysMapFileSegmentInShmem()
152 off_t dummy; in sysMapFileSegmentInShmem()
154 off_t actualStart; in sysMapFileSegmentInShmem()
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/minzip/
H A DSysUtil.c47 static int getFileStartAndLength(int fd, off_t *start_, size_t *length_) in getFileStartAndLength()
49 off_t start, end; in getFileStartAndLength()
59 if (start == (off_t) -1 || end == (off_t) -1) { in getFileStartAndLength()
85 off_t start; in sysLoadFileInShmem()
120 off_t start; in sysMapFileInShmem()
149 int sysMapFileSegmentInShmem(int fd, off_t start, long length, in sysMapFileSegmentInShmem()
152 off_t dummy; in sysMapFileSegmentInShmem()
154 off_t actualStart; in sysMapFileSegmentInShmem()
/OK3568_Linux_fs/buildroot/package/zip/
H A D0006-unix-configure-borrow-the-LFS-test-from-autotools.patch27 -# Now we set the 64-bit file environment and check the size of off_t
38 # define _LARGE_FILES /* some OSes need this for 64-bit off_t */
45 + /* Check that off_t can represent 2**63 - 1 correctly.
49 +#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
56 - off_t offset;
58 - /* see if have 64-bit off_t */
61 - printf(" off_t is %d bytes\n", sizeof(off_t));
82 - echo -- no Large File Support - no 64-bit off_t
/OK3568_Linux_fs/kernel/tools/io_uring/
H A Dio_uring-cp.c29 off_t first_offset, offset;
47 static int get_file_size(int fd, off_t *size) in get_file_size()
84 static int queue_read(struct io_uring *ring, off_t size, off_t offset) in queue_read()
123 static int copy_file(struct io_uring *ring, off_t insize) in copy_file()
127 off_t write_left, offset; in copy_file()
142 off_t this_size = insize; in copy_file()
230 off_t insize; in main()
H A Dliburing.h110 off_t offset) in io_uring_prep_rw()
122 unsigned nr_vecs, off_t offset) in io_uring_prep_readv()
129 off_t offset) in io_uring_prep_read_fixed()
136 unsigned nr_vecs, off_t offset) in io_uring_prep_writev()
143 off_t offset) in io_uring_prep_write_fixed()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/
H A Dfcntl.h56 typedef __off_t off_t; typedef
58 typedef __off64_t off_t; typedef
271 extern int lockf (int __fd, int __cmd, off_t __len);
288 extern int posix_fadvise (int __fd, off_t __offset, off_t __len,
310 extern int posix_fallocate (int __fd, off_t __offset, off_t __len);
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/
H A Dfcntl.h56 typedef __off_t off_t; typedef
58 typedef __off64_t off_t; typedef
271 extern int lockf (int __fd, int __cmd, off_t __len);
288 extern int posix_fadvise (int __fd, off_t __offset, off_t __len,
310 extern int posix_fallocate (int __fd, off_t __offset, off_t __len);
/OK3568_Linux_fs/buildroot/package/libaacs/
H A D0001-read_file.h-include-sys-types.h.patch12 src/devtools/read_file.h:24:44: error: unknown type name ‘off_t
13 static size_t _read_file(const char *name, off_t min_size, off_t max_size, uint8_t **pdata)
33 static size_t _read_file(const char *name, off_t min_size, off_t max_size, uint8_t **pdata)
/OK3568_Linux_fs/buildroot/package/curlftpfs/
H A D0004-fix-musl-build-off-t.patch1 Use off_t instead of __off_t
5 public off_t type instead.
18 +static off_t test_size(const char* path)
27 + off_t size = (long long int)test_size(path);
36 + off_t size = test_size(path);
/OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/include/
H A Drtw_debug.h107 off_t offset, int count,
111 off_t offset, int count,
117 off_t offset, int count,
124 off_t offset, int count,
128 off_t offset, int count,
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/mtdutils/
H A Dmtdutils.c51 off_t* bad_block_offsets;
398 static void add_bad_block_offset(MtdWriteContext *ctx, off_t pos) { in add_bad_block_offset()
402 ctx->bad_block_alloc * sizeof(off_t)); in add_bad_block_offset()
412 off_t pos = lseek(fd, 0, SEEK_CUR); in write_block()
413 if (pos == (off_t) -1) return 1; in write_block()
505 off_t mtd_erase_blocks(MtdWriteContext *ctx, int blocks) in mtd_erase_blocks()
515 off_t pos = lseek(ctx->fd, 0, SEEK_CUR); in mtd_erase_blocks()
516 if ((off_t) pos == (off_t) -1) return pos; in mtd_erase_blocks()
550 if (mtd_erase_blocks(ctx, 0) == (off_t) -1) r = -1; in mtd_write_close()
561 off_t mtd_find_write_start(MtdWriteContext *ctx, off_t pos) { in mtd_find_write_start()
H A Dmtdutils.h52 off_t mtd_erase_blocks(MtdWriteContext *, int blocks); /* 0 ok, -1 for all */
53 off_t mtd_find_write_start(MtdWriteContext *ctx, off_t pos);
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-test/fwts/fwts/
H A D0006-use-intptr_t-to-fix-pointer-to-int-cast-issues.patch23 - if ((mem = fwts_mmap((off_t)addr, sizeof(fwts_acpi_table_rsdp))) == FWTS_MAP_FAILED)
32 - fwts_acpi_add_table("RSDP", rsdp, (uint64_t)(off_t)rsdp_addr, rsdp_len, FWTS_ACPI_TABLE_FROM_FIRM…
40 off_t offset;
43 - offset = ((off_t)(mem)) & (page_size - 1);
54 - if ((mapped_entry = fwts_mmap((off_t)addr, size)) != FWTS_MAP_FAILED) {
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dutil.h72 #define off_t _off_t macro
90 #undef off_t
93 #define off_t __int64 macro
100 #undef off_t
104 #define off_t off64_t macro
H A Dgsrt.c77 off_t num_samples; in start_read()
94 if (lsx_seeki(ft, (off_t)sizeof(file_size), SEEK_SET) != 0) in start_read()
169 if (!lsx_seeki(ft, (off_t)sizeof(uint32_t), SEEK_SET)) { in stop_write()
172 if (!lsx_seeki(ft, (off_t)HEADER_SIZE, SEEK_SET)) { in stop_write()
177 if (!lsx_seeki(ft, (off_t)0, SEEK_SET)) { in stop_write()
/OK3568_Linux_fs/external/recovery/mtdutils/
H A Dmtdutils.c44 off_t* bad_block_offsets;
420 static void add_bad_block_offset(MtdWriteContext *ctx, off_t pos) in add_bad_block_offset()
425 ctx->bad_block_alloc * sizeof(off_t)); in add_bad_block_offset()
435 off_t pos = lseek(fd, 0, SEEK_CUR); in write_block()
436 if (pos == (off_t) -1) return 1; in write_block()
528 off_t mtd_erase_blocks(MtdWriteContext *ctx, int blocks) in mtd_erase_blocks()
538 off_t pos = lseek(ctx->fd, 0, SEEK_CUR); in mtd_erase_blocks()
539 if ((off_t) pos == (off_t) -1) return pos; in mtd_erase_blocks()
573 if (mtd_erase_blocks(ctx, 0) == (off_t) -1) r = -1; in mtd_write_close()
584 off_t mtd_find_write_start(MtdWriteContext *ctx, off_t pos) in mtd_find_write_start()
H A Dmtdutils.h59 off_t mtd_erase_blocks(MtdWriteContext *, int blocks); /* 0 ok, -1 for all */
60 off_t mtd_find_write_start(MtdWriteContext *ctx, off_t pos);
/OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/core/
H A Drtw_debug.c13 off_t offset, int count, in proc_get_drv_version()
25 off_t offset, int count, in proc_get_write_reg()
74 off_t offset, int count, in proc_get_read_reg()
134 off_t offset, int count, in proc_get_adapter_state()
149 off_t offset, int count, in proc_get_best_channel()
/OK3568_Linux_fs/kernel/arch/riscv/kernel/
H A Dsys_riscv.c15 unsigned long fd, off_t offset, in riscv_sys_mmap()
28 unsigned long, fd, off_t, offset) in SYSCALL_DEFINE6() argument
35 unsigned long, fd, off_t, offset) in SYSCALL_DEFINE6() argument
/OK3568_Linux_fs/kernel/tools/perf/ui/
H A Dbrowser.h30 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);
/OK3568_Linux_fs/kernel/include/linux/
H A Dagpgart.h52 off_t pg_start; /* starting page to populate */
58 off_t pg_start;
81 off_t pg_start; /* starting page to populate */
H A Dscatterlist.h280 const off_t skip, const int nb_splits,
315 size_t buflen, off_t skip, bool to_buffer);
323 const void *buf, size_t buflen, off_t skip);
325 void *buf, size_t buflen, off_t skip);
327 size_t buflen, off_t skip);
513 bool sg_miter_skip(struct sg_mapping_iter *miter, off_t offset);
/OK3568_Linux_fs/external/security/librkcrypto/third_party/optee_client/libteec/src/
H A Dteec_benchmark.c122 off_t offset = 0; in mmap_paddr()
123 off_t page_addr = 0; in mmap_paddr()
130 offset = (off_t)paddr % getpagesize(); in mmap_paddr()
131 page_addr = (off_t)(paddr - offset); in mmap_paddr()
/OK3568_Linux_fs/external/recovery/update_engine/
H A Ddo_patch.c47 static off_t offtin(unsigned char *buf) in offtin()
49 off_t y; in offtin()
104 off_t oldpos, newpos; in do_patch_rkimg()
105 off_t ctrl[3]; in do_patch_rkimg()
106 off_t lenread; in do_patch_rkimg()
107 off_t i; in do_patch_rkimg()

12345678910>>...14