st 87 bsp/hal/x86/include/context.h uint32_t st[20]; st 125 include/ipc/fs.h struct stat st; st 257 usr/bin/ls/ls.c struct stat st; st 263 usr/bin/ls/ls.c if (stat(path, &st) == -1) st 266 usr/bin/ls/ls.c if (S_ISDIR(st.st_mode)) { st 290 usr/bin/ls/ls.c if (stat(buf, &st) == -1 && errno != EACCES) st 292 usr/bin/ls/ls.c printentry(entry->d_name, &st); st 302 usr/bin/ls/ls.c printentry(path, &st); st 92 usr/bin/touch/touch.c struct stat st; st 95 usr/bin/touch/touch.c if (stat(file, &st) < 0) { st 46 usr/lib/libc/stdio/makebuf.c struct stat st; st 50 usr/lib/libc/stdio/makebuf.c if (fp->_file < 0 || fstat(fp->_file, &st) < 0) st 54 usr/lib/libc/stdio/makebuf.c *couldbetty = S_ISCHR(st.st_mode); st 39 usr/lib/posix/file/fstat.c fstat(int fd, struct stat *st) st 47 usr/lib/posix/file/fstat.c memcpy(st, &m.st, sizeof(struct stat)); st 40 usr/lib/posix/file/lstat.c lstat(const char *path, struct stat *st) st 42 usr/lib/posix/file/lstat.c return stat(path, st); st 40 usr/lib/posix/file/stat.c stat(const char *path, struct stat *st) st 48 usr/lib/posix/file/stat.c memcpy(st, &m.st, sizeof(struct stat)); st 446 usr/server/exec/exec_execve.c struct stat st; st 454 usr/server/exec/exec_execve.c if (fstat(fd, &st) == -1) { st 458 usr/server/exec/exec_execve.c if (!S_ISREG(st.st_mode)) { st 279 usr/server/fs/vfs/main.c struct stat *st; st 285 usr/server/fs/vfs/main.c st = &msg->st; st 286 usr/server/fs/vfs/main.c error = sys_fstat(fp, st); st 491 usr/server/fs/vfs/main.c struct stat *st; st 496 usr/server/fs/vfs/main.c st = &msg->st; st 497 usr/server/fs/vfs/main.c error = sys_stat(path, st); st 100 usr/server/fs/vfs/vfs.h int sys_fstat(file_t fp, struct stat *st); st 118 usr/server/fs/vfs/vfs.h int sys_stat(char *path, struct stat *st); st 304 usr/server/fs/vfs/vfs_syscalls.c sys_fstat(file_t fp, struct stat *st) st 313 usr/server/fs/vfs/vfs_syscalls.c error = vn_stat(vp, st); st 717 usr/server/fs/vfs/vfs_syscalls.c sys_stat(char *path, struct stat *st) st 726 usr/server/fs/vfs/vfs_syscalls.c error = vn_stat(vp, st); st 343 usr/server/fs/vfs/vfs_vnode.c vn_stat(vnode_t vp, struct stat *st) st 347 usr/server/fs/vfs/vfs_vnode.c memset(st, 0, sizeof(struct stat)); st 349 usr/server/fs/vfs/vfs_vnode.c st->st_ino = (ino_t)vp; st 350 usr/server/fs/vfs/vfs_vnode.c st->st_size = vp->v_size; st 377 usr/server/fs/vfs/vfs_vnode.c st->st_mode = mode; st 378 usr/server/fs/vfs/vfs_vnode.c st->st_blksize = BSIZE; st 379 usr/server/fs/vfs/vfs_vnode.c st->st_blocks = vp->v_size / S_BLKSIZE; st 380 usr/server/fs/vfs/vfs_vnode.c st->st_uid = 0; st 381 usr/server/fs/vfs/vfs_vnode.c st->st_gid = 0; st 383 usr/server/fs/vfs/vfs_vnode.c st->st_rdev = (dev_t)vp->v_data;