Home
last modified time | relevance | path

Searched refs:SEEK_CUR (Results 1 – 21 of 21) sorted by relevance

/tools/power/cpupower/utils/helpers/
Dmsr.c36 if (lseek(fd, idx, SEEK_CUR) == -1) in read_msr()
65 if (lseek(fd, idx, SEEK_CUR) == -1) in write_msr()
/tools/perf/tests/
Dbpf-script-test-prologue.c41 if (orig == SEEK_CUR) in bpf_func__null_lseek()
Dbpf.c52 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/perf/ui/
Dbrowser.c115 case SEEK_CUR: in ui_browser__list_head_seek()
147 case SEEK_CUR: in ui_browser__rb_tree_seek()
429 browser->seek(browser, +1, SEEK_CUR); in ui_browser__run()
438 browser->seek(browser, -1, SEEK_CUR); in ui_browser__run()
463 browser->seek(browser, +offset, SEEK_CUR); in ui_browser__run()
476 browser->seek(browser, -offset, SEEK_CUR); in ui_browser__run()
614 case SEEK_CUR: in ui_browser__argv_seek()
/tools/power/cpupower/debug/i386/
Dcentrino-decode.c47 if (lseek(fd, msr, SEEK_CUR) == -1) in rdmsr()
Dpowernow-k8-decode.c42 lseek(fd, MSR_FIDVID_STATUS, SEEK_CUR); in get_fidvid()
/tools/include/uapi/linux/
Dfs.h44 #define SEEK_CUR 1 /* seek relative to current file position */ macro
/tools/perf/util/
Dtrace-event-info.c47 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()
Darm-spe.c117 data_offset = lseek(fd, 0, SEEK_CUR); in arm_spe_process_auxtrace_event()
Dtrace-event-read.c161 lseek(input_fd, size, SEEK_CUR); in read_proc_kallsyms()
Dheader.c2963 (*p)->offset = lseek(ff->fd, 0, SEEK_CUR); in do_write_feat()
2974 (*p)->size = lseek(ff->fd, 0, SEEK_CUR) - (*p)->offset; in do_write_feat()
3064 evsel->id_offset = lseek(fd, 0, SEEK_CUR); in perf_session__write_header()
3072 attr_offset = lseek(ff.fd, 0, SEEK_CUR); in perf_session__write_header()
3090 header->data_offset = lseek(fd, 0, SEEK_CUR); in perf_session__write_header()
3587 tmp = lseek(fd, 0, SEEK_CUR); in perf_session__read_header()
3809 off_t offset = lseek(fd, 0, SEEK_CUR); in perf_event__process_tracing_data()
Ds390-cpumsf.c979 data_offset = lseek(fd, 0, SEEK_CUR); in s390_cpumsf_process_auxtrace_event()
Dintel-bts.c654 data_offset = lseek(fd, 0, SEEK_CUR); in intel_bts_process_auxtrace_event()
Dcs-etm.c2367 data_offset = lseek(fd, 0, SEEK_CUR); in cs_etm__process_auxtrace_event()
Dintel-pt.c2656 data_offset = lseek(fd, 0, SEEK_CUR); in intel_pt_process_auxtrace_event()
/tools/testing/selftests/sparc64/drivers/
Dadi-test.c496 offset_out = seek_adi(fd, 0, SEEK_CUR); in test4_lseek()
502 offset_out = seek_adi(fd, OFFSET_ADD, SEEK_CUR); in test4_lseek()
508 offset_out = seek_adi(fd, OFFSET_SUBTRACT, SEEK_CUR); in test4_lseek()
/tools/perf/ui/browsers/
Dannotate.c352 browser->b.seek(&browser->b, offset, SEEK_CUR); in annotate_browser__toggle_source()
361 browser->b.seek(&browser->b, -offset, SEEK_CUR); in annotate_browser__toggle_source()
367 browser->b.seek(&browser->b, -offset, SEEK_CUR); in annotate_browser__toggle_source()
376 browser->b.seek(&browser->b, -offset, SEEK_CUR); in annotate_browser__toggle_source()
Dhists.c1870 case SEEK_CUR: in ui_browser__hists_seek()
/tools/perf/
Dbuiltin-record.c344 return lseek(trace_fd, 0, SEEK_CUR); in record__aio_get_pos()
546 file_offset = lseek(fd, 0, SEEK_CUR); in record__process_auxtrace()
1074 data->file.size = lseek(perf_data__fd(data), 0, SEEK_CUR); in record__finish_output()
Dbuiltin-inject.c151 offset = lseek(inject->output.file.fd, 0, SEEK_CUR); in perf_event__repipe_auxtrace()
/tools/include/nolibc/
Dnolibc.h240 #define SEEK_CUR 1 macro