Home
last modified time | relevance | path

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

123

/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/trace-cmd/files/
H A D0001-Replace-LFS64-interfaces-off64_t-and-lseek64.patch118 case SEEK_CUR:
1004 - offset = lseek64(fd, 0, SEEK_CUR);
1005 + offset = lseek(fd, 0, SEEK_CUR);
1015 + current = lseek(fd, 0, SEEK_CUR);
1048 - lseek64(fd, -10, SEEK_CUR);
1049 + lseek(fd, -10, SEEK_CUR);
1057 - offset = lseek64(fd, 0, SEEK_CUR);
1058 + offset = lseek(fd, 0, SEEK_CUR);
1066 - lseek64(fd, -8, SEEK_CUR);
1067 + lseek(fd, -8, SEEK_CUR);
[all …]
/openbmc/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()
/openbmc/u-boot/fs/yaffs2/
H A Dyportenv.h129 #ifndef SEEK_CUR
130 #define SEEK_CUR 1 macro
/openbmc/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()
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()
/openbmc/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 */
/openbmc/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()
/openbmc/qemu/io/
H A Dchannel-file.c39 if (lseek(fd, 0, SEEK_CUR) != (off_t)-1) { in qio_channel_file_new_fd()
81 if (lseek(ioc->fd, 0, SEEK_CUR) != (off_t)-1) { in qio_channel_file_new_path()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/tftp-hpa/files/
H A Dtftp-hpa-bug-fix-on-separated-CR-and-LF.patch29 + lseek(fileno(file), -1, SEEK_CUR);
/openbmc/qemu/migration/
H A Dchannel-block.c125 case SEEK_CUR: in qio_channel_block_seek()
/openbmc/linux/drivers/fsi/
H A Di2cr-scom.c23 case SEEK_CUR: in i2cr_scom_llseek()
/openbmc/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()
/openbmc/linux/tools/perf/ui/browsers/
H A Dannotate.c378 browser->b.seek(&browser->b, offset, SEEK_CUR); in annotate_browser__toggle_source()
387 browser->b.seek(&browser->b, -offset, SEEK_CUR); in annotate_browser__toggle_source()
395 browser->b.seek(&browser->b, -offset, SEEK_CUR); in annotate_browser__toggle_source()
405 browser->b.seek(&browser->b, -offset, SEEK_CUR); in annotate_browser__toggle_source()
/openbmc/linux/drivers/char/
H A Dadi.c187 case SEEK_CUR: in adi_llseek()
/openbmc/linux/tools/perf/util/
H A Dhisi-ptt.c110 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()
662 tdata->size = lseek(output_fd, 0, SEEK_CUR); in tracing_data_get()
/openbmc/qemu/audio/
H A Dwavcapture.c55 if (fseek (wav->f, 32, SEEK_CUR)) { in wav_destroy()
H A Dwavaudio.c161 if (fseek (wav->f, 32, SEEK_CUR)) { in wav_fini_out()
/openbmc/linux/tools/include/nolibc/
H A Dtypes.h93 #define SEEK_CUR 1 macro
/openbmc/linux/tools/include/uapi/linux/
H A Dfs.h44 #define SEEK_CUR 1 /* seek relative to current file position */ macro
/openbmc/linux/include/uapi/linux/
H A Dfs.h44 #define SEEK_CUR 1 /* seek relative to current file position */ macro
/openbmc/linux/drivers/s390/char/
H A Dhmcdrv_dev.c163 case SEEK_CUR: /* relative to current file position */ in hmcdrv_dev_seek()
/openbmc/linux/fs/
H A 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()
/openbmc/phosphor-mboxd/test/
H A Dmbox.c185 rc = lseek(context->fds[MBOX_FD].fd, -1, SEEK_CUR); in mbox_command_dispatch()
/openbmc/hiomapd/test/
H A Dmbox.c189 rc = lseek(context->fds[MBOX_FD].fd, -1, SEEK_CUR); in mbox_command_dispatch()

123