Lines Matching refs:stat
335 struct stat statbuf;
610 fs_read_stat(fs_volume* _volume, fs_vnode* _node, struct stat* stat)
622 if (ntfs_fuse_getstat(&volume->lowntfs, NULL, ni, stat) != 0)
629 fs_write_stat(fs_volume* _volume, fs_vnode* _node, const struct stat* stat, uint32 mask)
650 if ((mask & B_STAT_SIZE) != 0 && node->size != stat->st_size) {
661 if (ntfs_attr_truncate(na, stat->st_size) != 0)
675 if (node->uid != stat->st_uid)
685 if (node->gid != stat->st_gid)
695 if (node->mode != stat->st_mode)
704 ni->creation_time = timespec2ntfs(stat->st_crtim);
712 ni->last_data_change_time = timespec2ntfs(stat->st_mtim);
720 ni->last_mft_change_time = timespec2ntfs(stat->st_ctim);
728 ni->last_access_time = timespec2ntfs(stat->st_atim);