/tools/testing/selftests/vm/ |
D | compaction_test.c | 111 lseek(fd, 0, SEEK_SET); in check_compaction() 120 lseek(fd, 0, SEEK_SET); in check_compaction() 142 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 | 111 fseek(fp, 0, SEEK_SET); in filename__read_build_id() 131 fseek(fp, ehdr.e_phoff, SEEK_SET); in filename__read_build_id() 155 fseek(fp, offset, SEEK_SET); in filename__read_build_id() 182 fseek(fp, ehdr.e_phoff, SEEK_SET); in filename__read_build_id() 206 fseek(fp, offset, SEEK_SET); in filename__read_build_id() 303 if (lseek(fd, 0, SEEK_SET)) in fd__is_64_bit()
|
D | header.c | 2027 if (lseek(input, orig_offset, SEEK_SET) == (off_t)-1) in perf_header__read_build_ids() 2883 if (lseek(fd, section->offset, SEEK_SET) == (off_t)-1) { in perf_file_section__fprintf_info() 2970 lseek(ff->fd, (*p)->offset, SEEK_SET); in do_write_feat() 3007 lseek(fd, sec_start + sec_size, SEEK_SET); in perf_header__adds_write() 3014 lseek(fd, sec_start, SEEK_SET); in perf_header__adds_write() 3061 lseek(fd, sizeof(f_header), SEEK_SET); in perf_session__write_header() 3116 lseek(fd, 0, SEEK_SET); in perf_session__write_header() 3122 lseek(fd, header->data_offset + header->data_size, SEEK_SET); in perf_session__write_header() 3161 lseek(fd, header->feat_offset, SEEK_SET); in perf_header__process_sections() 3300 lseek(fd, 0, SEEK_SET); in perf_file_header__read() [all …]
|
D | data.c | 394 if (lseek(data->file.fd, pos, SEEK_SET) == (off_t)-1) { in perf_data__switch()
|
D | session.c | 1532 lseek(fd, file_offset, SEEK_SET); in perf_session__process_user_event() 1544 lseek(fd, file_offset + event->header.size, SEEK_SET); in perf_session__process_user_event() 1622 if (lseek(fd, file_offset, SEEK_SET) == (off_t)-1 || in perf_session__peek_event()
|
D | probe-file.c | 925 ret = lseek(pcache->fd, 0, SEEK_SET); in probe_cache__commit()
|
D | symbol-elf.c | 1317 if (lseek(to, to_offs, SEEK_SET) != to_offs) in copy_bytes() 1320 if (lseek(from, from_offs, SEEK_SET) != from_offs) in copy_bytes()
|
/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 | 52 lseek(fds[i % 2], i, (i / 2) % 2 ? SEEK_CUR : SEEK_SET); in llseek_loop() 53 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/include/uapi/linux/ |
D | fs.h | 43 #define SEEK_SET 0 /* seek relative to beginning of file */ macro
|
/tools/power/acpi/os_specific/service_layers/ |
D | oslinuxtbl.c | 409 fseek(file, 0, SEEK_SET); in osl_find_rsdp_via_efi_by_keyword() 1217 fseek(table_file, file_offset, SEEK_SET); in osl_read_table_from_file() 1265 fseek(table_file, file_offset, SEEK_SET); in osl_read_table_from_file()
|
/tools/testing/selftests/exec/ |
D | execveat.c | 258 lseek(fd, 10, SEEK_SET); in run_tests()
|
/tools/testing/selftests/bpf/ |
D | test_progs.c | 59 fseeko(stdout, 0, SEEK_SET); /* rewind */ in dump_test_log()
|
D | test_sysctl.c | 1491 if (test->seek && lseek(fd, test->seek, SEEK_SET) == -1) { in access_sysctl()
|
/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/perf/ |
D | builtin-inject.c | 694 lseek(fd, output_data_offset, SEEK_SET); in __cmd_inject()
|
/tools/include/nolibc/ |
D | nolibc.h | 239 #define SEEK_SET 0 macro
|