• Home
  • Raw
  • Download

Lines Matching refs:status

38 		vnode->status.type);  in dump_vnode()
40 vnode->status.abort_code, in dump_vnode()
41 vnode->status.mode, in dump_vnode()
42 vnode->status.size, in dump_vnode()
43 vnode->status.data_version); in dump_vnode()
77 struct afs_file_status *status = &scb->status; in afs_inode_init_from_status() local
82 status->type, in afs_inode_init_from_status()
83 status->nlink, in afs_inode_init_from_status()
84 (unsigned long long) status->size, in afs_inode_init_from_status()
85 status->data_version, in afs_inode_init_from_status()
86 status->mode); in afs_inode_init_from_status()
90 vnode->status = *status; in afs_inode_init_from_status()
92 t = status->mtime_client; in afs_inode_init_from_status()
96 inode->i_uid = make_kuid(&init_user_ns, status->owner); in afs_inode_init_from_status()
97 inode->i_gid = make_kgid(&init_user_ns, status->group); in afs_inode_init_from_status()
98 set_nlink(&vnode->vfs_inode, status->nlink); in afs_inode_init_from_status()
100 switch (status->type) { in afs_inode_init_from_status()
102 inode->i_mode = S_IFREG | status->mode; in afs_inode_init_from_status()
108 inode->i_mode = S_IFDIR | status->mode; in afs_inode_init_from_status()
115 if ((status->mode & 0777) == 0644) { in afs_inode_init_from_status()
125 inode->i_mode = S_IFLNK | status->mode; in afs_inode_init_from_status()
137 afs_set_i_size(vnode, status->size); in afs_inode_init_from_status()
139 vnode->invalid_before = status->data_version; in afs_inode_init_from_status()
140 inode_set_iversion_raw(&vnode->vfs_inode, status->data_version); in afs_inode_init_from_status()
170 struct afs_file_status *status = &scb->status; in afs_apply_status() local
177 if (status->type != vnode->status.type) { in afs_apply_status()
182 status->type, vnode->status.type); in afs_apply_status()
187 if (status->nlink != vnode->status.nlink) in afs_apply_status()
188 set_nlink(&vnode->vfs_inode, status->nlink); in afs_apply_status()
190 if (status->owner != vnode->status.owner) in afs_apply_status()
191 vnode->vfs_inode.i_uid = make_kuid(&init_user_ns, status->owner); in afs_apply_status()
193 if (status->group != vnode->status.group) in afs_apply_status()
194 vnode->vfs_inode.i_gid = make_kgid(&init_user_ns, status->group); in afs_apply_status()
196 if (status->mode != vnode->status.mode) { in afs_apply_status()
199 mode |= status->mode; in afs_apply_status()
203 t = status->mtime_client; in afs_apply_status()
208 if (vnode->status.data_version != status->data_version) in afs_apply_status()
211 vnode->status = *status; in afs_apply_status()
214 *expected_version != status->data_version) { in afs_apply_status()
219 (unsigned long long)status->data_version, in afs_apply_status()
222 vnode->invalid_before = status->data_version; in afs_apply_status()
223 if (vnode->status.type == AFS_FTYPE_DIR) { in afs_apply_status()
229 } else if (vnode->status.type == AFS_FTYPE_DIR) { in afs_apply_status()
239 inode_set_iversion_raw(&vnode->vfs_inode, status->data_version); in afs_apply_status()
240 afs_set_i_size(vnode, status->size); in afs_apply_status()
283 if (scb->status.abort_code == VNOVNODE) { in afs_vnode_commit_status()
322 afs_dataversion_t data_version = vnode->status.data_version; in afs_fetch_status()
346 *_caller_access = scb->status.caller_access; in afs_fetch_status()
483 if (vnode->status.type == AFS_FTYPE_DIR) { in afs_get_inode_cache()
492 aux.data_version = vnode->status.data_version; in afs_get_inode_cache()
498 vnode, vnode->status.size, true); in afs_get_inode_cache()
796 aux.data_version = vnode->status.data_version; in afs_evict_inode()
853 afs_dataversion_t data_version = vnode->status.data_version; in afs_setattr()