Home
last modified time | relevance | path

Searched refs:SEEK_END (Results 1 – 25 of 38) sorted by relevance

12

/linux-6.6.21/tools/power/acpi/common/
Dcmfsize.c42 status = fseek(file, 0, SEEK_END); in cm_get_file_size()
/linux-6.6.21/arch/x86/boot/compressed/
Dmkpiggy.c40 if (fseek(f, -4L, SEEK_END)) { in main()
/linux-6.6.21/tools/perf/ui/
Dbrowser.c118 case SEEK_END: in ui_browser__list_head_seek()
150 case SEEK_END: in ui_browser__rb_tree_seek()
488 browser->seek(browser, -offset, SEEK_END); in ui_browser__run()
617 case SEEK_END: in ui_browser__argv_seek()
/linux-6.6.21/tools/testing/selftests/safesetid/
Dsafesetid-test.c119 if (fseek(fd, 0, SEEK_END)) in ensure_user_exists()
148 if (fseek(fd, 0, SEEK_END)) in ensure_group_exists()
/linux-6.6.21/tools/bootconfig/
Dmain.c191 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()
/linux-6.6.21/tools/testing/selftests/powerpc/mm/
Dsubpage_prot.c204 filesize = lseek(fd, 0, SEEK_END); in test_file()
/linux-6.6.21/drivers/char/
Dadi.c182 case SEEK_END: in adi_llseek()
/linux-6.6.21/tools/include/nolibc/
Dtypes.h94 #define SEEK_END 2 macro
/linux-6.6.21/include/uapi/linux/
Dfs.h45 #define SEEK_END 2 /* seek relative to end of file */ macro
/linux-6.6.21/tools/include/uapi/linux/
Dfs.h45 #define SEEK_END 2 /* seek relative to end of file */ macro
/linux-6.6.21/arch/sparc/vdso/
Dvdso2c.c168 tmp_len = lseek(fd, 0, SEEK_END); in map_input()
/linux-6.6.21/arch/x86/entry/vdso/
Dvdso2c.c194 tmp_len = lseek(fd, 0, SEEK_END); in map_input()
/linux-6.6.21/drivers/s390/char/
Dhmcdrv_dev.c174 case SEEK_END: in hmcdrv_dev_seek()
/linux-6.6.21/drivers/gpu/drm/radeon/
Dmkregtable.c214 fseek(file, 0, SEEK_END); in parser_auth()
/linux-6.6.21/tools/lib/bpf/
Dzip.c209 size = lseek(fd, 0, SEEK_END); in zip_archive_open()
/linux-6.6.21/arch/xtensa/platforms/iss/
Dsimdisk.c171 dev->size = simc_lseek(dev->fd, 0, SEEK_END); in simdisk_attach()
/linux-6.6.21/fs/
Dioctl.c284 case SEEK_END: in ioctl_preallocate()
313 case SEEK_END: in compat_ioctl_preallocate()
Dread_write.c90 case SEEK_END: in generic_file_llseek_size()
165 case SEEK_SET: case SEEK_CUR: case SEEK_END: in fixed_size_llseek()
237 case SEEK_END: in default_llseek()
/linux-6.6.21/fs/orangefs/
Dfile.c502 if (origin == SEEK_END) { in orangefs_file_llseek()
/linux-6.6.21/Documentation/ABI/testing/
Ddev-kmsg56 SEEK_END, 0
/linux-6.6.21/scripts/
Drecordmcount.c98 case SEEK_END: in ulseek()
/linux-6.6.21/fs/9p/
Dvfs_file.c79 generic_file_llseek(file, 0, SEEK_END); in v9fs_file_open()
/linux-6.6.21/Documentation/driver-api/
Ddma-buf.rst60 with offset=0 and whence=SEEK_END|SEEK_SET. SEEK_SET is supported to allow
61 the usual size discover pattern size = SEEK_END(0); SEEK_SET(0). Every other
/linux-6.6.21/tools/testing/selftests/sparc64/drivers/
Dadi-test.c309 (void)lseek(fd, 0, SEEK_END); in seek_adi()
/linux-6.6.21/sound/core/
Dinfo.c127 case SEEK_END: in snd_info_entry_llseek()

12