suballoc.h (811f933df1e55615fd0bb4818f31e3868a8e6e23) suballoc.h (e7d4cb6bc19658646357eeff134645cd9bc3479f)
1/* -*- mode: c; c-basic-offset: 8; -*-
2 * vim: noexpandtab sw=8 ts=8 sts=0:
3 *
4 * suballoc.h
5 *
6 * Defines sub allocator api
7 *
8 * Copyright (C) 2003, 2004 Oracle. All rights reserved.

--- 148 unchanged lines hidden (view full) ---

157/* given a cluster offset, calculate which block group it belongs to
158 * and return that block offset. */
159u64 ocfs2_which_cluster_group(struct inode *inode, u32 cluster);
160
161/* somewhat more expensive than our other checks, so use sparingly. */
162int ocfs2_check_group_descriptor(struct super_block *sb,
163 struct ocfs2_dinode *di,
164 struct ocfs2_group_desc *gd);
1/* -*- mode: c; c-basic-offset: 8; -*-
2 * vim: noexpandtab sw=8 ts=8 sts=0:
3 *
4 * suballoc.h
5 *
6 * Defines sub allocator api
7 *
8 * Copyright (C) 2003, 2004 Oracle. All rights reserved.

--- 148 unchanged lines hidden (view full) ---

157/* given a cluster offset, calculate which block group it belongs to
158 * and return that block offset. */
159u64 ocfs2_which_cluster_group(struct inode *inode, u32 cluster);
160
161/* somewhat more expensive than our other checks, so use sparingly. */
162int ocfs2_check_group_descriptor(struct super_block *sb,
163 struct ocfs2_dinode *di,
164 struct ocfs2_group_desc *gd);
165int ocfs2_lock_allocators(struct inode *inode, struct buffer_head *root_bh,
166 struct ocfs2_extent_list *root_el,
167 u32 clusters_to_add, u32 extents_to_split,
168 struct ocfs2_alloc_context **data_ac,
169 struct ocfs2_alloc_context **meta_ac);
165#endif /* _CHAINALLOC_H_ */
170#endif /* _CHAINALLOC_H_ */