Home
last modified time | relevance | path

Searched refs:st (Results 1 – 9 of 9) sorted by relevance

/elf/
A Dtst-dlopenrpath.c34 struct stat64 st; in do_test() local
39 || stat64 (testsubdir, &st) != 0 in do_test()
40 || !S_ISDIR (st.st_mode))) in do_test()
A Dchroot_canon.c70 struct stat64 st; in chroot_canon() local
117 if (lstat64 (rpath, &st) < 0) in chroot_canon()
124 if (S_ISLNK (st.st_mode)) in chroot_canon()
A Ddl-profile.c187 struct __stat64_t64 st; in _dl_start_profile() local
344 if (__fstat64_time64 (fd, &st) < 0 || !S_ISREG (st.st_mode)) in _dl_start_profile()
353 if (st.st_size == 0) in _dl_start_profile()
372 else if (st.st_size != expected_size) in _dl_start_profile()
405 if (st.st_size == 0) in _dl_start_profile()
A Dldconfig.c340 const struct stat64 *st) in new_sub_entry() argument
349 new_entry->ino = st->st_ino; in new_sub_entry()
350 new_entry->dev = st->st_dev; in new_sub_entry()
430 struct stat64 st; in add_glibc_hwcaps_subdirectories() local
431 if (fstatat64 (dirfd (dir), e->d_name, &st, 0) < 0) in add_glibc_hwcaps_subdirectories()
435 if (S_ISDIR (st.st_mode)) in add_glibc_hwcaps_subdirectories()
447 &st); in add_glibc_hwcaps_subdirectories()
550 return stat64 (real_path, st); in chroot_stat()
552 ret = lstat64 (real_path, st); in chroot_stat()
553 if (ret || !S_ISLNK (st->st_mode)) in chroot_stat()
[all …]
A Ddl-misc.c46 struct __stat64_t64 st; in _dl_sysdep_read_whole_file() local
50 if (__fstat64_time64 (fd, &st) >= 0) in _dl_sysdep_read_whole_file()
52 *sizep = st.st_size; in _dl_sysdep_read_whole_file()
A Dcache.c321 struct stat64 st; in print_cache() local
322 if (__fstat64 (fd, &st) < 0 in print_cache()
324 || st.st_size == 0) in print_cache()
331 = mmap (NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in print_cache()
335 size_t cache_size = st.st_size; in print_cache()
1020 struct stat64 st; in load_aux_cache() local
1021 if (__fstat64 (fd, &st) < 0 || st.st_size < sizeof (struct aux_cache_file)) in load_aux_cache()
1028 size_t aux_cache_size = st.st_size; in load_aux_cache()
1137 struct stat64 st; in save_aux_cache() local
1138 if (stat64 (dir, &st) < 0) in save_aux_cache()
A Dsprof.c747 struct stat64 st; in load_profdata() local
786 if (fstat64 (fd, &st) < 0) in load_profdata()
793 if ((size_t) st.st_size != shobj->expected_size) in load_profdata()
804 addr = mmap (NULL, st.st_size, PROT_READ, MAP_SHARED|MAP_FILE, fd, 0); in load_profdata()
816 munmap (addr, st.st_size); in load_profdata()
825 munmap (addr, st.st_size); in load_profdata()
831 result->size = st.st_size; in load_profdata()
913 munmap (addr, st.st_size); in load_profdata()
923 munmap (addr, st.st_size); in load_profdata()
A Ddl-load.c1914 struct __stat64_t64 st; in open_path() local
1918 if (__stat64_time64 (buf, &st) != 0 in open_path()
1919 || ! S_ISDIR (st.st_mode)) in open_path()
1936 struct __stat64_t64 st; in open_path() local
1938 if (__fstat64_time64 (fd, &st) != 0 in open_path()
1939 || (st.st_mode & S_ISUID) == 0) in open_path()
A DMakefile108 generated += trusted-dirs.h trusted-dirs.st for-renamed/renamed.so
724 $(objpfx)trusted-dirs.h: $(objpfx)trusted-dirs.st; @:
725 $(objpfx)trusted-dirs.st: Makefile $(..)Makeconfig
728 | $(AWK) -f gen-trusted-dirs.awk > ${@:st=T};
729 echo '#define DL_DST_LIB "$(notdir $(slibdir))"' >> ${@:st=T}
730 $(move-if-change) ${@:st=T} ${@:st=h}

Completed in 44 milliseconds