Lines Matching defs:stat
56 #include <linux/stat.h>
104 #include <linux/sched/stat.h>
753 * Let's make getdents(), stat(), and open()
755 * may not stat() a file, it shouldn't be seen
2029 * the effective uid of a /process was to stat /proc/pid. Reading
2121 * '/proc/<tgid>/task'. Other entries(eg. fd, stat) under '/proc/<tgid>'
2149 int pid_getattr(const struct path *path, struct kstat *stat,
2156 generic_fillattr(inode, stat);
2158 stat->uid = GLOBAL_ROOT_UID;
2159 stat->gid = GLOBAL_ROOT_GID;
2171 task_dump_owner(task, inode->i_mode, &stat->uid, &stat->gid);
2246 * by stat.
3435 ONE("stat", S_IRUGO, proc_tgid_stat),
3786 ONE("stat", S_IRUGO, proc_tid_stat),
4070 static int proc_task_getattr(const struct path *path, struct kstat *stat,
4075 generic_fillattr(inode, stat);
4078 stat->nlink += get_nr_threads(p);