~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to fs/xfs/xfs_alloc.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
#ifdef __KERNEL__
138
138
void
139
139
xfs_alloc_busy_insert(struct xfs_trans *tp, xfs_agnumber_t agno,
140
 
        xfs_agblock_t bno, xfs_extlen_t len);
 
140
        xfs_agblock_t bno, xfs_extlen_t len, unsigned int flags);
141
141
 
142
142
void
143
 
xfs_alloc_busy_clear(struct xfs_mount *mp, struct xfs_busy_extent *busyp);
 
143
xfs_alloc_busy_clear(struct xfs_mount *mp, struct list_head *list,
 
144
        bool do_discard);
144
145
 
145
146
int
146
147
xfs_alloc_busy_search(struct xfs_mount *mp, xfs_agnumber_t agno,
147
148
        xfs_agblock_t bno, xfs_extlen_t len);
 
149
 
 
150
void
 
151
xfs_alloc_busy_reuse(struct xfs_mount *mp, xfs_agnumber_t agno,
 
152
        xfs_agblock_t fbno, xfs_extlen_t flen, bool userdata);
 
153
 
 
154
int
 
155
xfs_busy_extent_ag_cmp(void *priv, struct list_head *a, struct list_head *b);
 
156
 
 
157
static inline void xfs_alloc_busy_sort(struct list_head *list)
 
158
{
 
159
        list_sort(NULL, list, xfs_busy_extent_ag_cmp);
 
160
}
 
161
 
148
162
#endif  /* __KERNEL__ */
149
163
 
150
164
/*