Lines Matching refs:v9inode

229 	struct v9fs_inode *v9inode;  in v9fs_alloc_inode()  local
231 v9inode = alloc_inode_sb(sb, v9fs_inode_cache, GFP_KERNEL); in v9fs_alloc_inode()
232 if (!v9inode) in v9fs_alloc_inode()
234 v9inode->writeback_fid = NULL; in v9fs_alloc_inode()
235 v9inode->cache_validity = 0; in v9fs_alloc_inode()
236 mutex_init(&v9inode->v_mutex); in v9fs_alloc_inode()
237 return &v9inode->netfs.inode; in v9fs_alloc_inode()
255 struct v9fs_inode *v9inode = V9FS_I(inode); in v9fs_set_netfs_context() local
256 netfs_inode_init(&v9inode->netfs, &v9fs_req_ops); in v9fs_set_netfs_context()
390 struct v9fs_inode *v9inode = V9FS_I(inode); in v9fs_evict_inode() local
394 version = cpu_to_le32(v9inode->qid.version); in v9fs_evict_inode()
395 fscache_clear_inode_writeback(v9fs_inode_cookie(v9inode), inode, in v9fs_evict_inode()
400 fscache_relinquish_cookie(v9fs_inode_cookie(v9inode), false); in v9fs_evict_inode()
402 p9_fid_put(v9inode->writeback_fid); in v9fs_evict_inode()
403 v9inode->writeback_fid = NULL; in v9fs_evict_inode()
410 struct v9fs_inode *v9inode = V9FS_I(inode); in v9fs_test_inode() local
420 if (memcmp(&v9inode->qid.version, in v9fs_test_inode()
421 &st->qid.version, sizeof(v9inode->qid.version))) in v9fs_test_inode()
424 if (v9inode->qid.type != st->qid.type) in v9fs_test_inode()
427 if (v9inode->qid.path != st->qid.path) in v9fs_test_inode()
439 struct v9fs_inode *v9inode = V9FS_I(inode); in v9fs_set_inode() local
442 memcpy(&v9inode->qid, &st->qid, sizeof(st->qid)); in v9fs_set_inode()
812 struct v9fs_inode *v9inode; in v9fs_vfs_atomic_open() local
845 v9inode = V9FS_I(inode); in v9fs_vfs_atomic_open()
846 mutex_lock(&v9inode->v_mutex); in v9fs_vfs_atomic_open()
848 !v9inode->writeback_fid && in v9fs_vfs_atomic_open()
860 mutex_unlock(&v9inode->v_mutex); in v9fs_vfs_atomic_open()
863 v9inode->writeback_fid = (void *) inode_fid; in v9fs_vfs_atomic_open()
865 mutex_unlock(&v9inode->v_mutex); in v9fs_vfs_atomic_open()
872 fscache_use_cookie(v9fs_inode_cookie(v9inode), in v9fs_vfs_atomic_open()
1075 struct v9fs_inode *v9inode = V9FS_I(inode); in v9fs_vfs_setattr() local
1134 fscache_resize_cookie(v9fs_inode_cookie(v9inode), iattr->ia_size); in v9fs_vfs_setattr()
1159 struct v9fs_inode *v9inode = V9FS_I(inode); in v9fs_stat2inode() local
1198 v9inode->cache_validity &= ~V9FS_INO_INVALID_ATTR; in v9fs_stat2inode()