• Home
  • Raw
  • Download

Lines Matching refs:stat

484 		 struct kstat *stat)  in v9fs_vfs_getattr_dotl()  argument
495 generic_fillattr(dentry->d_inode, stat); in v9fs_vfs_getattr_dotl()
511 generic_fillattr(dentry->d_inode, stat); in v9fs_vfs_getattr_dotl()
513 stat->blksize = st->st_blksize; in v9fs_vfs_getattr_dotl()
629 v9fs_stat2inode_dotl(struct p9_stat_dotl *stat, struct inode *inode) in v9fs_stat2inode_dotl() argument
634 if ((stat->st_result_mask & P9_STATS_BASIC) == P9_STATS_BASIC) { in v9fs_stat2inode_dotl()
635 inode->i_atime.tv_sec = stat->st_atime_sec; in v9fs_stat2inode_dotl()
636 inode->i_atime.tv_nsec = stat->st_atime_nsec; in v9fs_stat2inode_dotl()
637 inode->i_mtime.tv_sec = stat->st_mtime_sec; in v9fs_stat2inode_dotl()
638 inode->i_mtime.tv_nsec = stat->st_mtime_nsec; in v9fs_stat2inode_dotl()
639 inode->i_ctime.tv_sec = stat->st_ctime_sec; in v9fs_stat2inode_dotl()
640 inode->i_ctime.tv_nsec = stat->st_ctime_nsec; in v9fs_stat2inode_dotl()
641 inode->i_uid = stat->st_uid; in v9fs_stat2inode_dotl()
642 inode->i_gid = stat->st_gid; in v9fs_stat2inode_dotl()
643 set_nlink(inode, stat->st_nlink); in v9fs_stat2inode_dotl()
645 mode = stat->st_mode & S_IALLUGO; in v9fs_stat2inode_dotl()
649 i_size_write(inode, stat->st_size); in v9fs_stat2inode_dotl()
650 inode->i_blocks = stat->st_blocks; in v9fs_stat2inode_dotl()
652 if (stat->st_result_mask & P9_STATS_ATIME) { in v9fs_stat2inode_dotl()
653 inode->i_atime.tv_sec = stat->st_atime_sec; in v9fs_stat2inode_dotl()
654 inode->i_atime.tv_nsec = stat->st_atime_nsec; in v9fs_stat2inode_dotl()
656 if (stat->st_result_mask & P9_STATS_MTIME) { in v9fs_stat2inode_dotl()
657 inode->i_mtime.tv_sec = stat->st_mtime_sec; in v9fs_stat2inode_dotl()
658 inode->i_mtime.tv_nsec = stat->st_mtime_nsec; in v9fs_stat2inode_dotl()
660 if (stat->st_result_mask & P9_STATS_CTIME) { in v9fs_stat2inode_dotl()
661 inode->i_ctime.tv_sec = stat->st_ctime_sec; in v9fs_stat2inode_dotl()
662 inode->i_ctime.tv_nsec = stat->st_ctime_nsec; in v9fs_stat2inode_dotl()
664 if (stat->st_result_mask & P9_STATS_UID) in v9fs_stat2inode_dotl()
665 inode->i_uid = stat->st_uid; in v9fs_stat2inode_dotl()
666 if (stat->st_result_mask & P9_STATS_GID) in v9fs_stat2inode_dotl()
667 inode->i_gid = stat->st_gid; in v9fs_stat2inode_dotl()
668 if (stat->st_result_mask & P9_STATS_NLINK) in v9fs_stat2inode_dotl()
669 set_nlink(inode, stat->st_nlink); in v9fs_stat2inode_dotl()
670 if (stat->st_result_mask & P9_STATS_MODE) { in v9fs_stat2inode_dotl()
671 inode->i_mode = stat->st_mode; in v9fs_stat2inode_dotl()
677 if (stat->st_result_mask & P9_STATS_RDEV) in v9fs_stat2inode_dotl()
678 inode->i_rdev = new_decode_dev(stat->st_rdev); in v9fs_stat2inode_dotl()
679 if (stat->st_result_mask & P9_STATS_SIZE) in v9fs_stat2inode_dotl()
680 i_size_write(inode, stat->st_size); in v9fs_stat2inode_dotl()
681 if (stat->st_result_mask & P9_STATS_BLOCKS) in v9fs_stat2inode_dotl()
682 inode->i_blocks = stat->st_blocks; in v9fs_stat2inode_dotl()
684 if (stat->st_result_mask & P9_STATS_GEN) in v9fs_stat2inode_dotl()
685 inode->i_generation = stat->st_gen; in v9fs_stat2inode_dotl()