| /linux/tools/power/cpupower/utils/helpers/ |
| A D | msr.c | 35 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/ |
| A D | browser.c | 115 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/Documentation/admin-guide/ |
| A D | java.rst | 257 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/perf/tests/ |
| A D | bpf-script-test-prologue.c | 41 if (orig == SEEK_CUR) in bpf_func__null_lseek()
|
| A D | bpf.c | 53 lseek(fds[i % 2], i, (i / 2) % 2 ? SEEK_CUR : SEEK_SET); in llseek_loop() 54 lseek(fds[(i + 1) % 2], i, (i / 2) % 2 ? SEEK_CUR : SEEK_SET); in llseek_loop()
|
| /linux/tools/power/cpupower/debug/i386/ |
| A D | powernow-k8-decode.c | 42 lseek(fd, MSR_FIDVID_STATUS, SEEK_CUR); in get_fidvid()
|
| A D | centrino-decode.c | 47 if (lseek(fd, msr, SEEK_CUR) == -1) in rdmsr()
|
| /linux/tools/testing/selftests/sparc64/drivers/ |
| A D | adi-test.c | 496 offset_out = seek_adi(fd, 0, SEEK_CUR); in test4_lseek() 502 offset_out = seek_adi(fd, OFFSET_ADD, SEEK_CUR); in test4_lseek() 508 offset_out = seek_adi(fd, OFFSET_SUBTRACT, SEEK_CUR); in test4_lseek()
|
| /linux/tools/perf/util/ |
| A D | trace-event-info.c | 47 off_t hdr_pos = lseek(output_fd, 0, SEEK_CUR); in record_file() 562 tdata->size = lseek(output_fd, 0, SEEK_CUR); in tracing_data_get()
|
| A D | trace-event-read.c | 161 lseek(input_fd, size, SEEK_CUR); in read_proc_kallsyms()
|
| A D | header.c | 3427 (*p)->offset = lseek(ff->fd, 0, SEEK_CUR); in do_write_feat() 3438 (*p)->size = lseek(ff->fd, 0, SEEK_CUR) - (*p)->offset; in do_write_feat() 3528 evsel->id_offset = lseek(fd, 0, SEEK_CUR); in perf_session__write_header() 3536 attr_offset = lseek(ff.fd, 0, SEEK_CUR); in perf_session__write_header() 3562 header->data_offset = lseek(fd, 0, SEEK_CUR); in perf_session__write_header() 4070 tmp = lseek(fd, 0, SEEK_CUR); in perf_session__read_header() 4306 off_t offset = lseek(fd, 0, SEEK_CUR); in perf_event__process_tracing_data()
|
| /linux/tools/perf/ui/browsers/ |
| A D | annotate.c | 385 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() 402 browser->b.seek(&browser->b, -offset, SEEK_CUR); in annotate_browser__toggle_source() 412 browser->b.seek(&browser->b, -offset, SEEK_CUR); in annotate_browser__toggle_source()
|
| /linux/drivers/char/ |
| A D | adi.c | 187 case SEEK_CUR: in adi_llseek()
|
| A D | mem.c | 597 case SEEK_CUR: in memory_lseek()
|
| /linux/tools/include/uapi/linux/ |
| A D | fs.h | 44 #define SEEK_CUR 1 /* seek relative to current file position */ macro
|
| /linux/include/uapi/linux/ |
| A D | fs.h | 44 #define SEEK_CUR 1 /* seek relative to current file position */ macro
|
| /linux/fs/ |
| A D | read_write.c | 93 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() 246 case SEEK_CUR: in default_llseek()
|
| A D | ioctl.c | 284 case SEEK_CUR: in ioctl_preallocate() 313 case SEEK_CUR: in compat_ioctl_preallocate()
|
| /linux/drivers/s390/char/ |
| A D | hmcdrv_dev.c | 163 case SEEK_CUR: /* relative to current file position */ in hmcdrv_dev_seek()
|
| /linux/scripts/ |
| A D | recordmcount.c | 87 case SEEK_CUR: in ulseek()
|
| /linux/Documentation/ABI/testing/ |
| A D | dev-kmsg | 69 is returned for other operations, e.g. SEEK_CUR. This behavior
|
| /linux/drivers/fsi/ |
| A D | fsi-scom.c | 386 case SEEK_CUR: in scom_llseek()
|
| /linux/fs/nfs/ |
| A D | file.c | 124 if (whence != SEEK_SET && whence != SEEK_CUR) { in nfs_file_llseek()
|
| /linux/fs/overlayfs/ |
| A D | file.c | 185 if (whence == SEEK_CUR) in ovl_llseek()
|
| /linux/tools/perf/ |
| A D | builtin-record.c | 378 return lseek(trace_fd, 0, SEEK_CUR); in record__aio_get_pos() 611 file_offset = lseek(fd, 0, SEEK_CUR); in record__process_auxtrace() 1241 data->file.size = lseek(perf_data__fd(data), 0, SEEK_CUR); in record__finish_output()
|