/kernel/liteos_m/testsuites/unittest/posix/src/fs/api/ |
D | posix_fs_lseek_test.c | 50 off = lseek(fd, 0, SEEK_SET); /* 0, offset distance */ 76 off = lseek(fd, 0, SEEK_CUR); /* 0, offset distance */ 102 off = lseek(fd, 0, SEEK_END); /* 0, offset distance */ 121 off_t off = lseek(-1, 0, SEEK_SET); /* -1, bad fd 0, offset distance */ 135 off_t off = lseek(ERROR_CONFIG_NFILE_DESCRIPTORS, 0, SEEK_SET); /* 0, offset distance */ 149 off_t off = lseek(0, 0, SEEK_SET); /* 0, used for stdin 0, offet distance */ 153 off = lseek(1, 0, SEEK_SET); /* 1, used for stdout 0, offet distance */ 157 off = lseek(2, 0, SEEK_SET); /* 2 used for stderr 0, offet distance */ 183 off = lseek(fd, 0, SEEK_SET); /* 0, offet distance */ 192 off = lseek(fd, 10, SEEK_CUR); /* 10, common data for test, no special meaning */ [all …]
|
/kernel/linux/build/test/syzkaller/qos_auth/ |
D | hmdfs_comm_device_node.txt | 12 lseek$1(fd fd_sys_fs_hmdfs_cmd, offset const[0x0], whence const[0x0]) 14 lseek$2(fd fd_sys_fs_hmdfs_cmd, offset const[0x0], whence const[0x0]) 16 lseek$3(fd fd_sys_fs_hmdfs_cmd, offset const[0x0], whence const[0x0]) 18 lseek$4(fd fd_sys_fs_hmdfs_cmd, offset const[0x0], whence const[0x0]) 20 lseek$5(fd fd_sys_fs_hmdfs_cmd, offset const[0x0], whence const[0x0])
|
D | hmdfs_comm_transport.txt | 12 lseek$10(fd fd_sys_fs_hmdfs_cmd, offset const[0x0], whence const[0x0])
|
D | rss_threshold.txt | 12 lseek$RSS_THRESHOLD(fd fd_rss_threshold, offset const[0x0], whence const[0x0])
|
/kernel/linux/linux-5.10/arch/sparc/boot/ |
D | piggyback.c | 141 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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/ |
D | elf.c | 80 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()
|
/kernel/linux/linux-5.10/tools/power/cpupower/utils/helpers/ |
D | msr.c | 36 if (lseek(fd, idx, SEEK_CUR) == -1) in read_msr() 65 if (lseek(fd, idx, SEEK_CUR) == -1) in write_msr()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/mte/ |
D | check_user_mem.c | 37 lseek(fd, 0, 0); in check_usermem_access_fault() 61 lseek(fd, 0, 0); in check_usermem_access_fault()
|
/kernel/linux/linux-5.10/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()
|
/kernel/uniproton/src/fs/vfs/ |
D | vfs_fs.c | 267 if ((file->fFops == NULL) || (file->fFops->lseek == NULL)) { in OsVfsLseek() 270 ret = file->fFops->lseek(file, off, whence); in OsVfsLseek() 687 savepos = lseek(fd, 0, SEEK_CUR); in OsVfsPread() 693 pos = lseek(fd, off, SEEK_SET); in OsVfsPread() 700 pos = lseek(fd, savepos, SEEK_SET); in OsVfsPread() 729 savepos = lseek(fd, 0, SEEK_CUR); in OsVfsPwrite() 735 pos = lseek(fd, off, SEEK_SET); in OsVfsPwrite() 742 pos = lseek(fd, savepos, SEEK_SET); in OsVfsPwrite()
|
/kernel/liteos_m/components/fs/vfs/ |
D | vfs_fs.c | 667 off_t lseek(int fd, off_t off, int whence) in lseek() function 677 if ((file->fFops == NULL) || (file->fFops->lseek == NULL)) { in lseek() 680 ret = file->fFops->lseek(file, off, whence); in lseek() 687 FUNC_ALIAS(lseek, _lseek, (int fd, off_t off, int whence), off_t); 1357 savepos = lseek(fd, 0, SEEK_CUR); in pread() 1363 pos = lseek(fd, off, SEEK_SET); in pread() 1370 pos = lseek(fd, savepos, SEEK_SET); in pread() 1404 savepos = lseek(fd, 0, SEEK_CUR); in pwrite() 1410 pos = lseek(fd, off, SEEK_SET); in pwrite() 1417 pos = lseek(fd, savepos, SEEK_SET); in pwrite()
|
D | vfs_files.h | 60 off_t (*lseek)(struct File *, off_t, int); member
|
/kernel/linux/linux-5.10/tools/testing/selftests/proc/ |
D | proc-loadavg-001.c | 64 lseek(fd, 0, SEEK_SET); in main()
|
/kernel/linux/linux-5.10/fs/proc/ |
D | inode.c | 278 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()
|
/kernel/linux/linux-5.10/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,
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/tools/leds/ |
D | led_hw_brightness_mon.c | 73 ret = lseek(pollfd.fd, 0, SEEK_SET); in main()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | header.c | 2196 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 …]
|
/kernel/linux/linux-5.10/tools/bootconfig/ |
D | main.c | 172 if (lseek(fd, -BOOTCONFIG_MAGIC_LEN, SEEK_END) < 0) in load_xbc_from_initrd() 182 if (lseek(fd, -(8 + BOOTCONFIG_MAGIC_LEN), SEEK_END) < 0) in load_xbc_from_initrd() 199 if (lseek(fd, stat.st_size - (size + 8 + BOOTCONFIG_MAGIC_LEN), in load_xbc_from_initrd()
|
/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/ |
D | shm_test_013.cpp | 56 ret = lseek(shmfd, 0, SEEK_SET); in testcase()
|
/kernel/linux/linux-5.10/tools/power/cpupower/debug/i386/ |
D | powernow-k8-decode.c | 42 lseek(fd, MSR_FIDVID_STATUS, SEEK_CUR); in get_fidvid()
|
D | centrino-decode.c | 47 if (lseek(fd, msr, SEEK_CUR) == -1) in rdmsr()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/dscr/ |
D | dscr.h | 86 lseek(fd, 0, SEEK_SET); in get_default_dscr()
|