Home
last modified time | relevance | path

Searched refs:loff_t (Results 1 – 25 of 34) sorted by relevance

12

/external/strace/linux/
Dasm_stat.h7 # undef loff_t
18 # define loff_t __kernel_loff_t macro
31 # undef loff_t
42 # define loff_t loff_t macro
/external/ltp/testcases/kernel/syscalls/llseek/
Dllseek01.c102 loff_t offset; /* Ret value from llseek */ in main()
117 TEST(lseek64(fildes, (loff_t) (80 * BUFSIZ), SEEK_SET)); in main()
119 if (TEST_RETURN == (loff_t) - 1) { in main()
125 if (TEST_RETURN != (loff_t) (80 * BUFSIZ)) { in main()
142 offset = lseek64(fildes, (loff_t) BUFSIZ, SEEK_SET); in main()
143 if (offset != (loff_t) BUFSIZ) { in main()
Dllseek03.c115 TEST(lseek64(fd, (loff_t) 1, SEEK_CUR)); in testfunc_seekcur()
117 if (TEST_RETURN == (loff_t) -1) { in testfunc_seekcur()
151 TEST(lseek64(fd, (loff_t) 0, SEEK_END)); in testfunc_seekend()
153 if (TEST_RETURN == (loff_t) -1) { in testfunc_seekend()
Dllseek02.c151 TEST(lseek64(fildes, (loff_t) 0, whence)); in main()
153 if (TEST_RETURN != (loff_t) - 1) { in main()
/external/ltp/testcases/kernel/syscalls/fallocate/
Dfallocate01.c110 void runtest(int, int, loff_t);
116 loff_t block_size;
200 loff_t expected_size; in main()
224 void runtest(int mode, int fd, loff_t expected_size) in runtest()
226 loff_t offset; in runtest()
227 loff_t len = block_size; in runtest()
228 loff_t write_offset, lseek_offset; in runtest()
Dfallocate02.c67 loff_t offset;
68 loff_t len;
Dfallocate03.c115 loff_t offset;
116 loff_t len;
/external/ltp/include/lapi/
Dsplice.h28 ssize_t splice(int fd_in, loff_t *off_in, int fd_out, in splice()
29 loff_t *off_out, size_t len, unsigned int flags) in splice()
Dfallocate.h55 static inline long fallocate(int fd, int mode, loff_t offset, loff_t len) in fallocate()
/external/ltp/testcases/kernel/syscalls/splice/
Dsplice03.c59 static loff_t offset;
63 loff_t *offin;
65 loff_t *offout;
/external/e2fsprogs/contrib/
Dfallocate.c98 loff_t length = -2LL; in main()
99 loff_t offset = 0; in main()
/external/e2fsprogs/misc/
De4defrag.c363 loff_t offset, end_offset, length; in page_in_core()
372 offset = (loff_t)defrag_data.orig_start * block_size; in page_in_core()
373 length = (loff_t)defrag_data.len * block_size; in page_in_core()
419 loff_t offset; in defrag_fadvise()
424 offset = (loff_t)defrag_data.orig_start * block_size; in defrag_fadvise()
430 (loff_t)pagesize * page_num, sync_flag) < 0) in defrag_fadvise()
1282 static void print_progress(const char *file, loff_t start, loff_t file_size) in print_progress()
1304 loff_t start = 0; in call_defrag()
1558 (loff_t)orig_group_tmp->start->data.logical * block_size, in file_defrag()
1559 (loff_t)orig_group_tmp->len * block_size); in file_defrag()
Dfindsuper.c118 loff_t sk=0, skl=0; in main()
122 loff_t interval = 1024 * 1024; in main()
/external/autotest/client/tests/rmaptest/src/
Drmap-test.c141 loff_t offset; in main()
142 loff_t file_size; in main()
/external/google-breakpad/src/third_party/lss/
Dlinux_syscall_support.h1838 LSS_INLINE int LSS_NAME(fadvise64)(int fd, loff_t offset, in _syscall6()
1839 loff_t len, int advice) { in _syscall6()
1853 loff_t offset, loff_t len) { in _syscall6()
1854 union { loff_t off; unsigned w[2]; } o = { offset }, l = { len }; in _syscall6()
2146 LSS_INLINE int LSS_NAME(fadvise64)(int fd, loff_t offset, loff_t len, in _syscall2()
3189 LSS_INLINE int LSS_NAME(fallocate)(int f, int mode, loff_t offset, in _syscall2()
3190 loff_t len) { in _syscall2()
3450 loff_t *, res, uint, wh) in _syscall2()
3860 LSS_INLINE ssize_t LSS_NAME(pread64)(int f, void *b, size_t c, loff_t o) { in LSS_NAME()
3866 loff_t o) { in LSS_NAME()
[all …]
/external/libdrm/
Dlibdrm_macros.h50 int fd, loff_t offset) in drm_mmap()
/external/mesa3d/src/gallium/auxiliary/os/
Dos_mman.h62 int fd, loff_t offset) in os_mmap()
/external/ltp/testcases/kernel/syscalls/vmsplice/
Dvmsplice01.c101 loff_t offset; in vmsplice_test()
/external/xz-embedded/linux/lib/xz/
Dxz_dec_test.c103 size_t size, loff_t *pos) in xz_dec_test_write()
/external/fsck_msdos/
Ddir.c311 loff_t off; in delete()
446 loff_t off; in check_dot_dot()
530 loff_t off; in readDosDirSection()
1016 static loff_t lfoff;
/external/linux-kselftest/tools/testing/selftests/memfd/
Dfuse_test.c44 static int mfd_assert_new(const char *name, loff_t sz, unsigned int flags) in mfd_assert_new()
/external/fio/oslib/
Dlibmtd.c1016 loff_t seek; in mtd_is_bad()
1025 seek = (loff_t)eb * mtd->eb_size; in mtd_is_bad()
1035 loff_t seek; in mtd_mark_bad()
1046 seek = (loff_t)eb * mtd->eb_size; in mtd_mark_bad()
Dlibmtd_legacy.c239 loff_t offs = 0; in legacy_get_dev_info()
/external/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create_common.h105 const char *name, loff_t sz, int flags);
Dmemfd_create_common.c123 const char *name, loff_t sz, int flags) in check_mfd_new()

12