/tools/testing/selftests/vm/ |
D | compaction_test.c | 112 lseek(fd, 0, SEEK_SET); in check_compaction() 121 lseek(fd, 0, SEEK_SET); in check_compaction() 143 lseek(fd, 0, SEEK_SET); in check_compaction()
|
/tools/testing/selftests/kvm/lib/ |
D | elf.c | 80 offset_rv = lseek(fd, 0, SEEK_SET); in elfhdr_get() 141 offset_rv = lseek(fd, offset, SEEK_SET); in kvm_vm_elf_load() 184 offset_rv = lseek(fd, phdr.p_offset, SEEK_SET); in kvm_vm_elf_load()
|
/tools/perf/util/ |
D | symbol-minimal.c | 113 fseek(fp, 0, SEEK_SET); in filename__read_build_id() 133 fseek(fp, ehdr.e_phoff, SEEK_SET); in filename__read_build_id() 157 fseek(fp, offset, SEEK_SET); in filename__read_build_id() 184 fseek(fp, ehdr.e_phoff, SEEK_SET); in filename__read_build_id() 208 fseek(fp, offset, SEEK_SET); in filename__read_build_id() 305 if (lseek(fd, 0, SEEK_SET)) in fd__is_64_bit()
|
D | header.c | 2196 if (lseek(input, orig_offset, SEEK_SET) == (off_t)-1) in perf_header__read_build_ids() 3142 if (lseek(fd, section->offset, SEEK_SET) == (off_t)-1) { in perf_file_section__fprintf_info() 3229 lseek(ff->fd, (*p)->offset, SEEK_SET); in do_write_feat() 3266 lseek(fd, sec_start + sec_size, SEEK_SET); in perf_header__adds_write() 3273 lseek(fd, sec_start, SEEK_SET); in perf_header__adds_write() 3320 lseek(fd, sizeof(f_header), SEEK_SET); in perf_session__write_header() 3375 lseek(fd, 0, SEEK_SET); in perf_session__write_header() 3381 lseek(fd, header->data_offset + header->data_size, SEEK_SET); in perf_session__write_header() 3420 lseek(fd, header->feat_offset, SEEK_SET); in perf_header__process_sections() 3559 lseek(fd, 0, SEEK_SET); in perf_file_header__read() [all …]
|
D | data.c | 401 if (lseek(data->file.fd, pos, SEEK_SET) == (off_t)-1) { in perf_data__switch()
|
D | session.c | 1600 lseek(fd, file_offset, SEEK_SET); in perf_session__process_user_event() 1612 lseek(fd, file_offset + event->header.size, SEEK_SET); in perf_session__process_user_event() 1690 if (lseek(fd, file_offset, SEEK_SET) == (off_t)-1 || in perf_session__peek_event()
|
D | probe-file.c | 945 ret = lseek(pcache->fd, 0, SEEK_SET); in probe_cache__commit()
|
/tools/power/acpi/tools/ec/ |
D | ec_access.c | 151 lseek(fd, 0, SEEK_SET); in dump_ec() 180 error = lseek(fd, byte_offset, SEEK_SET); in read_ec_val() 196 error = lseek(fd, byte_offset, SEEK_SET); in write_ec_val()
|
/tools/testing/selftests/sparc64/drivers/ |
D | adi-test.c | 480 offset_out = seek_adi(fd, offset_in, SEEK_SET); in test4_lseek() 487 offset_out = seek_adi(fd, offset_in, SEEK_SET); in test4_lseek() 532 oret = seek_adi(fd, offset, SEEK_SET); in test5_rw_aligned_1byte() 542 oret = seek_adi(fd, offset, SEEK_SET); in test5_rw_aligned_1byte() 579 oret = seek_adi(fd, offset, SEEK_SET); in test6_rw_aligned_9434bytes() 591 oret = seek_adi(fd, offset, SEEK_SET); in test6_rw_aligned_9434bytes() 633 oret = seek_adi(fd, offset, SEEK_SET); in test7_rw_aligned_14963bytes() 645 oret = seek_adi(fd, offset, SEEK_SET); in test7_rw_aligned_14963bytes()
|
/tools/power/acpi/common/ |
D | cmfsize.c | 54 status = fseek(file, current_offset, SEEK_SET); in cm_get_file_size()
|
/tools/testing/selftests/proc/ |
D | proc-loadavg-001.c | 64 lseek(fd, 0, SEEK_SET); in main()
|
/tools/leds/ |
D | led_hw_brightness_mon.c | 73 ret = lseek(pollfd.fd, 0, SEEK_SET); in main()
|
/tools/testing/selftests/powerpc/dscr/ |
D | dscr.h | 86 lseek(fd, 0, SEEK_SET); in get_default_dscr()
|
/tools/perf/ui/ |
D | browser.c | 112 case SEEK_SET: in ui_browser__list_head_seek() 144 case SEEK_SET: in ui_browser__rb_tree_seek() 259 browser->seek(browser, 0, SEEK_SET); in ui_browser__reset_index() 383 browser->seek(browser, browser->top_idx, SEEK_SET); in ui_browser__update_nr_entries() 611 case SEEK_SET: in ui_browser__argv_seek()
|
/tools/perf/tests/ |
D | bpf.c | 53 lseek(fds[i % 2], i, (i / 2) % 2 ? SEEK_CUR : SEEK_SET); in llseek_loop() 54 lseek(fds[(i + 1) % 2], i, (i / 2) % 2 ? SEEK_CUR : SEEK_SET); in llseek_loop()
|
/tools/testing/selftests/net/ |
D | tcp_fastopen_backup_key.c | 61 lseek(proc_fd, 0, SEEK_SET); in get_keys() 86 lseek(proc_fd, 0, SEEK_SET); in set_keys()
|
/tools/testing/selftests/arm64/mte/ |
D | mte_common_util.c | 183 lseek(fd, 0, SEEK_SET); in mte_allocate_file_memory() 203 lseek(fd, 0, SEEK_SET); in mte_allocate_file_memory_tag_range()
|
/tools/include/uapi/linux/ |
D | fs.h | 43 #define SEEK_SET 0 /* seek relative to beginning of file */ macro
|
/tools/testing/selftests/bpf/prog_tests/ |
D | btf_dump.c | 204 fseek(dump_buf_file, 0, SEEK_SET); in test_btf_dump_incremental()
|
/tools/power/acpi/os_specific/service_layers/ |
D | oslinuxtbl.c | 409 fseek(file, 0, SEEK_SET); in osl_find_rsdp_via_efi_by_keyword() 1215 fseek(table_file, file_offset, SEEK_SET); in osl_read_table_from_file() 1266 fseek(table_file, file_offset, SEEK_SET); in osl_read_table_from_file()
|
/tools/testing/selftests/exec/ |
D | execveat.c | 260 lseek(fd, 10, SEEK_SET); in run_tests()
|
/tools/bootconfig/ |
D | main.c | 218 SEEK_SET) < 0) in load_xbc_from_initrd()
|
/tools/hv/ |
D | hv_kvp_daemon.c | 123 struct flock fl = {F_WRLCK, SEEK_SET, 0, 0, 0}; in kvp_acquire_lock() 135 struct flock fl = {F_UNLCK, SEEK_SET, 0, 0, 0}; in kvp_release_lock()
|
/tools/testing/selftests/bpf/ |
D | test_progs.c | 88 fseeko(stdout, 0, SEEK_SET); /* rewind */ in dump_test_log()
|
/tools/perf/ |
D | builtin-inject.c | 764 lseek(fd, output_data_offset, SEEK_SET); in __cmd_inject()
|