Home
last modified time | relevance | path

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

123

/linux-6.6.21/tools/power/cpupower/utils/helpers/
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.6.21/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()
/linux-6.6.21/Documentation/admin-guide/
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.6.21/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()
/linux-6.6.21/tools/testing/selftests/sparc64/drivers/
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.6.21/drivers/fsi/
Di2cr-scom.c23 case SEEK_CUR: in i2cr_scom_llseek()
Dfsi-scom.c376 case SEEK_CUR: in scom_llseek()
/linux-6.6.21/tools/perf/ui/browsers/
Dannotate.c380 browser->b.seek(&browser->b, offset, SEEK_CUR); in annotate_browser__toggle_source()
389 browser->b.seek(&browser->b, -offset, SEEK_CUR); in annotate_browser__toggle_source()
397 browser->b.seek(&browser->b, -offset, SEEK_CUR); in annotate_browser__toggle_source()
407 browser->b.seek(&browser->b, -offset, SEEK_CUR); in annotate_browser__toggle_source()
/linux-6.6.21/drivers/char/
Dadi.c187 case SEEK_CUR: in adi_llseek()
Dmem.c595 case SEEK_CUR: in memory_lseek()
/linux-6.6.21/tools/perf/util/
Dhisi-ptt.c110 data_offset = lseek(fd, 0, SEEK_CUR); in hisi_ptt_process_auxtrace_event()
Dtrace-event-info.c47 off_t hdr_pos = lseek(output_fd, 0, SEEK_CUR); in record_file()
662 tdata->size = lseek(output_fd, 0, SEEK_CUR); in tracing_data_get()
Dtrace-event-read.c163 lseek(input_fd, size, SEEK_CUR); in read_proc_kallsyms()
Dheader.c3552 (*p)->offset = lseek(ff->fd, 0, SEEK_CUR); in do_write_feat()
3579 (*p)->size = lseek(ff->fd, 0, SEEK_CUR) - (*p)->offset; in do_write_feat()
3671 evsel->id_offset = lseek(fd, 0, SEEK_CUR); in perf_session__do_write_header()
3679 attr_offset = lseek(ff.fd, 0, SEEK_CUR); in perf_session__do_write_header()
3705 header->data_offset = lseek(fd, 0, SEEK_CUR); in perf_session__do_write_header()
4244 tmp = lseek(fd, 0, SEEK_CUR); in perf_session__read_header()
4482 off_t offset = lseek(fd, 0, SEEK_CUR); in perf_event__process_tracing_data()
/linux-6.6.21/tools/include/nolibc/
Dtypes.h93 #define SEEK_CUR 1 macro
/linux-6.6.21/include/uapi/linux/
Dfs.h44 #define SEEK_CUR 1 /* seek relative to current file position */ macro
/linux-6.6.21/tools/include/uapi/linux/
Dfs.h44 #define SEEK_CUR 1 /* seek relative to current file position */ macro
/linux-6.6.21/drivers/s390/char/
Dhmcdrv_dev.c163 case SEEK_CUR: /* relative to current file position */ in hmcdrv_dev_seek()
/linux-6.6.21/fs/
Dread_write.c93 case SEEK_CUR: in generic_file_llseek_size()
165 case SEEK_SET: case SEEK_CUR: case SEEK_END: in fixed_size_llseek()
184 case SEEK_SET: case SEEK_CUR: in no_seek_end_llseek()
204 case SEEK_SET: case SEEK_CUR: in no_seek_end_llseek_size()
240 case SEEK_CUR: in default_llseek()
Dioctl.c281 case SEEK_CUR: in ioctl_preallocate()
310 case SEEK_CUR: in compat_ioctl_preallocate()
/linux-6.6.21/Documentation/ABI/testing/
Ddev-kmsg69 is returned for other operations, e.g. SEEK_CUR. This behavior
/linux-6.6.21/scripts/
Drecordmcount.c95 case SEEK_CUR: in ulseek()
/linux-6.6.21/mm/
Dpage_owner.c612 case SEEK_CUR: in lseek_page_owner()
/linux-6.6.21/fs/overlayfs/
Dfile.c205 if (whence == SEEK_CUR) in ovl_llseek()

123