/openbmc/openbmc/poky/meta/recipes-extended/mdadm/files/ |
H A D | 0001-restripe.c-Use-_FILE_OFFSET_BITS-to-enable-largefile.patch | 40 + seek_res = lseek(source[fd1], 43 fprintf(stderr, "lseek failed for failed_disk1\n"); 49 + seek_res = lseek(source[fd2], 52 fprintf(stderr, "lseek failed for failed_disk2\n"); 58 + off_t seek_res = lseek(source[i], offsets[i] + start * chunk_size, 61 fprintf(stderr, "lseek to source %d failed\n", i); 81 + lseek(source[dnum], 91 + if (lseek(source, read_offset, 0) != 101 + if (lseek(dest[i], 110 + if ((lseek(source[i], offsets[i]+start, 0) < 0) || [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/trace-cmd/files/ |
H A D | 0001-Replace-LFS64-interfaces-off64_t-and-lseek64.patch | 9 original lseek and off_t are already 64bit 147 + offset = lseek(handle->fd, 0, SEEK_CUR); 156 + if (lseek(handle->fd, offset, SEEK_SET) == (off_t)-1) 163 + if (lseek(handle->fd, 0, SEEK_END) == (off_t)-1) 182 + offset = lseek(handle->fd, 0, SEEK_CUR); 192 + chunks[i].zoffset = lseek(handle->fd, 0, SEEK_CUR); 201 + if (lseek(handle->fd, chunks[i].zsize, SEEK_CUR) == (off_t)-1) 208 + if (lseek(handle->fd, offset, SEEK_SET) == (off_t)-1) 217 + if (lseek(handle->fd, chunk->zoffset + 8, SEEK_SET) == (off_t)-1) 250 + if (lseek(handle->fd, sec->data_offset, SEEK_SET) == (off_t)-1) [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/ |
H A D | 0006-adb-Musl-fixes.patch | 8 Do not redefine close() and lseek() 61 +#define lseek64 lseek 122 return lseek(fd, pos, where); 124 -#undef lseek 125 -#define lseek ___xxx_lseek 126 +//#undef lseek 127 +//#define lseek ___xxx_lseek
|
H A D | 0016-libsparse-Add-hole-mode-to-sparse_file_read.patch | 19 straightforward. We use lseek to determine where the holes in the file 121 + start = lseek(fd, end, SEEK_DATA); 134 + end = lseek(fd, start, SEEK_HOLE); 144 + if (lseek(fd, start, SEEK_SET) < 0) {
|
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-utils/fatcat/fatcat/ |
H A D | 0002-Enable-64bit-off_t.patch | 7 -D_FILE_OFFSET_BITS=64 this will ensure that normal lseek() function is 43 + lseek(fd, globalOffset+address, SEEK_SET); 52 + lseek(fd, globalOffset+address, SEEK_SET); 64 -#define lseek64 lseek 68 -#define lseek64 lseek
|
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools/ |
H A D | 0002-f2fs_io-Define-_FILE_OFFSET_BITS-64.patch | 9 lseek64 as an alias to lseek 40 - return lseek(fd, offset, set); 82 + if (lseek(fd, offset, SEEK_SET) < 0) { 83 + MSG(0, "\n lseek fail.\n"); 124 + if (lseek(c.kd, (off_t)offset, SEEK_SET) < 0) 137 + if (lseek(fd, (off_t)offset, SEEK_SET) < 0) 149 + if (lseek(fd, (off_t)offset, SEEK_SET) < 0) 158 + if (lseek(c.dump_fd, (off_t)offset, SEEK_SET) < 0) 167 + if (lseek(fd, (off_t)offset, SEEK_SET) < 0)
|
/openbmc/linux/arch/sparc/boot/ |
H A 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()
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | compaction_test.c | 111 lseek(fd, 0, SEEK_SET); in check_compaction() 120 lseek(fd, 0, SEEK_SET); in check_compaction() 130 lseek(fd, 0, SEEK_SET); in check_compaction() 147 lseek(fd, 0, SEEK_SET); in check_compaction()
|
H A 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()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A 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()
|
/openbmc/qemu/bsd-user/ |
H A D | elfload.c | 311 retval = lseek(interpreter_fd, interp_elf_ex->e_phoff, SEEK_SET); in load_elf_interp() 404 lseek(fd, hdr->e_shoff, SEEK_SET); in load_symbols() 412 lseek(fd, hdr->e_shoff + sizeof(sechdr) * sechdr.sh_link, in load_symbols() 438 lseek(fd, symtab.sh_offset, SEEK_SET); in load_symbols() 485 lseek(fd, strtab.sh_offset, SEEK_SET); in load_symbols() 510 if (lseek(fd, 0L, SEEK_SET) < 0) { in is_target_elf_binary() 639 retval = lseek(bprm->fd, elf_ex.e_phoff, SEEK_SET); in load_elf_binary() 675 retval = lseek(bprm->fd, elf_ppnt->p_offset, SEEK_SET); in load_elf_binary() 696 retval = lseek(interpreter_fd, 0, SEEK_SET); in load_elf_binary()
|
/openbmc/linux/tools/power/cpupower/utils/helpers/ |
H 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()
|
/openbmc/u-boot/tools/ |
H A D | imx8mimage.c | 201 ret = lseek(ifd, offset, SEEK_SET); in fill_zero() 257 ret = lseek(ifd, offset, SEEK_SET); in copy_file() 306 ret = lseek(fd, fit_offset, SEEK_SET); in generate_ivt_for_fit() 329 ret = lseek(fd, fit_offset + fit_size, SEEK_SET); in generate_ivt_for_fit() 515 ret = lseek(ofd, header_hdmi_off, SEEK_SET); in build_image() 528 ret = lseek(ofd, header_image_off, SEEK_SET); in build_image() 548 ret = lseek(ofd, sld_header_off, SEEK_SET); in build_image()
|
H A D | mksunxiboot.c | 118 file_size = lseek(fd_in, 0, SEEK_END); in main() 132 lseek(fd_in, 0, SEEK_SET); in main()
|
H A D | mxsboot.c | 426 size = lseek(infd, 0, SEEK_END); in mx28_nand_write_firmware() 427 lseek(infd, 0, SEEK_SET); in mx28_nand_write_firmware() 540 fsize = lseek(infd, 0, SEEK_END); in mx28_create_sd_image() 541 lseek(infd, 0, SEEK_SET); in mx28_create_sd_image()
|
/openbmc/linux/tools/power/acpi/tools/ec/ |
H A 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()
|
/openbmc/u-boot/board/samsung/smdkv310/tools/ |
H A D | mksmdkv310spl.c | 60 len = lseek(ifd, 0, SEEK_END); in main() 61 lseek(ifd, 0, SEEK_SET); in main()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A 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()
|
/openbmc/u-boot/board/samsung/origen/tools/ |
H A D | mkorigenspl.c | 62 len = lseek(ifd, 0, SEEK_END); in main() 63 lseek(ifd, 0, SEEK_SET); in main()
|
/openbmc/linux/arch/powerpc/boot/ |
H A 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()
|
/openbmc/qemu/io/ |
H A D | channel-file.c | 39 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() 243 ret = lseek(fioc->fd, offset, whence); in qio_channel_file_seek()
|
/openbmc/openpower-proc-control/ |
H A D | cfam_access.cpp | 55 int rc = lseek(target->getCFAMFD(), makeOffset(address), SEEK_SET); in writeReg() 89 int rc = lseek(target->getCFAMFD(), makeOffset(address), SEEK_SET); in readReg()
|
/openbmc/phosphor-mboxd/test/ |
H A D | mbox.c | 116 rc = lseek(fd, 0, SEEK_SET); in mbox_command_write() 128 rc = lseek(fd, 0, SEEK_SET); in mbox_command_write() 185 rc = lseek(context->fds[MBOX_FD].fd, -1, SEEK_CUR); in mbox_command_dispatch()
|
/openbmc/openbmc/poky/meta/recipes-devtools/syslinux/syslinux/ |
H A D | 0004-linux-syslinux-add-ext_file_read-and-ext_file_write.patch | 33 + /* Always lseek since e2_file is uncontrolled by this func */ 65 + /* Always lseek since e2_file is uncontrolled by this func */
|
/openbmc/hiomapd/test/ |
H A D | mbox.c | 120 rc = lseek(fd, 0, SEEK_SET); in mbox_command_write() 132 rc = lseek(fd, 0, SEEK_SET); in mbox_command_write() 189 rc = lseek(context->fds[MBOX_FD].fd, -1, SEEK_CUR); in mbox_command_dispatch()
|