Home
last modified time | relevance | path

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

123

/linux-6.15/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-6.15/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()
431 browser->seek(browser, +1, SEEK_CUR); in ui_browser__run()
440 browser->seek(browser, -1, SEEK_CUR); in ui_browser__run()
465 browser->seek(browser, +offset, SEEK_CUR); in ui_browser__run()
478 browser->seek(browser, -offset, SEEK_CUR); in ui_browser__run()
616 case SEEK_CUR: in ui_browser__argv_seek()
/linux-6.15/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-6.15/tools/power/cpupower/debug/i386/
H A Dcentrino-decode.c47 if (lseek(fd, msr, SEEK_CUR) == -1) in rdmsr()
H A Dpowernow-k8-decode.c42 lseek(fd, MSR_FIDVID_STATUS, SEEK_CUR); in get_fidvid()
/linux-6.15/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-6.15/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()
340 case SEEK_CUR: in default_llseek()
H A Dioctl.c280 case SEEK_CUR: in ioctl_preallocate()
309 case SEEK_CUR: in compat_ioctl_preallocate()
/linux-6.15/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-6.15/tools/perf/ui/browsers/
H A Dannotate.c377 browser->b.seek(&browser->b, offset, SEEK_CUR); in annotate_browser__toggle_source()
386 browser->b.seek(&browser->b, -offset, SEEK_CUR); in annotate_browser__toggle_source()
394 browser->b.seek(&browser->b, -offset, SEEK_CUR); in annotate_browser__toggle_source()
404 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-6.15/drivers/char/
H A Dadi.c181 case SEEK_CUR: in adi_llseek()
H A Dmem.c585 case SEEK_CUR: in memory_lseek()
/linux-6.15/tools/include/nolibc/
H A Dtypes.h95 #define SEEK_CUR 1 macro
/linux-6.15/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()
/linux-6.15/tools/include/uapi/linux/
H A Dfs.h44 #define SEEK_CUR 1 /* seek relative to current file position */ macro
/linux-6.15/drivers/s390/char/
H A Dhmcdrv_dev.c163 case SEEK_CUR: /* relative to current file position */ in hmcdrv_dev_seek()
/linux-6.15/tools/perf/trace/beauty/include/uapi/linux/
H A Dfs.h53 #define SEEK_CUR 1 /* seek relative to current file position */ macro
/linux-6.15/include/uapi/linux/
H A Dfs.h53 #define SEEK_CUR 1 /* seek relative to current file position */ macro
/linux-6.15/Documentation/ABI/testing/
H A Ddev-kmsg69 is returned for other operations, e.g. SEEK_CUR. This behavior
/linux-6.15/scripts/
H A Drecordmcount.c95 case SEEK_CUR: in ulseek()
/linux-6.15/fs/overlayfs/
H A Dfile.c255 if (whence == SEEK_CUR) in ovl_llseek()

123