Lines Matching refs:info
35 struct bfs_sb_info *info = BFS_SB(dir->i_sb); in bfs_readdir() local
39 mutex_lock(&info->bfs_lock); in bfs_readdir()
45 mutex_unlock(&info->bfs_lock); in bfs_readdir()
65 mutex_unlock(&info->bfs_lock); in bfs_readdir()
75 mutex_unlock(&info->bfs_lock); in bfs_readdir()
94 struct bfs_sb_info *info = BFS_SB(s); in bfs_create() local
100 mutex_lock(&info->bfs_lock); in bfs_create()
101 ino = find_first_zero_bit(info->si_imap, info->si_lasti); in bfs_create()
102 if (ino > info->si_lasti) { in bfs_create()
103 mutex_unlock(&info->bfs_lock); in bfs_create()
107 set_bit(ino, info->si_imap); in bfs_create()
108 info->si_freei--; in bfs_create()
129 mutex_unlock(&info->bfs_lock); in bfs_create()
133 mutex_unlock(&info->bfs_lock); in bfs_create()
144 struct bfs_sb_info *info = BFS_SB(dir->i_sb); in bfs_lookup() local
149 mutex_lock(&info->bfs_lock); in bfs_lookup()
156 mutex_unlock(&info->bfs_lock); in bfs_lookup()
160 mutex_unlock(&info->bfs_lock); in bfs_lookup()
169 struct bfs_sb_info *info = BFS_SB(inode->i_sb); in bfs_link() local
172 mutex_lock(&info->bfs_lock); in bfs_link()
176 mutex_unlock(&info->bfs_lock); in bfs_link()
184 mutex_unlock(&info->bfs_lock); in bfs_link()
194 struct bfs_sb_info *info = BFS_SB(inode->i_sb); in bfs_unlink() local
196 mutex_lock(&info->bfs_lock); in bfs_unlink()
217 mutex_unlock(&info->bfs_lock); in bfs_unlink()
227 struct bfs_sb_info *info; in bfs_rename() local
235 info = BFS_SB(old_inode->i_sb); in bfs_rename()
237 mutex_lock(&info->bfs_lock); in bfs_rename()
274 mutex_unlock(&info->bfs_lock); in bfs_rename()