Lines Matching defs:stat
55 #include <linux/stat.h>
1630 static int pid_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat)
1636 generic_fillattr(inode, stat);
1639 stat->uid = 0;
1640 stat->gid = 0;
1646 stat->uid = cred->euid;
1647 stat->gid = cred->egid;
1665 * the effective uid of a /process was to stat /proc/pid. Reading
1728 * by stat.
2687 ONE("stat", S_IRUGO, proc_tgid_stat),
3023 ONE("stat", S_IRUGO, proc_tid_stat),
3304 static int proc_task_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat)
3308 generic_fillattr(inode, stat);
3311 stat->nlink += get_nr_threads(p);