Lines Matching refs:oe
22 struct omfs_extent *oe = (struct omfs_extent *) &bh->b_data[offset]; in omfs_make_empty_table() local
24 oe->e_next = ~cpu_to_be64(0ULL); in omfs_make_empty_table()
25 oe->e_extent_count = cpu_to_be32(1), in omfs_make_empty_table()
26 oe->e_fill = cpu_to_be32(0x22), in omfs_make_empty_table()
27 oe->e_entry.e_cluster = ~cpu_to_be64(0ULL); in omfs_make_empty_table()
28 oe->e_entry.e_blocks = ~cpu_to_be64(0ULL); in omfs_make_empty_table()
34 struct omfs_extent *oe; in omfs_shrink_inode() local
56 oe = (struct omfs_extent *)(&bh->b_data[OMFS_EXTENT_START]); in omfs_shrink_inode()
64 extent_count = be32_to_cpu(oe->e_extent_count); in omfs_shrink_inode()
70 next = be64_to_cpu(oe->e_next); in omfs_shrink_inode()
71 entry = &oe->e_entry; in omfs_shrink_inode()
82 omfs_make_empty_table(bh, (char *) oe - bh->b_data); in omfs_shrink_inode()
95 oe = (struct omfs_extent *) (&bh->b_data[OMFS_EXTENT_CONT]); in omfs_shrink_inode()
116 static int omfs_grow_extent(struct inode *inode, struct omfs_extent *oe, in omfs_grow_extent() argument
120 struct omfs_extent_entry *entry = &oe->e_entry; in omfs_grow_extent()
122 u32 extent_count = be32_to_cpu(oe->e_extent_count); in omfs_grow_extent()
158 if (be32_to_cpu(oe->e_extent_count) > max_count-1) in omfs_grow_extent()
179 be32_add_cpu(&oe->e_extent_count, 1); in omfs_grow_extent()
226 struct omfs_extent *oe; in omfs_get_block() local
237 oe = (struct omfs_extent *)(&bh->b_data[OMFS_EXTENT_START]); in omfs_get_block()
246 extent_count = be32_to_cpu(oe->e_extent_count); in omfs_get_block()
247 next = be64_to_cpu(oe->e_next); in omfs_get_block()
248 entry = &oe->e_entry; in omfs_get_block()
269 oe = (struct omfs_extent *) (&bh->b_data[OMFS_EXTENT_CONT]); in omfs_get_block()
273 ret = omfs_grow_extent(inode, oe, &new_block); in omfs_get_block()