Home
last modified time | relevance | path

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

12

/linux/tools/power/cpupower/utils/helpers/
H A Dmsr.c35 if (lseek(fd, idx, SEEK_CUR) == -1) in read_msr()
64 if (lseek(fd, idx, SEEK_CUR) == -1) in write_msr()
/linux/tools/perf/ui/
H A Dbrowser.c115 case SEEK_CUR: in ui_browser__list_head_seek()
147 case SEEK_CUR: in ui_browser__rb_tree_seek()
439 browser->seek(browser, +1, SEEK_CUR); in ui_browser__run()
448 browser->seek(browser, -1, SEEK_CUR); in ui_browser__run()
475 browser->seek(browser, +offset, SEEK_CUR); in ui_browser__run()
488 browser->seek(browser, -offset, SEEK_CUR); in ui_browser__run()
629 case SEEK_CUR: in ui_browser__argv_seek()
/linux/Documentation/admin-guide/
H A Djava.rst257 seekerr = fseek(classfile, len, SEEK_CUR);
262 seekerr = fseek(classfile, 2, SEEK_CUR);
265 seekerr = fseek(classfile, 3, SEEK_CUR);
274 seekerr = fseek(classfile, 4, SEEK_CUR);
278 seekerr = fseek(classfile, 8, SEEK_CUR);
320 if(fseek(classfile, 2, SEEK_CUR)) /* skip access flags */
/linux/tools/power/cpupower/debug/i386/
H A Dpowernow-k8-decode.c42 lseek(fd, MSR_FIDVID_STATUS, SEEK_CUR); in get_fidvid()
H A Dcentrino-decode.c47 if (lseek(fd, msr, SEEK_CUR) == -1) in rdmsr()
/linux/tools/include/nolibc/
H A Dtypes.h106 #define SEEK_CUR 1
91 #define SEEK_CUR global() macro
/linux/tools/testing/selftests/sparc64/drivers/
H A Dadi-test.c492 offset_out = seek_adi(fd, 0, SEEK_CUR); in test4_lseek()
498 offset_out = seek_adi(fd, OFFSET_ADD, SEEK_CUR); in test4_lseek()
504 offset_out = seek_adi(fd, OFFSET_SUBTRACT, SEEK_CUR); in test4_lseek()
/linux/drivers/fsi/
H A Di2cr-scom.c22 case SEEK_CUR: in i2cr_scom_llseek()
H A Dfsi-scom.c375 case SEEK_CUR: in scom_llseek()
/linux/drivers/char/
H A Dadi.c181 case SEEK_CUR: in adi_llseek()
/linux/tools/perf/util/
H A Dhisi-ptt.c117 data_offset = lseek(fd, 0, SEEK_CUR); in hisi_ptt_process_auxtrace_event()
H A Dtrace-event-info.c47 off_t hdr_pos = lseek(output_fd, 0, SEEK_CUR); in record_file()
663 tdata->size = lseek(output_fd, 0, SEEK_CUR); in tracing_data_get()
H A Dpowerpc-vpadtl.c559 data_offset = lseek(fd, 0, SEEK_CUR); in powerpc_vpadtl_process_auxtrace_event()
H A Dheader.c2894 off_t offset = lseek(ff->fd, 0, SEEK_CUR); in process_cpu_topology()
4384 (*p)->offset = lseek(ff->fd, 0, SEEK_CUR);
4411 (*p)->size = lseek(ff->fd, 0, SEEK_CUR) - (*p)->offset; in perf_file_section__process()
4515 attr_offset = lseek(fd, 0, SEEK_CUR); in evsel__prepare_tracepoint_event()
5219 tmp = lseek(fd, 0, SEEK_CUR);
5760 off_t offset = lseek(fd, 0, SEEK_CUR);
/linux/drivers/s390/char/
H A Dhmcdrv_dev.c116 case SEEK_CUR: /* relative to current file position */ in hmcdrv_dev_seek()
/linux/tools/perf/ui/browsers/
H A Dannotate.c455 browser->b.seek(&browser->b, offset, SEEK_CUR); in annotate_browser__toggle_source()
497 browser->b.seek(&browser->b, -offset, SEEK_CUR); in annotate_browser__toggle_source()
505 browser->b.seek(&browser->b, -offset, SEEK_CUR); in annotate_browser__toggle_source()
515 browser->b.seek(&browser->b, -offset, SEEK_CUR); in annotate_browser__toggle_source()
H A Dannotate-data.c277 case SEEK_CUR: in browser__seek()
/linux/fs/
H A Dioctl.c279 case SEEK_CUR: in ioctl_preallocate()
308 case SEEK_CUR: in compat_ioctl_preallocate()
/linux/tools/include/uapi/linux/
H A Dfs.h53 #define SEEK_CUR 1 /* seek relative to current file position */ macro
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dfs.h53 #define SEEK_CUR 1 /* seek relative to current file position */ macro
/linux/Documentation/ABI/testing/
H A Ddev-kmsg69 is returned for other operations, e.g. SEEK_CUR. This behavior
/linux/scripts/
H A Drecordmcount.c95 case SEEK_CUR: in ulseek()
/linux/fs/overlayfs/
H A Dfile.c254 if (whence == SEEK_CUR) in ovl_llseek()
/linux/sound/core/
H A Dinfo.c122 case SEEK_CUR: in snd_info_entry_llseek()
/linux/tools/perf/
H A Dbuiltin-record.c494 return lseek(trace_fd, 0, SEEK_CUR);
737 file_offset = lseek(fd, 0, SEEK_CUR); in record__process_auxtrace()
1861 data->file.size = perf_data__seek(data, 0, SEEK_CUR); in record__finish_output()
1865 perf_data_file__seek(&data->dir.files[i], 0, SEEK_CUR); in record__synthesize_workload()

12