Home
last modified time | relevance | path

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

12

/tools/io_uring/
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()
Dliburing.h109 off_t offset) in io_uring_prep_rw()
121 unsigned nr_vecs, off_t offset) in io_uring_prep_readv()
128 off_t offset) in io_uring_prep_read_fixed()
135 unsigned nr_vecs, off_t offset) in io_uring_prep_writev()
142 off_t offset) in io_uring_prep_write_fixed()
/tools/perf/ui/
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);
Dbrowser.c103 void ui_browser__list_head_seek(struct ui_browser *browser, off_t offset, int whence) in ui_browser__list_head_seek()
138 void ui_browser__rb_tree_seek(struct ui_browser *browser, off_t offset, int whence) in ui_browser__rb_tree_seek()
370 off_t offset = nr_entries - browser->nr_entries; in ui_browser__update_nr_entries()
391 off_t offset; in ui_browser__run()
608 void ui_browser__argv_seek(struct ui_browser *browser, off_t offset, int whence) in ui_browser__argv_seek()
/tools/testing/selftests/memfd/
Dfuse_mnt.c48 off_t offset, in memfd_readdir()
78 off_t offset, in memfd_read()
/tools/perf/util/
Dauxtrace.h192 off_t data_offset;
295 off_t offset;
440 off_t auxtrace_offset,
463 union perf_event *event, off_t data_offset,
518 off_t file_offset);
713 off_t auxtrace_offset,
Dsymbol-elf.c1307 static int copy_bytes(int from, off_t from_offs, int to, off_t to_offs, u64 len) in copy_bytes()
1457 static int kcore__add_phdr(struct kcore *kcore, int idx, off_t offset, in kcore__add_phdr()
1477 static off_t kcore__write(struct kcore *kcore) in kcore__write()
1483 off_t offset;
1484 off_t rel;
1512 static struct phdr_data *phdr_data__new(u64 addr, u64 len, off_t offset) in phdr_data__new()
1527 off_t offset) in kcore_copy_info__addnew()
1737 off_t rel = 0; in kcore_copy__layout()
1925 off_t offset, sz; in kcore_copy()
1960 off_t offs = p->rel + offset; in kcore_copy()
[all …]
Dsession.h63 int perf_session__peek_event(struct perf_session *session, off_t file_offset,
Darm-spe.c110 off_t data_offset; in arm_spe_process_auxtrace_event()
Ddso.h329 off_t dso__data_size(struct dso *dso, struct machine *machine);
Dtrace-event-read.c104 off_t r; in read_string()
Dauxtrace.c114 off_t auxtrace_offset, in auxtrace_mmap_params__init()
355 union perf_event *event, off_t data_offset, in auxtrace_queues__add_event()
375 off_t file_offset, size_t sz) in auxtrace_queues__add_indexed_event()
654 union perf_event *event, off_t file_offset) in auxtrace_index__auxtrace_event()
814 off_t file_offset = buffer->data_offset - adj; in auxtrace_buffer__get_data()
/tools/testing/selftests/kvm/lib/
Delf.c18 off_t offset_rv; in elfhdr_get()
117 off_t offset, offset_rv; in kvm_vm_elf_load()
Dkvm_util_internal.h31 off_t offset;
/tools/testing/selftests/sparc64/drivers/
Dadi-test.c297 static off_t seek_adi(int fd, off_t offset, int whence) in seek_adi()
300 off_t ret; in seek_adi()
475 off_t offset_out, offset_in; in test4_lseek()
526 off_t oret; in test5_rw_aligned_1byte()
572 off_t oret; in test6_rw_aligned_9434bytes()
624 off_t oret; in test7_rw_aligned_14963bytes()
/tools/testing/selftests/ia64/
Daliasing-test.c24 static int map_mem(char *path, off_t offset, size_t length, int touch) in map_mem()
62 static int scan_tree(char *path, char *file, off_t offset, size_t length, int touch) in scan_tree()
/tools/testing/selftests/drivers/dma-buf/
Dudmabuf.c27 off_t size; in main()
/tools/testing/selftests/powerpc/ptrace/
Dcore-pkey.c174 static off_t try_core_file(const char *filename, struct shared_info *info, in try_core_file()
196 off_t core_size) in check_core_file()
261 off_t core_size; in parent()
/tools/testing/selftests/powerpc/mm/
Dsubpage_prot.c192 off_t filesize; in test_file()
/tools/perf/
Dbuiltin-record.c149 void *buf, size_t size, off_t off) in record__aio_write()
176 off_t rem_off; in record__aio_complete()
305 static int record__aio_push(struct record *rec, struct mmap *map, off_t *off) in record__aio_push()
342 static off_t record__aio_get_pos(int trace_fd) in record__aio_get_pos()
347 static void record__aio_set_pos(int trace_fd, off_t pos) in record__aio_set_pos()
393 off_t *off __maybe_unused) in record__aio_push()
398 static off_t record__aio_get_pos(int trace_fd __maybe_unused) in record__aio_get_pos()
403 static void record__aio_set_pos(int trace_fd __maybe_unused, off_t pos __maybe_unused) in record__aio_set_pos()
542 off_t file_offset; in record__process_auxtrace()
955 off_t off = 0; in record__mmap_read_evlist()
Dbuiltin-inject.c119 static int copy_bytes(struct perf_inject *inject, int fd, off_t size) in copy_bytes()
126 ssz = read(fd, buf, min(size, (off_t)sizeof(buf))); in copy_bytes()
149 off_t offset; in perf_event__repipe_auxtrace()
/tools/include/nolibc/
Dnolibc.h143 typedef signed long off_t; typedef
263 off_t st_size; /* total size, in bytes */
1587 off_t sys_lseek(int fd, off_t offset, int whence) in sys_lseek()
1999 off_t lseek(int fd, off_t offset, int whence) in lseek()
2001 off_t ret = sys_lseek(fd, offset, whence); in lseek()
/tools/testing/selftests/filesystems/incfs/
Dincfs_test.c52 off_t size;
295 off_t block_offset = in emit_test_blocks()
296 ((off_t)block_index) * INCFS_DATA_FILE_BLOCK_SIZE; in emit_test_blocks()
479 off_t offset = ((off_t)block_idx) * INCFS_DATA_FILE_BLOCK_SIZE; in read_test_file()
550 off_t size = file->size; in validate_test_file_content_with_seed()
577 (off_t)INCFS_DATA_FILE_BLOCK_SIZE, in validate_test_file_content_with_seed()
578 size - ((off_t)block_idx) * INCFS_DATA_FILE_BLOCK_SIZE); in validate_test_file_content_with_seed()
705 off_t offset = i * INCFS_DATA_FILE_BLOCK_SIZE; in build_mtree()
/tools/bpf/
Dbpf_jit_disasm.c174 off_t off = 0; in get_last_jit_image()
/tools/perf/tests/
Ddso-data.c55 off_t offset;

12