Home
last modified time | relevance | path

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

123

/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()
626 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/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/fs/
H A Dread_write.c108 case SEEK_CUR: in must_set_pos()
170 if (whence == SEEK_CUR) { in generic_file_llseek_size()
227 if (whence == SEEK_CUR) in generic_llseek_cookie()
265 case SEEK_SET: case SEEK_CUR: case SEEK_END: in fixed_size_llseek()
284 case SEEK_SET: case SEEK_CUR: in no_seek_end_llseek()
304 case SEEK_SET: case SEEK_CUR: in no_seek_end_llseek_size()
342 case SEEK_CUR: in default_llseek()
H A Dioctl.c279 case SEEK_CUR: in ioctl_preallocate()
308 case SEEK_CUR: in compat_ioctl_preallocate()
/linux/drivers/fsi/
H A Di2cr-scom.c23 case SEEK_CUR: in i2cr_scom_llseek()
H A Dfsi-scom.c376 case SEEK_CUR: in scom_llseek()
/linux/tools/include/nolibc/
H A Dtypes.h96 #define SEEK_CUR 1 macro
/linux/drivers/char/
H A Dadi.c181 case SEEK_CUR: in adi_llseek()
H A Dmem.c580 case SEEK_CUR: in memory_lseek()
/linux/tools/perf/util/
H A Dhisi-ptt.c105 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 Dtrace-event-read.c163 lseek(input_fd, size, SEEK_CUR); in read_proc_kallsyms()
H A Dpowerpc-vpadtl.c555 data_offset = lseek(fd, 0, SEEK_CUR); in powerpc_vpadtl_process_auxtrace_event()
/linux/tools/perf/ui/browsers/
H A Dannotate.c452 browser->b.seek(&browser->b, offset, SEEK_CUR); in annotate_browser__toggle_source()
494 browser->b.seek(&browser->b, -offset, SEEK_CUR); in annotate_browser__toggle_source()
502 browser->b.seek(&browser->b, -offset, SEEK_CUR); in annotate_browser__toggle_source()
512 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/drivers/s390/char/
H A Dhmcdrv_dev.c163 case SEEK_CUR: /* relative to current file position */ in hmcdrv_dev_seek()
/linux/tools/include/uapi/linux/
H A Dfs.h53 #define SEEK_CUR 1 /* seek relative to current file position */ macro
/linux/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()

123