Home
last modified time | relevance | path

Searched refs:lseek (Results 1 – 25 of 194) sorted by relevance

12345678

/OK3568_Linux_fs/buildroot/dl/unixbench/git/UnixBench/src/
H A Dfstime.c292 lseek(f, 0L, 0); /* rewind */ in w_test()
328 lseek(f, 0L, 0); in r_test()
343 lseek(f, 0L, 0); /* rewind at end of file */ in r_test()
392 lseek(f, 0L, 0); in c_test()
406 lseek(f, 0L, 0); /* rewind at end of file */ in c_test()
407 lseek(g, 0L, 0); /* rewind the output too */ in c_test()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/
H A D0006-adb-Musl-fixes.patch8 Do not redefine close() and lseek()
123 return lseek(fd, pos, where);
125 -#undef lseek
126 -#define lseek ___xxx_lseek
127 +//#undef lseek
128 +//#define lseek ___xxx_lseek
/OK3568_Linux_fs/kernel/arch/sparc/boot/
H A Dpiggyback.c141 if (lseek(kernelfd, 0, SEEK_SET) < 0) in get_hdrs_offset()
157 if (lseek(kernelfd, offset, SEEK_SET) < 0) in get_hdrs_offset()
214 if (lseek(image, offset, 0) < 0) in main()
235 if (lseek(image, 4, 0) < 0) in main()
249 if (lseek(image, AOUT_TEXT_OFFSET - start + align(end + 32), 0) < 0) in main()
/OK3568_Linux_fs/buildroot/package/bsdiff/
H A D0002-bspatch-adaption-to-embedded-system.patch46 + ((oldsize=lseek(fd,0,SEEK_END))<=0) ||
71 - ((oldsize=lseek(fd,0,SEEK_END))==-1) ||
73 - (lseek(fd,0,SEEK_SET)!=0) ||
81 + (lseek(fd,newsize-1,SEEK_SET)!=(newsize-1)) ||
83 + (lseek(fd,0,SEEK_SET)!=0) ||
/OK3568_Linux_fs/buildroot/dl/sox/git/test/
H A Dcorr.c102 len1=lseek(fd1,0,SEEK_END); in main()
103 r=lseek(fd1,0,SEEK_SET); in main()
110 len2=lseek(fd2,0,SEEK_END); in main()
111 r=lseek(fd2,0,SEEK_SET); in main()
/OK3568_Linux_fs/kernel/tools/testing/selftests/vm/
H A Dcompaction_test.c112 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/lib/
H A Delf.c80 offset_rv = lseek(fd, 0, SEEK_SET); in elfhdr_get()
141 offset_rv = lseek(fd, offset, SEEK_SET); in kvm_vm_elf_load()
184 offset_rv = lseek(fd, phdr.p_offset, SEEK_SET); in kvm_vm_elf_load()
/OK3568_Linux_fs/external/recovery/minzip/
H A DSysUtil.c55 start = lseek(fd, 0L, SEEK_CUR); in getFileStartAndLength()
56 end = lseek(fd, 0L, SEEK_END); in getFileStartAndLength()
57 (void) lseek(fd, start, SEEK_SET); in getFileStartAndLength()
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/minzip/
H A DSysUtil.c55 start = lseek(fd, 0L, SEEK_CUR); in getFileStartAndLength()
56 end = lseek(fd, 0L, SEEK_END); in getFileStartAndLength()
57 (void) lseek(fd, start, SEEK_SET); in getFileStartAndLength()
/OK3568_Linux_fs/kernel/tools/power/acpi/tools/ec/
H A Dec_access.c151 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()
/OK3568_Linux_fs/kernel/tools/power/cpupower/utils/helpers/
H A Dmsr.c36 if (lseek(fd, idx, SEEK_CUR) == -1) in read_msr()
65 if (lseek(fd, idx, SEEK_CUR) == -1) in write_msr()
/OK3568_Linux_fs/u-boot/board/samsung/smdkv310/tools/
H A Dmksmdkv310spl.c61 len = lseek(ifd, 0, SEEK_END); in main()
62 lseek(ifd, 0, SEEK_SET); in main()
/OK3568_Linux_fs/u-boot/board/samsung/origen/tools/
H A Dmkorigenspl.c63 len = lseek(ifd, 0, SEEK_END); in main()
64 lseek(ifd, 0, SEEK_SET); in main()
/OK3568_Linux_fs/kernel/tools/testing/selftests/arm64/mte/
H A Dcheck_user_mem.c37 lseek(fd, 0, 0); in check_usermem_access_fault()
61 lseek(fd, 0, 0); in check_usermem_access_fault()
/OK3568_Linux_fs/kernel/arch/powerpc/boot/
H A Dmktree.c110 if (lseek(in_fd, (64 * 1024), SEEK_SET) < 0) { in main()
141 if (lseek(out_fd, 0, SEEK_SET) < 0) { in main()
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/screen/
H A Dibacklight.cpp54 lseek(m_fd, 0, SEEK_SET); in setValue()
64 lseek(m_fd, 0, SEEK_SET); in getValue()
/OK3568_Linux_fs/buildroot/dl/unixbench/git/UnixBench/testdir/
H A Dcctest.c99 lseek(f, 0L, 0);
128 lseek(f, 0L, 0);
/OK3568_Linux_fs/u-boot/tools/
H A Dmksunxiboot.c119 file_size = lseek(fd_in, 0, SEEK_END); in main()
133 lseek(fd_in, 0, SEEK_SET); in main()
H A Dmxsboot.c427 size = lseek(infd, 0, SEEK_END); in mx28_nand_write_firmware()
428 lseek(infd, 0, SEEK_SET); in mx28_nand_write_firmware()
541 fsize = lseek(infd, 0, SEEK_END); in mx28_create_sd_image()
542 lseek(infd, 0, SEEK_SET); in mx28_create_sd_image()
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/syslinux/syslinux/
H A D0004-linux-syslinux-add-ext_file_read-and-ext_file_write.patch33 + /* Always lseek since e2_file is uncontrolled by this func */
65 + /* Always lseek since e2_file is uncontrolled by this func */
/OK3568_Linux_fs/external/recovery/update_engine/
H A Ddo_patch.c114 if (lseek(fd_img, offset + size - TAIL_SIZE, SEEK_SET) < 0) { in do_patch_rkimg()
267 (lseek(fd, newsize - 1, SEEK_SET) != (newsize - 1)) || in do_patch_rkimg()
269 (lseek(fd, 0, SEEK_SET) != 0) || in do_patch_rkimg()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dheader.c2196 if (lseek(input, orig_offset, SEEK_SET) == (off_t)-1) in perf_header__read_build_ids()
3142 if (lseek(fd, section->offset, SEEK_SET) == (off_t)-1) { in perf_file_section__fprintf_info()
3222 (*p)->offset = lseek(ff->fd, 0, SEEK_CUR); in do_write_feat()
3229 lseek(ff->fd, (*p)->offset, SEEK_SET); in do_write_feat()
3233 (*p)->size = lseek(ff->fd, 0, SEEK_CUR) - (*p)->offset; in do_write_feat()
3266 lseek(fd, sec_start + sec_size, SEEK_SET); in perf_header__adds_write()
3273 lseek(fd, sec_start, SEEK_SET); in perf_header__adds_write()
3320 lseek(fd, sizeof(f_header), SEEK_SET); in perf_session__write_header()
3323 evsel->id_offset = lseek(fd, 0, SEEK_CUR); in perf_session__write_header()
3331 attr_offset = lseek(ff.fd, 0, SEEK_CUR); in perf_session__write_header()
[all …]
/OK3568_Linux_fs/kernel/fs/proc/
H A Dinode.c278 typeof_member(struct proc_ops, proc_lseek) lseek; in pde_lseek()
280 lseek = pde->proc_ops->proc_lseek; in pde_lseek()
281 if (!lseek) in pde_lseek()
282 lseek = default_llseek; in pde_lseek()
283 return lseek(file, offset, whence); in pde_lseek()
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/mtdutils/
H A Dmtdutils.c412 off_t pos = lseek(fd, 0, SEEK_CUR); in write_block()
438 if (lseek(fd, pos, SEEK_SET) != pos || in write_block()
445 if (lseek(fd, pos, SEEK_SET) != pos || in write_block()
515 off_t pos = lseek(ctx->fd, 0, SEEK_CUR); in mtd_erase_blocks()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/
H A D0002-Instead-of-doing-preprocessor-magic-just-output-off_.patch138 if (lseek(fd, seek, SEEK_SET) != seek)
149 if (lseek(fd, seek, SEEK_SET) != seek)
266 if (lseek(fd, addr, SEEK_SET) != addr) {
312 if (lseek(out_fd, pos, SEEK_SET) != pos)
313 - return sys_err_msg("lseek failed seeking %"PRIdoff_t, pos);
314 + return sys_err_msg("lseek failed seeking %lld", (long long)pos);

12345678