Lines Matching refs:oi
42 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_extent_map_init() local
44 oi->ip_extent_map.em_num_items = 0; in ocfs2_extent_map_init()
45 INIT_LIST_HEAD(&oi->ip_extent_map.em_list); in ocfs2_extent_map_init()
74 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_extent_map_lookup() local
77 spin_lock(&oi->ip_lock); in ocfs2_extent_map_lookup()
79 __ocfs2_extent_map_lookup(&oi->ip_extent_map, cpos, &emi); in ocfs2_extent_map_lookup()
89 spin_unlock(&oi->ip_lock); in ocfs2_extent_map_lookup()
103 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_extent_map_trunc() local
104 struct ocfs2_extent_map *em = &oi->ip_extent_map; in ocfs2_extent_map_trunc()
108 spin_lock(&oi->ip_lock); in ocfs2_extent_map_trunc()
124 spin_unlock(&oi->ip_lock); in ocfs2_extent_map_trunc()
216 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_extent_map_insert_rec() local
217 struct ocfs2_extent_map *em = &oi->ip_extent_map; in ocfs2_extent_map_insert_rec()
228 spin_lock(&oi->ip_lock); in ocfs2_extent_map_insert_rec()
233 spin_unlock(&oi->ip_lock); in ocfs2_extent_map_insert_rec()
247 spin_unlock(&oi->ip_lock); in ocfs2_extent_map_insert_rec()
268 spin_unlock(&oi->ip_lock); in ocfs2_extent_map_insert_rec()
709 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_fiemap_inline() local
718 phys = oi->ip_blkno << inode->i_sb->s_blocksize_bits; in ocfs2_fiemap_inline()