Home
last modified time | relevance | path

Searched refs:xfs_agblock_t (Results 1 – 25 of 34) sorted by relevance

12

/fs/xfs/
Dxfs_extent_busy.c38 xfs_agblock_t bno, in xfs_extent_busy_insert()
97 xfs_agblock_t bno, in xfs_extent_busy_search()
150 xfs_agblock_t fbno, in xfs_extent_busy_update_extent()
155 xfs_agblock_t fend = fbno + flen; in xfs_extent_busy_update_extent()
156 xfs_agblock_t bbno = busyp->bno; in xfs_extent_busy_update_extent()
157 xfs_agblock_t bend = bbno + busyp->length; in xfs_extent_busy_update_extent()
297 xfs_agblock_t fbno, in xfs_extent_busy_reuse()
313 xfs_agblock_t bbno = busyp->bno; in xfs_extent_busy_reuse()
314 xfs_agblock_t bend = bbno + busyp->length; in xfs_extent_busy_reuse()
347 xfs_agblock_t *bno, in xfs_extent_busy_trim()
[all …]
Dxfs_extent_busy.h38 xfs_agblock_t bno;
47 xfs_agblock_t bno, xfs_extlen_t len, unsigned int flags);
55 xfs_agblock_t bno, xfs_extlen_t len);
59 xfs_agblock_t fbno, xfs_extlen_t flen, bool userdata);
62 xfs_extent_busy_trim(struct xfs_alloc_arg *args, xfs_agblock_t *bno,
Dxfs_trace.h1455 xfs_agblock_t agbno, xfs_extlen_t len),
1460 __field(xfs_agblock_t, agbno)
1478 xfs_agblock_t agbno, xfs_extlen_t len), \
1488 xfs_agblock_t agbno, xfs_extlen_t len,
1489 xfs_agblock_t tbno, xfs_extlen_t tlen),
1494 __field(xfs_agblock_t, agbno)
1496 __field(xfs_agblock_t, tbno)
1581 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agblock_t agbno,
1588 __field(xfs_agblock_t, agbno)
1621 __field(xfs_agblock_t, agbno)
[all …]
Dxfs_icreate_item.h30 xfs_agblock_t agbno, unsigned int count,
31 unsigned int inode_size, xfs_agblock_t length,
Dxfs_reflink.h24 xfs_agnumber_t agno, xfs_agblock_t agbno, xfs_extlen_t aglen,
25 xfs_agblock_t *fbno, xfs_extlen_t *flen, bool find_maximal);
Dxfs_icreate_item.c163 xfs_agblock_t agbno, in xfs_icreate_log()
166 xfs_agblock_t length, in xfs_icreate_log()
Dxfs_reflink.c160 xfs_agblock_t agbno, in xfs_reflink_find_shared()
162 xfs_agblock_t *fbno, in xfs_reflink_find_shared()
205 xfs_agblock_t agbno; in xfs_reflink_trim_around_shared()
207 xfs_agblock_t fbno; in xfs_reflink_trim_around_shared()
1359 xfs_agblock_t agbno; in xfs_reflink_dirty_extents()
1361 xfs_agblock_t rbno; in xfs_reflink_dirty_extents()
1432 xfs_agblock_t agbno; in xfs_reflink_inode_has_shared_extents()
1434 xfs_agblock_t rbno; in xfs_reflink_inode_has_shared_extents()
Dxfs_mount.h319 static inline xfs_agblock_t
323 return (xfs_agblock_t) do_div(ld, mp->m_sb.sb_agblocks); in xfs_daddr_to_agbno()
Dxfs_discard.c79 xfs_agblock_t fbno; in xfs_trim_extents()
/fs/xfs/libxfs/
Dxfs_rmap.h139 xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len,
142 xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len,
145 int xfs_rmap_lookup_le(struct xfs_btree_cur *cur, xfs_agblock_t bno,
148 int xfs_rmap_lookup_eq(struct xfs_btree_cur *cur, xfs_agblock_t bno,
151 int xfs_rmap_insert(struct xfs_btree_cur *rcur, xfs_agblock_t agbno,
198 xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len,
201 xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len,
211 int xfs_rmap_find_left_neighbor(struct xfs_btree_cur *cur, xfs_agblock_t bno,
214 int xfs_rmap_lookup_le_range(struct xfs_btree_cur *cur, xfs_agblock_t bno,
Dxfs_alloc.h72 xfs_agblock_t agbno; /* allocation group-relative block # */
81 xfs_agblock_t min_agbno; /* set an agbno range for NEAR allocs */
82 xfs_agblock_t max_agbno; /* ... */
140 xfs_agblock_t *bnop, /* block address retrieved from freelist */
170 xfs_agblock_t bno, /* block being freed */
205 xfs_agblock_t bno, /* starting block of extent */
212 xfs_agblock_t *bno, /* output: starting block of extent */
Dxfs_alloc.c53 xfs_btree_cur_t *, xfs_agblock_t *, xfs_extlen_t *, int *);
69 return size / sizeof(xfs_agblock_t); in xfs_agfl_size()
157 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_eq()
173 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_ge()
189 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_le()
206 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_update()
222 xfs_agblock_t *bno, /* output: starting block of extent */ in xfs_alloc_get_rec()
244 xfs_agblock_t foundbno, /* starting block in found extent */ in xfs_alloc_compute_aligned()
246 xfs_agblock_t *resbno, /* result block number */ in xfs_alloc_compute_aligned()
250 xfs_agblock_t bno = foundbno; in xfs_alloc_compute_aligned()
[all …]
Dxfs_refcount.h24 xfs_agblock_t bno, int *stat);
26 xfs_agblock_t bno, int *stat);
58 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
Dxfs_refcount.c50 xfs_agblock_t agbno, xfs_extlen_t aglen,
53 xfs_agblock_t agbno, xfs_extlen_t aglen,
63 xfs_agblock_t bno, in xfs_refcount_lookup_le()
80 xfs_agblock_t bno, in xfs_refcount_lookup_ge()
282 static inline xfs_agblock_t
295 xfs_agblock_t agbno, in xfs_refcount_split_extent()
353 xfs_agblock_t *agbno, in xfs_refcount_merge_center_extents()
418 xfs_agblock_t *agbno, in xfs_refcount_merge_left_extent()
473 xfs_agblock_t *agbno, in xfs_refcount_merge_right_extent()
534 xfs_agblock_t agbno, in xfs_refcount_find_left_extents()
[all …]
Dxfs_format.h116 xfs_agblock_t sb_rextsize; /* realtime extent size, blocks */
117 xfs_agblock_t sb_agblocks; /* size of an allocation group */
573 #define XFS_HDR_BLOCK(mp,d) ((xfs_agblock_t)XFS_BB_TO_FSBT(mp,d))
817 ((xfs_agblock_t)((fsbno) & xfs_mask32lo((mp)->m_sb.sb_agblklog)))
1076 (((xfs_agblock_t)(i) >> XFS_INO_OFFSET_BITS(mp)) & \
1237 xfs_agblock_t ar_startblock; /* starting block number */
1248 #define XFS_BNO_BLOCK(mp) ((xfs_agblock_t)(XFS_AGFL_BLOCK(mp) + 1))
1249 #define XFS_CNT_BLOCK(mp) ((xfs_agblock_t)(XFS_BNO_BLOCK(mp) + 1))
1330 #define XFS_IBT_BLOCK(mp) ((xfs_agblock_t)(XFS_CNT_BLOCK(mp) + 1))
1331 #define XFS_FIBT_BLOCK(mp) ((xfs_agblock_t)(XFS_IBT_BLOCK(mp) + 1))
[all …]
Dxfs_types.h23 typedef uint32_t xfs_agblock_t; /* blockno in alloc. group */ typedef
58 #define NULLAGBLOCK ((xfs_agblock_t)-1)
Dxfs_ialloc.h165 xfs_agnumber_t agno, xfs_agblock_t agbno,
166 xfs_agblock_t length, unsigned int gen);
Dxfs_btree.h315 xfs_agblock_t agbno, /* allocation group block number */
371 xfs_agblock_t agbno, /* allocation group block number */
452 #define XFS_AGBLOCK_MIN(a,b) min_t(xfs_agblock_t, (a), (b))
453 #define XFS_AGBLOCK_MAX(a,b) max_t(xfs_agblock_t, (a), (b))
Dxfs_rmap.c49 xfs_agblock_t bno, in xfs_rmap_lookup_le()
71 xfs_agblock_t bno, in xfs_rmap_lookup_eq()
118 xfs_agblock_t agbno, in xfs_rmap_insert()
154 xfs_agblock_t agbno, in xfs_rmap_delete()
255 xfs_agblock_t bno, in xfs_rmap_find_left_neighbor()
333 xfs_agblock_t bno, in xfs_rmap_lookup_le_range()
390 xfs_agblock_t bno, in xfs_rmap_unmap()
580 xfs_agblock_t bno, in xfs_rmap_free()
641 xfs_agblock_t bno, in xfs_rmap_map()
822 xfs_agblock_t bno, in xfs_rmap_alloc()
[all …]
Dxfs_ialloc.c267 xfs_agblock_t agbno, in xfs_ialloc_inode_init()
268 xfs_agblock_t length, in xfs_ialloc_inode_init()
420 xfs_agblock_t agbno; in xfs_align_sparse_ino()
421 xfs_agblock_t mod; in xfs_align_sparse_ino()
1831 xfs_agblock_t sagbno = XFS_AGINO_TO_AGBNO(mp, rec->ir_startino); in xfs_difree_inode_chunk()
1834 xfs_agblock_t agbno; in xfs_difree_inode_chunk()
2139 xfs_agblock_t agbno; /* block number containing inode */ in xfs_difree()
2212 xfs_agblock_t agbno, in xfs_imap_lookup()
2213 xfs_agblock_t *chunk_agbno, in xfs_imap_lookup()
2214 xfs_agblock_t *offset_agbno, in xfs_imap_lookup()
[all …]
Dxfs_rmap_btree.c105 xfs_agblock_t bno; in xfs_rmapbt_alloc_block()
145 xfs_agblock_t bno; in xfs_rmapbt_free_block()
550 xfs_agblock_t agblocks) in xfs_rmapbt_max_size()
571 xfs_agblock_t agblocks; in xfs_rmapbt_calc_reserves()
Dxfs_refcount_btree.h70 xfs_agblock_t agblocks);
Dxfs_rmap_btree.h64 xfs_agblock_t agblocks);
Dxfs_refcount_btree.c409 xfs_agblock_t agblocks) in xfs_refcountbt_max_size()
430 xfs_agblock_t agblocks; in xfs_refcountbt_calc_reserves()
Dxfs_alloc_btree.c75 xfs_agblock_t bno; in xfs_allocbt_alloc_block()
110 xfs_agblock_t bno; in xfs_allocbt_free_block()

12