Searched refs:v9inode (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/fs/9p/ |
D | vfs_addr.c | 62 struct v9fs_inode *v9inode = V9FS_I(inode); in v9fs_init_request() local 72 fid = v9inode->writeback_fid; in v9fs_init_request() 148 struct v9fs_inode *v9inode = priv; in v9fs_write_to_cache_done() local 153 version = cpu_to_le32(v9inode->qid.version); in v9fs_write_to_cache_done() 154 fscache_invalidate(v9fs_inode_cookie(v9inode), &version, in v9fs_write_to_cache_done() 155 i_size_read(&v9inode->netfs.inode), 0); in v9fs_write_to_cache_done() 162 struct v9fs_inode *v9inode = V9FS_I(inode); in v9fs_vfs_write_folio_locked() local 163 struct fscache_cookie *cookie = v9fs_inode_cookie(v9inode); in v9fs_vfs_write_folio_locked() 178 BUG_ON(!v9inode->writeback_fid); in v9fs_vfs_write_folio_locked() 183 p9_client_write(v9inode->writeback_fid, start, &from, &err); in v9fs_vfs_write_folio_locked() [all …]
|
D | cache.c | 52 struct v9fs_inode *v9inode = V9FS_I(inode); in v9fs_cache_inode_get_cookie() local 59 if (WARN_ON(v9fs_inode_cookie(v9inode))) in v9fs_cache_inode_get_cookie() 62 version = cpu_to_le32(v9inode->qid.version); in v9fs_cache_inode_get_cookie() 63 path = cpu_to_le64(v9inode->qid.path); in v9fs_cache_inode_get_cookie() 65 v9inode->netfs.cache = in v9fs_cache_inode_get_cookie() 70 i_size_read(&v9inode->netfs.inode)); in v9fs_cache_inode_get_cookie() 73 inode, v9fs_inode_cookie(v9inode)); in v9fs_cache_inode_get_cookie()
|
D | vfs_super.c | 297 struct v9fs_inode *v9inode; in v9fs_write_inode() local 303 v9inode = V9FS_I(inode); in v9fs_write_inode() 304 if (!v9inode->writeback_fid) in v9fs_write_inode() 308 ret = p9_client_wstat(v9inode->writeback_fid, &wstat); in v9fs_write_inode() 313 fscache_unpin_writeback(wbc, v9fs_inode_cookie(v9inode)); in v9fs_write_inode() 321 struct v9fs_inode *v9inode; in v9fs_write_inode_dotl() local 326 v9inode = V9FS_I(inode); in v9fs_write_inode_dotl() 328 __func__, inode, v9inode->writeback_fid); in v9fs_write_inode_dotl() 329 if (!v9inode->writeback_fid) in v9fs_write_inode_dotl() 332 ret = p9_client_fsync(v9inode->writeback_fid, 0); in v9fs_write_inode_dotl() [all …]
|
D | vfs_inode.c | 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 [all …]
|
D | vfs_file.c | 45 struct v9fs_inode *v9inode; in v9fs_file_open() local 51 v9inode = V9FS_I(inode); in v9fs_file_open() 76 mutex_lock(&v9inode->v_mutex); in v9fs_file_open() 78 !v9inode->writeback_fid && in v9fs_file_open() 90 mutex_unlock(&v9inode->v_mutex); in v9fs_file_open() 93 v9inode->writeback_fid = (void *) writeback_fid; in v9fs_file_open() 95 mutex_unlock(&v9inode->v_mutex); in v9fs_file_open() 97 fscache_use_cookie(v9fs_inode_cookie(v9inode), in v9fs_file_open() 494 struct v9fs_inode *v9inode; in v9fs_mmap_file_mmap() local 498 v9inode = V9FS_I(inode); in v9fs_mmap_file_mmap() [all …]
|
D | vfs_inode_dotl.c | 59 struct v9fs_inode *v9inode = V9FS_I(inode); in v9fs_test_inode_dotl() local 70 if (memcmp(&v9inode->qid.version, in v9fs_test_inode_dotl() 71 &st->qid.version, sizeof(v9inode->qid.version))) in v9fs_test_inode_dotl() 74 if (v9inode->qid.type != st->qid.type) in v9fs_test_inode_dotl() 77 if (v9inode->qid.path != st->qid.path) in v9fs_test_inode_dotl() 90 struct v9fs_inode *v9inode = V9FS_I(inode); in v9fs_set_inode_dotl() local 93 memcpy(&v9inode->qid, &st->qid, sizeof(st->qid)); in v9fs_set_inode_dotl() 240 struct v9fs_inode *v9inode; in v9fs_vfs_atomic_open_dotl() local 318 v9inode = V9FS_I(inode); in v9fs_vfs_atomic_open_dotl() 319 mutex_lock(&v9inode->v_mutex); in v9fs_vfs_atomic_open_dotl() [all …]
|
D | vfs_dentry.c | 65 struct v9fs_inode *v9inode; in v9fs_lookup_revalidate() local 74 v9inode = V9FS_I(inode); in v9fs_lookup_revalidate() 75 if (v9inode->cache_validity & V9FS_INO_INVALID_ATTR) { in v9fs_lookup_revalidate()
|
D | v9fs_vfs.h | 71 struct v9fs_inode *v9inode; in v9fs_invalidate_inode_attr() local 73 v9inode = V9FS_I(inode); in v9fs_invalidate_inode_attr() 74 v9inode->cache_validity |= V9FS_INO_INVALID_ATTR; in v9fs_invalidate_inode_attr()
|
D | vfs_dir.c | 209 struct v9fs_inode *v9inode = V9FS_I(inode); in v9fs_dir_release() local 225 version = cpu_to_le32(v9inode->qid.version); in v9fs_dir_release() 227 fscache_unuse_cookie(v9fs_inode_cookie(v9inode), in v9fs_dir_release() 230 fscache_unuse_cookie(v9fs_inode_cookie(v9inode), NULL, NULL); in v9fs_dir_release()
|
D | v9fs.h | 124 static inline struct fscache_cookie *v9fs_inode_cookie(struct v9fs_inode *v9inode) in v9fs_inode_cookie() argument 127 return netfs_i_cookie(&v9inode->netfs); in v9fs_inode_cookie()
|
D | v9fs.c | 625 struct v9fs_inode *v9inode = (struct v9fs_inode *)foo; in v9fs_inode_init_once() local 627 memset(&v9inode->qid, 0, sizeof(v9inode->qid)); in v9fs_inode_init_once() 628 inode_init_once(&v9inode->netfs.inode); in v9fs_inode_init_once()
|