/third_party/ltp/testcases/kernel/syscalls/copy_file_range/ |
H A D | copy_file_range01.c | 37 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 D | copy_file_range.h | 43 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 D | copy_file_range02.c | 65 loff_t len; 110 loff_t dst = 0; in verify_copy_file_range()
|
H A D | copy_file_range03.c | 31 loff_t offset; in verify_copy_file_range_timestamp()
|
/third_party/ltp/testcases/kernel/syscalls/fallocate/ |
H A D | fallocate01.c | 110 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 D | fallocate03.c | 116 loff_t offset; 117 loff_t len;
|
H A D | fallocate02.c | 69 loff_t offset; 70 loff_t len;
|
/third_party/ltp/testcases/kernel/mce-test/hwpoison/kinclude/linux/ |
H A D | seq_file.h | 10 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 D | fs.h | 6 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 D | seq_file.h | 10 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 D | fs.h | 6 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 D | fs.h | 58 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 D | splice.h | 14 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 D | fallocate.h | 39 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 D | splice03.c | 47 static loff_t offset; 51 loff_t *offin; 53 loff_t *offout;
|
/third_party/NuttX/drivers/bch/ |
H A D | bch.h | 87 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 D | bchdev_driver.c | 178 loff_t newpos; in bch_seek() 197 newpos = (loff_t)bch->sectsize * bch->nsectors + offset; in bch_seek()
|
H A D | bchlib_read.c | 61 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 D | llseek01.c | 30 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 D | llseek02.c | 42 TEST(lseek(*tc->fd, (loff_t) 1, tc->whence)); in verify_llseek()
|
/third_party/ltp/testcases/kdump/lib/crasher/ |
H A D | crasher.c | 45 loff_t *offset) in crasher_read() 56 size_t count, loff_t *data) in crasher_write()
|
/third_party/NuttX/fs/nfs/ |
H A D | nfs_node.h | 92 loff_t n_fpos; /* NFS File position */
|
/third_party/libdrm/ |
H A D | libdrm_macros.h | 52 int fd, loff_t offset) in drm_mmap()
|
/third_party/NuttX/fs/vfs/ |
H A D | fs_lseek.c | 99 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 D | vmsplice01.c | 56 loff_t offset; in vmsplice_test()
|