Home
last modified time | relevance | path

Searched refs:statbuf (Results 1 – 12 of 12) sorted by relevance

/glibc-2.36/elf/
Dreadlib.c79 struct stat statbuf; in process_file() local
99 if (fstat (fileno (file), &statbuf) < 0) in process_file()
108 if ((size_t) statbuf.st_size < sizeof (struct exec) in process_file()
109 || (size_t) statbuf.st_size < sizeof (ElfW(Ehdr))) in process_file()
111 if (statbuf.st_size == 0) in process_file()
116 size_t n = MIN (statbuf.st_size, SELFMAG); in process_file()
124 file_contents = mmap (0, statbuf.st_size, PROT_READ, MAP_SHARED, in process_file()
163 size_t len = MIN (statbuf.st_size, 512); in process_file()
175 file_contents, statbuf.st_size)) in process_file()
180 munmap (file_contents, statbuf.st_size); in process_file()
[all …]
/glibc-2.36/sysdeps/unix/sysv/linux/
Dfdopendir.c30 struct __stat64_t64 statbuf; in __fdopendir() local
32 if (__glibc_unlikely (__fstat64_time64 (fd, &statbuf) < 0)) in __fdopendir()
34 if (__glibc_unlikely (! S_ISDIR (statbuf.st_mode))) in __fdopendir()
50 return __alloc_dir (fd, false, flags, &statbuf); in __fdopendir()
Dopendir.c52 struct __stat64_t64 statbuf; in opendir_tail() local
53 if (__glibc_unlikely (__fstat64_time64 (fd, &statbuf) < 0)) in opendir_tail()
55 if (__glibc_unlikely (! S_ISDIR (statbuf.st_mode))) in opendir_tail()
63 return __alloc_dir (fd, true, 0, &statbuf); in opendir_tail()
/glibc-2.36/locale/programs/
Dcharmap-dir.c122 struct stat64 statbuf; in charmap_readdir() local
124 if (stat64 (cdir->pathname, &statbuf) < 0) in charmap_readdir()
127 mode = statbuf.st_mode; in charmap_readdir()
168 struct stat64 statbuf; in fopen_uncompressed() local
171 if (fstat64 (pfd, &statbuf) >= 0 in fopen_uncompressed()
172 && S_ISREG (statbuf.st_mode) in fopen_uncompressed()
/glibc-2.36/io/
Dtest-lfs.c147 struct stat64 statbuf; in do_test() local
208 ret = stat64 (name, &statbuf); in do_test()
214 else if (statbuf.st_size != (TWO_GB + 100 + 5)) in do_test()
216 (long long int) statbuf.st_size, (TWO_GB + 100 + 5)); in do_test()
/glibc-2.36/ChangeLog.old/
DChangeLog.2251 * sysdeps/unix/bsd/osf1/alpha/statbuf.h: New file.
313 * sysdeps/unix/sysv/sysv4/i386/statbuf.h (struct stat): Add
427 * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h (struct stat): Make
854 * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: New file.
856 * sysdeps/unix/sysv/sysv4/i386/statbuf.h: New file.
3519 * sysdeps/stub/statbuf.h (struct stat): Contain only POSIX.1
3522 * sysdeps/unix/bsd/statbuf.h (_STATBUF_ST_BLKSIZE): Define it.
3612 * sysdeps/unix/sysv/statbuf.h: Define __S_*.
DChangeLog.1841 * io/Makefile (headers): Changed gnu/stat.h to statbuf.h.
1014 * io/gnu/stat.h: Moved to sysdeps/unix/bsd/statbuf.h.
1015 * sysdeps/unix/bsd/statbuf.h: Define struct stat, not struct __stat.
1017 * sysdeps/stub/statbuf.h: New.
1018 * io/sys/stat.h: #include <statbuf.h> instead of gnu/stat.h.
DChangeLog.75105 * db/hash/hash.c (init_hash): Only use statbuf.st_blksize if it
7115 * sysdeps/mach/hurd/statbuf.h: -> .../bits/stat.h
7116 * sysdeps/stub/statbuf.h: Likewise.
7117 * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
7118 * sysdeps/unix/bsd/statbuf.h: Likewise.
7119 * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
7120 * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
7121 * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
7122 * sysdeps/unix/sysv/statbuf.h: Likewise.
7123 * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
[all …]
DChangeLog.63182 * sysdeps/mach/hurd/statbuf.h: Likewise.
3186 * sysdeps/stub/statbuf.h: Likewise.
3189 * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
3192 * sysdeps/unix/bsd/statbuf.h: Likewise.
3200 * sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
3202 * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
3211 * sysdeps/unix/sysv/linux/statbuf.h: Likewise.
3222 * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
3226 * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
3252 * sysdeps/mach/hurd/statbuf.h (S_IPTRANS, S_IATRANS, S_IROOT,
[all …]
DChangeLog.51802 * sysdeps/unix/sysv/linux/alpha/statbuf.h: New file.
5351 * sysdeps/unix/sysv/linux/statbuf.h (_STAT_VER_LINUX,
5355 * sysdeps/unix/sysv/sysv4/i386/statbuf.h (_STAT_VER, _MKNOD_VER):
6406 * sysdeps/unix/sysv/linux/statbuf.h: Define _STAT_VER.
7389 sysdeps/unix/sysv/linux/statbuf.h, sysdeps/unix/sysv/linux/stty.S,
DChangeLog.129693 * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
DChangeLog.193161 * io/ftw.c (process_entry): Fill in statbuf for dangling links.