/tools/power/cpupower/utils/helpers/ |
D | msr.c | 36 if (lseek(fd, idx, SEEK_CUR) == -1) in read_msr() 65 if (lseek(fd, idx, SEEK_CUR) == -1) in write_msr()
|
/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/testing/selftests/arm64/mte/ |
D | check_user_mem.c | 37 lseek(fd, 0, 0); in check_usermem_access_fault() 61 lseek(fd, 0, 0); in check_usermem_access_fault()
|
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/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/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/power/cpupower/debug/i386/ |
D | powernow-k8-decode.c | 42 lseek(fd, MSR_FIDVID_STATUS, SEEK_CUR); in get_fidvid()
|
D | centrino-decode.c | 47 if (lseek(fd, msr, SEEK_CUR) == -1) in rdmsr()
|
/tools/testing/selftests/powerpc/dscr/ |
D | dscr.h | 86 lseek(fd, 0, SEEK_SET); in get_default_dscr()
|
/tools/bootconfig/ |
D | main.c | 190 if (lseek(fd, -BOOTCONFIG_MAGIC_LEN, SEEK_END) < 0) in load_xbc_from_initrd() 200 if (lseek(fd, -(8 + BOOTCONFIG_MAGIC_LEN), SEEK_END) < 0) in load_xbc_from_initrd() 217 if (lseek(fd, stat.st_size - (size + 8 + BOOTCONFIG_MAGIC_LEN), in load_xbc_from_initrd()
|
/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/perf/util/ |
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() 3222 (*p)->offset = lseek(ff->fd, 0, SEEK_CUR); in do_write_feat() 3229 lseek(ff->fd, (*p)->offset, SEEK_SET); in do_write_feat() 3233 (*p)->size = lseek(ff->fd, 0, SEEK_CUR) - (*p)->offset; 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() 3323 evsel->id_offset = lseek(fd, 0, SEEK_CUR); in perf_session__write_header() 3331 attr_offset = lseek(ff.fd, 0, SEEK_CUR); in perf_session__write_header() [all …]
|
D | trace-event-info.c | 47 off_t hdr_pos = lseek(output_fd, 0, SEEK_CUR); in record_file() 562 tdata->size = lseek(output_fd, 0, SEEK_CUR); in tracing_data_get()
|
D | trace-event-read.c | 161 lseek(input_fd, size, SEEK_CUR); in read_proc_kallsyms()
|
D | data.c | 401 if (lseek(data->file.fd, pos, SEEK_SET) == (off_t)-1) { in perf_data__switch()
|
D | symbol-minimal.c | 305 if (lseek(fd, 0, SEEK_SET)) in fd__is_64_bit()
|
/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/powerpc/mm/ |
D | subpage_prot.c | 204 filesize = lseek(fd, 0, SEEK_END); in test_file()
|
/tools/testing/selftests/sparc64/drivers/ |
D | adi-test.c | 303 ret = lseek(fd, offset, whence); in seek_adi() 313 (void)lseek(fd, 0, SEEK_END); in seek_adi()
|
/tools/testing/selftests/exec/ |
D | execveat.c | 260 lseek(fd, 10, SEEK_SET); in run_tests()
|
/tools/perf/ |
D | builtin-inject.c | 173 offset = lseek(inject->output.file.fd, 0, SEEK_CUR); in perf_event__repipe_auxtrace() 764 lseek(fd, output_data_offset, SEEK_SET); in __cmd_inject()
|
D | builtin-record.c | 375 return lseek(trace_fd, 0, SEEK_CUR); in record__aio_get_pos() 380 lseek(trace_fd, pos, SEEK_SET); in record__aio_set_pos() 608 file_offset = lseek(fd, 0, SEEK_CUR); in record__process_auxtrace() 1228 data->file.size = lseek(perf_data__fd(data), 0, SEEK_CUR); in record__finish_output()
|
/tools/perf/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 19 8 common lseek sys_lseek
|