/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/perf/tests/ |
D | bpf-script-test-prologue.c | 41 if (orig == SEEK_CUR) in bpf_func__null_lseek()
|
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/perf/ui/ |
D | browser.c | 115 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/ |
D | centrino-decode.c | 47 if (lseek(fd, msr, SEEK_CUR) == -1) in rdmsr()
|
D | powernow-k8-decode.c | 42 lseek(fd, MSR_FIDVID_STATUS, SEEK_CUR); in get_fidvid()
|
/tools/include/uapi/linux/ |
D | fs.h | 44 #define SEEK_CUR 1 /* seek relative to current file position */ macro
|
/tools/perf/util/ |
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 | arm-spe.c | 117 data_offset = lseek(fd, 0, SEEK_CUR); in arm_spe_process_auxtrace_event()
|
D | trace-event-read.c | 161 lseek(input_fd, size, SEEK_CUR); in read_proc_kallsyms()
|
D | header.c | 2963 (*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()
|
D | s390-cpumsf.c | 979 data_offset = lseek(fd, 0, SEEK_CUR); in s390_cpumsf_process_auxtrace_event()
|
D | intel-bts.c | 654 data_offset = lseek(fd, 0, SEEK_CUR); in intel_bts_process_auxtrace_event()
|
D | cs-etm.c | 2367 data_offset = lseek(fd, 0, SEEK_CUR); in cs_etm__process_auxtrace_event()
|
D | intel-pt.c | 2656 data_offset = lseek(fd, 0, SEEK_CUR); in intel_pt_process_auxtrace_event()
|
/tools/testing/selftests/sparc64/drivers/ |
D | adi-test.c | 496 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/ |
D | annotate.c | 352 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()
|
D | hists.c | 1870 case SEEK_CUR: in ui_browser__hists_seek()
|
/tools/perf/ |
D | builtin-record.c | 344 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()
|
D | builtin-inject.c | 151 offset = lseek(inject->output.file.fd, 0, SEEK_CUR); in perf_event__repipe_auxtrace()
|
/tools/include/nolibc/ |
D | nolibc.h | 240 #define SEEK_CUR 1 macro
|