Lines Matching refs:entry
35 struct omfs_extent_entry *entry; in omfs_shrink_inode() local
71 entry = &oe->e_entry; in omfs_shrink_inode()
76 start = be64_to_cpu(entry->e_cluster); in omfs_shrink_inode()
77 count = be64_to_cpu(entry->e_blocks); in omfs_shrink_inode()
80 entry++; in omfs_shrink_inode()
120 struct omfs_extent_entry *entry = &oe->e_entry; in omfs_grow_extent() local
142 terminator = entry + extent_count - 1; in omfs_grow_extent()
144 entry = terminator-1; in omfs_grow_extent()
145 new_block = be64_to_cpu(entry->e_cluster) + in omfs_grow_extent()
146 be64_to_cpu(entry->e_blocks); in omfs_grow_extent()
149 be64_add_cpu(&entry->e_blocks, 1); in omfs_grow_extent()
168 entry = terminator; in omfs_grow_extent()
170 memcpy(terminator, entry, sizeof(struct omfs_extent_entry)); in omfs_grow_extent()
172 entry->e_cluster = cpu_to_be64(new_block); in omfs_grow_extent()
173 entry->e_blocks = cpu_to_be64((u64) new_count); in omfs_grow_extent()
227 struct omfs_extent_entry *entry; in omfs_get_block() local
248 entry = &oe->e_entry; in omfs_get_block()
253 offset = find_block(inode, entry, block, extent_count, &remain); in omfs_get_block()