• Home
  • Raw
  • Download

Lines Matching refs:stat

885 			  struct kstat *stat)  in fuse_fillattr()  argument
899 stat->dev = inode->i_sb->s_dev; in fuse_fillattr()
900 stat->ino = attr->ino; in fuse_fillattr()
901 stat->mode = (inode->i_mode & S_IFMT) | (attr->mode & 07777); in fuse_fillattr()
902 stat->nlink = attr->nlink; in fuse_fillattr()
903 stat->uid = make_kuid(fc->user_ns, attr->uid); in fuse_fillattr()
904 stat->gid = make_kgid(fc->user_ns, attr->gid); in fuse_fillattr()
905 stat->rdev = inode->i_rdev; in fuse_fillattr()
906 stat->atime.tv_sec = attr->atime; in fuse_fillattr()
907 stat->atime.tv_nsec = attr->atimensec; in fuse_fillattr()
908 stat->mtime.tv_sec = attr->mtime; in fuse_fillattr()
909 stat->mtime.tv_nsec = attr->mtimensec; in fuse_fillattr()
910 stat->ctime.tv_sec = attr->ctime; in fuse_fillattr()
911 stat->ctime.tv_nsec = attr->ctimensec; in fuse_fillattr()
912 stat->size = attr->size; in fuse_fillattr()
913 stat->blocks = attr->blocks; in fuse_fillattr()
920 stat->blksize = 1 << blkbits; in fuse_fillattr()
923 static int fuse_do_getattr(struct inode *inode, struct kstat *stat, in fuse_do_getattr() argument
962 if (stat) in fuse_do_getattr()
963 fuse_fillattr(inode, &outarg.attr, stat); in fuse_do_getattr()
970 struct kstat *stat, u32 request_mask, in fuse_update_get_attr() argument
988 err = fuse_do_getattr(inode, stat, file); in fuse_update_get_attr()
989 } else if (stat) { in fuse_update_get_attr()
990 generic_fillattr(inode, stat); in fuse_update_get_attr()
991 stat->mode = fi->orig_i_mode; in fuse_update_get_attr()
992 stat->ino = fi->orig_ino; in fuse_update_get_attr()
1686 static int fuse_getattr(const struct path *path, struct kstat *stat, in fuse_getattr() argument
1695 return fuse_update_get_attr(inode, NULL, stat, request_mask, flags); in fuse_getattr()