Lines Matching refs:oe
23 struct omfs_extent *oe = (struct omfs_extent *) &bh->b_data[offset]; in omfs_make_empty_table() local
25 oe->e_next = ~cpu_to_be64(0ULL); in omfs_make_empty_table()
26 oe->e_extent_count = cpu_to_be32(1), in omfs_make_empty_table()
27 oe->e_fill = cpu_to_be32(0x22), in omfs_make_empty_table()
28 oe->e_entry.e_cluster = ~cpu_to_be64(0ULL); in omfs_make_empty_table()
29 oe->e_entry.e_blocks = ~cpu_to_be64(0ULL); in omfs_make_empty_table()
35 struct omfs_extent *oe; in omfs_shrink_inode() local
57 oe = (struct omfs_extent *)(&bh->b_data[OMFS_EXTENT_START]); in omfs_shrink_inode()
65 extent_count = be32_to_cpu(oe->e_extent_count); in omfs_shrink_inode()
71 next = be64_to_cpu(oe->e_next); in omfs_shrink_inode()
72 entry = &oe->e_entry; in omfs_shrink_inode()
83 omfs_make_empty_table(bh, (char *) oe - bh->b_data); in omfs_shrink_inode()
96 oe = (struct omfs_extent *) (&bh->b_data[OMFS_EXTENT_CONT]); in omfs_shrink_inode()
117 static int omfs_grow_extent(struct inode *inode, struct omfs_extent *oe, in omfs_grow_extent() argument
121 struct omfs_extent_entry *entry = &oe->e_entry; in omfs_grow_extent()
123 u32 extent_count = be32_to_cpu(oe->e_extent_count); in omfs_grow_extent()
160 if (be32_to_cpu(oe->e_extent_count) > max_count-1) in omfs_grow_extent()
181 oe->e_extent_count = cpu_to_be32(1 + be32_to_cpu(oe->e_extent_count)); in omfs_grow_extent()
228 struct omfs_extent *oe; in omfs_get_block() local
239 oe = (struct omfs_extent *)(&bh->b_data[OMFS_EXTENT_START]); in omfs_get_block()
248 extent_count = be32_to_cpu(oe->e_extent_count); in omfs_get_block()
249 next = be64_to_cpu(oe->e_next); in omfs_get_block()
250 entry = &oe->e_entry; in omfs_get_block()
271 oe = (struct omfs_extent *) (&bh->b_data[OMFS_EXTENT_CONT]); in omfs_get_block()
275 ret = omfs_grow_extent(inode, oe, &new_block); in omfs_get_block()