xfs_alloc.h (9938b04472d5c59f8bd8152a548533a8599596a2) | xfs_alloc.h (0d5a75e9e23ee39cd0d8a167393dcedb4f0f47b2) |
---|---|
1/* 2 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc. 3 * All Rights Reserved. 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License as 7 * published by the Free Software Foundation. 8 * --- 198 unchanged lines hidden (view full) --- 207 * Free an extent. 208 */ 209int /* error */ 210xfs_free_extent( 211 struct xfs_trans *tp, /* transaction pointer */ 212 xfs_fsblock_t bno, /* starting block number of extent */ 213 xfs_extlen_t len); /* length of extent */ 214 | 1/* 2 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc. 3 * All Rights Reserved. 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License as 7 * published by the Free Software Foundation. 8 * --- 198 unchanged lines hidden (view full) --- 207 * Free an extent. 208 */ 209int /* error */ 210xfs_free_extent( 211 struct xfs_trans *tp, /* transaction pointer */ 212 xfs_fsblock_t bno, /* starting block number of extent */ 213 xfs_extlen_t len); /* length of extent */ 214 |
215int /* error */ 216xfs_alloc_lookup_le( 217 struct xfs_btree_cur *cur, /* btree cursor */ 218 xfs_agblock_t bno, /* starting block of extent */ 219 xfs_extlen_t len, /* length of extent */ 220 int *stat); /* success/failure */ 221 | |
222int /* error */ 223xfs_alloc_lookup_ge( 224 struct xfs_btree_cur *cur, /* btree cursor */ 225 xfs_agblock_t bno, /* starting block of extent */ 226 xfs_extlen_t len, /* length of extent */ 227 int *stat); /* success/failure */ 228 229int /* error */ 230xfs_alloc_get_rec( 231 struct xfs_btree_cur *cur, /* btree cursor */ 232 xfs_agblock_t *bno, /* output: starting block of extent */ 233 xfs_extlen_t *len, /* output: length of extent */ 234 int *stat); /* output: success/failure */ 235 236int xfs_read_agf(struct xfs_mount *mp, struct xfs_trans *tp, 237 xfs_agnumber_t agno, int flags, struct xfs_buf **bpp); 238int xfs_alloc_fix_freelist(struct xfs_alloc_arg *args, int flags); 239 240#endif /* __XFS_ALLOC_H__ */ | 215int /* error */ 216xfs_alloc_lookup_ge( 217 struct xfs_btree_cur *cur, /* btree cursor */ 218 xfs_agblock_t bno, /* starting block of extent */ 219 xfs_extlen_t len, /* length of extent */ 220 int *stat); /* success/failure */ 221 222int /* error */ 223xfs_alloc_get_rec( 224 struct xfs_btree_cur *cur, /* btree cursor */ 225 xfs_agblock_t *bno, /* output: starting block of extent */ 226 xfs_extlen_t *len, /* output: length of extent */ 227 int *stat); /* output: success/failure */ 228 229int xfs_read_agf(struct xfs_mount *mp, struct xfs_trans *tp, 230 xfs_agnumber_t agno, int flags, struct xfs_buf **bpp); 231int xfs_alloc_fix_freelist(struct xfs_alloc_arg *args, int flags); 232 233#endif /* __XFS_ALLOC_H__ */ |