Home
last modified time | relevance | path

Searched refs:cii (Results 1 – 6 of 6) sorted by relevance

/fs/coda/
Dcache.c33 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 …]
Dcnode.c48 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()
Ddir.c350 struct coda_inode_info *cii; in coda_venus_readdir() local
362 cii = ITOC(file_inode(coda_file)); in coda_venus_readdir()
377 __func__, coda_f2s(&cii->c_fid), ret); in coda_venus_readdir()
385 __func__, coda_f2s(&cii->c_fid)); in coda_venus_readdir()
392 __func__, coda_f2s(&cii->c_fid)); in coda_venus_readdir()
457 struct coda_inode_info *cii; in coda_dentry_revalidate() local
468 cii = ITOC(d_inode(de)); in coda_dentry_revalidate()
469 if (!(cii->c_flags & (C_PURGE | C_FLUSH))) in coda_dentry_revalidate()
475 if (cii->c_flags & C_FLUSH) in coda_dentry_revalidate()
483 spin_lock(&cii->c_lock); in coda_dentry_revalidate()
[all …]
Dfile.c130 struct coda_inode_info *cii; in coda_file_mmap() local
155 cii = ITOC(coda_inode); in coda_file_mmap()
156 spin_lock(&cii->c_lock); in coda_file_mmap()
164 spin_unlock(&cii->c_lock); in coda_file_mmap()
170 cii->c_mapcount++; in coda_file_mmap()
172 spin_unlock(&cii->c_lock); in coda_file_mmap()
239 struct coda_inode_info *cii; in coda_release() local
249 cii = ITOC(coda_inode); in coda_release()
252 spin_lock(&cii->c_lock); in coda_release()
254 cii->c_mapcount -= cfi->cfi_mapcount; in coda_release()
[all …]
Dcoda_linux.h82 struct coda_inode_info *cii = ITOC(inode); in coda_flag_inode() local
84 spin_lock(&cii->c_lock); in coda_flag_inode()
85 cii->c_flags |= flag; in coda_flag_inode()
86 spin_unlock(&cii->c_lock); in coda_flag_inode()
Dsymlink.c27 struct coda_inode_info *cii; in coda_symlink_filler() local
31 cii = ITOC(inode); in coda_symlink_filler()
33 error = venus_readlink(inode->i_sb, &cii->c_fid, p, &len); in coda_symlink_filler()