Searched refs:cii (Results 1 – 6 of 6) sorted by relevance
/linux-4.19.296/fs/coda/ |
D | cache.c | 33 struct coda_inode_info *cii = ITOC(inode); in coda_cache_enter() local 35 spin_lock(&cii->c_lock); in coda_cache_enter() 36 cii->c_cached_epoch = atomic_read(&permission_epoch); in coda_cache_enter() 37 if (!uid_eq(cii->c_uid, current_fsuid())) { in coda_cache_enter() 38 cii->c_uid = current_fsuid(); in coda_cache_enter() 39 cii->c_cached_perm = mask; in coda_cache_enter() 41 cii->c_cached_perm |= mask; in coda_cache_enter() 42 spin_unlock(&cii->c_lock); in coda_cache_enter() 48 struct coda_inode_info *cii = ITOC(inode); in coda_cache_clear_inode() local 49 spin_lock(&cii->c_lock); in coda_cache_clear_inode() [all …]
|
D | cnode.c | 48 struct coda_inode_info *cii = ITOC(inode); in coda_test_inode() local 49 return coda_fideq(&cii->c_fid, fid); in coda_test_inode() 55 struct coda_inode_info *cii = ITOC(inode); in coda_set_inode() local 56 cii->c_fid = *fid; in coda_set_inode() 64 struct coda_inode_info *cii; in coda_iget() local 73 cii = ITOC(inode); in coda_iget() 77 cii->c_mapcount = 0; in coda_iget() 121 struct coda_inode_info *cii = ITOC(inode); in coda_replace_fid() local 124 BUG_ON(!coda_fideq(&cii->c_fid, oldfid)); in coda_replace_fid() 129 cii->c_fid = *newfid; in coda_replace_fid()
|
D | dir.c | 350 struct coda_inode_info *cii; in coda_venus_readdir() local 363 cii = ITOC(file_inode(coda_file)); in coda_venus_readdir() 378 __func__, coda_f2s(&cii->c_fid), ret); in coda_venus_readdir() 386 __func__, coda_f2s(&cii->c_fid)); in coda_venus_readdir() 393 __func__, coda_f2s(&cii->c_fid)); in coda_venus_readdir() 459 struct coda_inode_info *cii; in coda_dentry_revalidate() local 470 cii = ITOC(d_inode(de)); in coda_dentry_revalidate() 471 if (!(cii->c_flags & (C_PURGE | C_FLUSH))) in coda_dentry_revalidate() 477 if (cii->c_flags & C_FLUSH) in coda_dentry_revalidate() 485 spin_lock(&cii->c_lock); in coda_dentry_revalidate() [all …]
|
D | file.c | 103 struct coda_inode_info *cii; in coda_file_mmap() local 126 cii = ITOC(coda_inode); in coda_file_mmap() 127 spin_lock(&cii->c_lock); in coda_file_mmap() 135 spin_unlock(&cii->c_lock); in coda_file_mmap() 141 cii->c_mapcount++; in coda_file_mmap() 143 spin_unlock(&cii->c_lock); in coda_file_mmap() 208 struct coda_inode_info *cii; in coda_release() local 219 cii = ITOC(coda_inode); in coda_release() 222 spin_lock(&cii->c_lock); in coda_release() 224 cii->c_mapcount -= cfi->cfi_mapcount; in coda_release() [all …]
|
D | symlink.c | 28 struct coda_inode_info *cii; in coda_symlink_filler() local 32 cii = ITOC(inode); in coda_symlink_filler() 34 error = venus_readlink(inode->i_sb, &cii->c_fid, p, &len); in coda_symlink_filler()
|
D | coda_linux.h | 98 struct coda_inode_info *cii = ITOC(inode); in coda_flag_inode() local 100 spin_lock(&cii->c_lock); in coda_flag_inode() 101 cii->c_flags |= flag; in coda_flag_inode() 102 spin_unlock(&cii->c_lock); in coda_flag_inode()
|