/linux-6.6.21/arch/sparc/boot/ |
D | piggyback.c | 141 if (lseek(kernelfd, 0, SEEK_SET) < 0) in get_hdrs_offset() 161 if (lseek(kernelfd, offset, SEEK_SET) < 0) in get_hdrs_offset() 218 if (lseek(image, offset, 0) < 0) in main() 239 if (lseek(image, 4, 0) < 0) in main() 253 if (lseek(image, AOUT_TEXT_OFFSET - start + align(end + 32), 0) < 0) in main()
|
/linux-6.6.21/tools/testing/selftests/kvm/lib/ |
D | elf.c | 79 offset_rv = lseek(fd, 0, SEEK_SET); in elfhdr_get() 140 offset_rv = lseek(fd, offset, SEEK_SET); in kvm_vm_elf_load() 182 offset_rv = lseek(fd, phdr.p_offset, SEEK_SET); in kvm_vm_elf_load()
|
/linux-6.6.21/tools/testing/selftests/mm/ |
D | compaction_test.c | 112 lseek(fd, 0, SEEK_SET); in check_compaction() 121 lseek(fd, 0, SEEK_SET); in check_compaction() 143 lseek(fd, 0, SEEK_SET); in check_compaction()
|
D | hugepage-vmemmap.c | 59 lseek(fd, (unsigned long)addr / pagesize * sizeof(pagemap), SEEK_SET); in virt_to_pfn() 75 lseek(fd, pfn * sizeof(pageflags), SEEK_SET); in check_page_flags()
|
D | mkdirty.c | 110 lseek(mem_fd, (uintptr_t) mem, SEEK_SET); in test_ptrace_write() 140 lseek(mem_fd, (uintptr_t) mem, SEEK_SET); in test_ptrace_write_thp()
|
/linux-6.6.21/tools/power/cpupower/utils/helpers/ |
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-6.6.21/tools/power/acpi/tools/ec/ |
D | ec_access.c | 151 lseek(fd, 0, SEEK_SET); in dump_ec() 180 error = lseek(fd, byte_offset, SEEK_SET); in read_ec_val() 196 error = lseek(fd, byte_offset, SEEK_SET); in write_ec_val()
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | subprogs.c | 19 lseek(ctx->fd, SEEK_SET, 0); in toggle_jit_harden() 21 lseek(ctx->fd, SEEK_SET, 0); in toggle_jit_harden()
|
/linux-6.6.21/arch/powerpc/boot/ |
D | mktree.c | 110 if (lseek(in_fd, (64 * 1024), SEEK_SET) < 0) { in main() 141 if (lseek(out_fd, 0, SEEK_SET) < 0) { in main()
|
D | hack-coff.c | 69 if (lseek(fd, (long) sizeof(struct external_filehdr), 0) == -1 in main()
|
/linux-6.6.21/tools/testing/selftests/arm64/mte/ |
D | check_user_mem.c | 54 lseek(fd, 0, 0); in check_usermem_access_fault() 84 lseek(fd, 0, 0); in check_usermem_access_fault()
|
D | mte_common_util.c | 190 lseek(fd, 0, SEEK_SET); in mte_allocate_file_memory() 217 lseek(fd, 0, SEEK_SET); in mte_allocate_file_memory_tag_range()
|
/linux-6.6.21/drivers/pci/hotplug/ |
D | cpqphp_sysfs.c | 154 static loff_t lseek(struct file *file, loff_t off, int whence) in lseek() function 179 .llseek = lseek,
|
/linux-6.6.21/arch/alpha/boot/tools/ |
D | objstrip.c | 170 lseek(fd, elf->e_phoff, SEEK_SET); in main() 228 if (lseek(fd, offset, SEEK_SET) != offset) { in main()
|
D | mkbb.c | 142 lseek(dev, 0L, SEEK_SET); in main()
|
/linux-6.6.21/tools/testing/selftests/proc/ |
D | proc-loadavg-001.c | 64 lseek(fd, 0, SEEK_SET); in main()
|
D | read.c | 49 (void)lseek(fd, 0, SEEK_SET); in f_reg()
|
/linux-6.6.21/tools/leds/ |
D | led_hw_brightness_mon.c | 73 ret = lseek(pollfd.fd, 0, SEEK_SET); in main()
|
/linux-6.6.21/tools/bootconfig/ |
D | main.c | 191 if (lseek(fd, -BOOTCONFIG_MAGIC_LEN, SEEK_END) < 0) in load_xbc_from_initrd() 201 if (lseek(fd, -(8 + BOOTCONFIG_MAGIC_LEN), SEEK_END) < 0) in load_xbc_from_initrd() 218 if (lseek(fd, stat.st_size - (size + 8 + BOOTCONFIG_MAGIC_LEN), in load_xbc_from_initrd()
|
/linux-6.6.21/tools/power/cpupower/debug/i386/ |
D | centrino-decode.c | 47 if (lseek(fd, msr, SEEK_CUR) == -1) in rdmsr()
|
D | powernow-k8-decode.c | 42 lseek(fd, MSR_FIDVID_STATUS, SEEK_CUR); in get_fidvid()
|
/linux-6.6.21/samples/seccomp/ |
D | user-trap.c | 155 if (lseek(mem, req->data.args[0], SEEK_SET) < 0) { in handle_req() 166 if (lseek(mem, req->data.args[1], SEEK_SET) < 0) { in handle_req()
|
/linux-6.6.21/tools/perf/util/ |
D | header.c | 2407 if (lseek(input, orig_offset, SEEK_SET) == (off_t)-1) in perf_header__read_build_ids() 3459 if (lseek(fd, section->offset, SEEK_SET) == (off_t)-1) { in perf_file_section__fprintf_info() 3552 (*p)->offset = lseek(ff->fd, 0, SEEK_CUR); in do_write_feat() 3575 lseek(ff->fd, (*p)->offset, SEEK_SET); in do_write_feat() 3579 (*p)->size = lseek(ff->fd, 0, SEEK_CUR) - (*p)->offset; in do_write_feat() 3613 lseek(fd, sec_start + sec_size, SEEK_SET); in perf_header__adds_write() 3620 lseek(fd, sec_start, SEEK_SET); in perf_header__adds_write() 3668 lseek(fd, sizeof(f_header), SEEK_SET); in perf_session__do_write_header() 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() [all …]
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | tcp_fastopen_backup_key.c | 59 lseek(proc_fd, 0, SEEK_SET); in get_keys() 84 lseek(proc_fd, 0, SEEK_SET); in set_keys()
|
/linux-6.6.21/tools/testing/selftests/powerpc/mm/ |
D | subpage_prot.c | 204 filesize = lseek(fd, 0, SEEK_END); in test_file()
|