Home
last modified time | relevance | path

Searched refs:loff_t (Results 1 - 25 of 49) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/copy_file_range/
H A Dcopy_file_range01.c37 loff_t *off1, loff_t *off2, size_t len) in check_file_content()
63 static int check_file_offset(const char *m, int fd, loff_t len, in check_file_offset()
64 loff_t *off_before, loff_t *off_after) in check_file_offset()
66 loff_t fd_off = SAFE_LSEEK(fd, 0, SEEK_CUR); in check_file_offset()
100 static void test_one(size_t len, loff_t *off_in, loff_t *off_out, char *path) in test_one()
104 loff_t off_in_value_copy, off_out_value_copy; in test_one()
105 loff_t *off_new_i in test_one()
[all...]
H A Dcopy_file_range.h43 static int sys_copy_file_range(int fd_in, loff_t *off_in, in sys_copy_file_range()
44 int fd_out, loff_t *off_out, size_t len, unsigned int flags) in sys_copy_file_range()
H A Dcopy_file_range02.c65 loff_t len;
110 loff_t dst = 0; in verify_copy_file_range()
H A Dcopy_file_range03.c31 loff_t offset; in verify_copy_file_range_timestamp()
/third_party/ltp/testcases/kernel/syscalls/fallocate/
H A Dfallocate01.c110 void runtest(int, int, loff_t);
116 loff_t block_size;
194 loff_t expected_size; in main()
218 void runtest(int mode, int fd, loff_t expected_size) in runtest()
220 loff_t offset; in runtest()
221 loff_t len = block_size; in runtest()
222 loff_t write_offset, lseek_offset; in runtest()
H A Dfallocate03.c116 loff_t offset;
117 loff_t len;
H A Dfallocate02.c69 loff_t offset;
70 loff_t len;
/third_party/ltp/testcases/kernel/mce-test/hwpoison/kinclude/linux/
H A Dseq_file.h10 void * (*start) (struct seq_file *m, loff_t *pos);
12 void * (*next) (struct seq_file *m, void *v, loff_t *pos);
19 static inline ssize_t seq_read(struct file *a, char *b, size_t c, loff_t *d) { return 0; } in seq_read()
20 static inline ssize_t seq_write(struct file *a, const char *b, size_t c, loff_t *d) { return 0; } in seq_write()
H A Dfs.h6 ssize_t (*read) (struct file *, char *, size_t, loff_t *);
9 ssize_t (*write) (struct file *, const char *, size_t, loff_t *);
/third_party/ltp/testcases/kernel/mce-test/tsrc/kinclude/linux/
H A Dseq_file.h10 void * (*start) (struct seq_file *m, loff_t *pos);
12 void * (*next) (struct seq_file *m, void *v, loff_t *pos);
19 static inline ssize_t seq_read(struct file *a, char *b, size_t c, loff_t *d) { return 0; } in seq_read()
20 static inline ssize_t seq_write(struct file *a, const char *b, size_t c, loff_t *d) { return 0; } in seq_write()
H A Dfs.h6 ssize_t (*read) (struct file *, char *, size_t, loff_t *);
9 ssize_t (*write) (struct file *, const char *, size_t, loff_t *);
/third_party/ltp/include/lapi/
H A Dfs.h58 static inline loff_t tst_max_lfs_filesize(void) in tst_max_lfs_filesize()
61 return (loff_t)LLONG_MAX; in tst_max_lfs_filesize()
64 loff_t ret = ULONG_MAX; in tst_max_lfs_filesize()
H A Dsplice.h14 static inline ssize_t splice(int fd_in, loff_t *off_in, int fd_out, in splice()
15 loff_t *off_out, size_t len, unsigned int flags) in splice()
H A Dfallocate.h39 static inline long fallocate(int fd, int mode, loff_t offset, loff_t len) in fallocate()
/third_party/ltp/testcases/kernel/syscalls/splice/
H A Dsplice03.c47 static loff_t offset;
51 loff_t *offin;
53 loff_t *offout;
/third_party/NuttX/drivers/bch/
H A Dbch.h87 EXTERN ssize_t bchlib_read(void *handle, char *buffer, loff_t offset, size_t len);
88 EXTERN ssize_t bchlib_write(void *handle, const char *buffer, loff_t offset, size_t len);
H A Dbchdev_driver.c178 loff_t newpos; in bch_seek()
197 newpos = (loff_t)bch->sectsize * bch->nsectors + offset; in bch_seek()
H A Dbchlib_read.c61 ssize_t bchlib_read(void *handle, char *buffer, loff_t offset, size_t len) in bchlib_read()
/third_party/ltp/testcases/kernel/syscalls/llseek/
H A Dllseek01.c30 TEST(lseek(fildes, (loff_t) (80 * BUFSIZ), SEEK_SET)); in verify_llseek()
41 TEST(lseek(fildes, (loff_t) BUFSIZ, SEEK_SET)); in verify_llseek()
H A Dllseek02.c42 TEST(lseek(*tc->fd, (loff_t) 1, tc->whence)); in verify_llseek()
/third_party/ltp/testcases/kdump/lib/crasher/
H A Dcrasher.c45 loff_t *offset) in crasher_read()
56 size_t count, loff_t *data) in crasher_write()
/third_party/NuttX/fs/nfs/
H A Dnfs_node.h92 loff_t n_fpos; /* NFS File position */
/third_party/libdrm/
H A Dlibdrm_macros.h52 int fd, loff_t offset) in drm_mmap()
/third_party/NuttX/fs/vfs/
H A Dfs_lseek.c99 filep->f_pos = (loff_t)offset; /* Might be beyond the end-of-file */ in file_seek()
/third_party/ltp/testcases/kernel/syscalls/vmsplice/
H A Dvmsplice01.c56 loff_t offset; in vmsplice_test()

Completed in 7 milliseconds

12