Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_extent_busy.c38 xfs_agblock_t bno, in xfs_extent_busy_insert()
108 xfs_agblock_t bno, in xfs_extent_busy_search()
161 xfs_agblock_t fbno, in xfs_extent_busy_update_extent()
166 xfs_agblock_t fend = fbno + flen; in xfs_extent_busy_update_extent()
167 xfs_agblock_t bbno = busyp->bno; in xfs_extent_busy_update_extent()
168 xfs_agblock_t bend = bbno + busyp->length; in xfs_extent_busy_update_extent()
308 xfs_agblock_t fbno, in xfs_extent_busy_reuse()
324 xfs_agblock_t bbno = busyp->bno; in xfs_extent_busy_reuse()
325 xfs_agblock_t bend = bbno + busyp->length; in xfs_extent_busy_reuse()
352 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,
63 xfs_extlen_t len, xfs_agblock_t *rbno, xfs_extlen_t *rlen);
Dxfs_icreate_item.h30 xfs_agblock_t agbno, unsigned int count,
31 unsigned int inode_size, xfs_agblock_t length,
Dxfs_icreate_item.c163 xfs_agblock_t agbno, in xfs_icreate_log()
166 xfs_agblock_t length, in xfs_icreate_log()
Dxfs_mount.h260 static inline xfs_agblock_t
264 return (xfs_agblock_t) do_div(ld, mp->m_sb.sb_agblocks); in xfs_daddr_to_agbno()
Dxfs_trace.h1408 xfs_agblock_t agbno, xfs_extlen_t len),
1413 __field(xfs_agblock_t, agbno)
1431 xfs_agblock_t agbno, xfs_extlen_t len), \
1441 xfs_agblock_t agbno, xfs_extlen_t len,
1442 xfs_agblock_t tbno, xfs_extlen_t tlen),
1447 __field(xfs_agblock_t, agbno)
1449 __field(xfs_agblock_t, tbno)
1553 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agblock_t agbno,
1559 __field(xfs_agblock_t, agbno)
1592 __field(xfs_agblock_t, agbno)
[all …]
Dxfs_discard.c79 xfs_agblock_t fbno; in xfs_trim_extents()
Dxfs_itable.c181 xfs_agblock_t agbno; in xfs_bulkstat_ichunk_ra()
Dxfs_log_recover.c3046 xfs_agblock_t agbno; in xlog_recover_do_icreate_pass2()
3049 xfs_agblock_t length; in xlog_recover_do_icreate_pass2()
/fs/xfs/libxfs/
Dxfs_alloc.h107 xfs_agblock_t agbno; /* allocation group-relative block # */
116 xfs_agblock_t min_agbno; /* set an agbno range for NEAR allocs */
117 xfs_agblock_t max_agbno; /* ... */
155 xfs_agblock_t *bnop, /* block address retrieved from freelist */
185 xfs_agblock_t bno, /* block being freed */
218 xfs_agblock_t bno, /* starting block of extent */
225 xfs_agblock_t bno, /* starting block of extent */
232 xfs_agblock_t *bno, /* output: starting block of extent */
Dxfs_alloc.c50 xfs_btree_cur_t *, xfs_agblock_t *, xfs_extlen_t *, int *);
58 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_eq()
74 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_ge()
90 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_le()
107 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_update()
123 xfs_agblock_t *bno, /* output: starting block of extent */ in xfs_alloc_get_rec()
145 xfs_agblock_t foundbno, /* starting block in found extent */ in xfs_alloc_compute_aligned()
147 xfs_agblock_t *resbno, /* result block number */ in xfs_alloc_compute_aligned()
150 xfs_agblock_t bno; in xfs_alloc_compute_aligned()
170 xfs_agblock_t aligned_bno = roundup(bno, args->alignment); in xfs_alloc_compute_aligned()
[all …]
Dxfs_format.h116 xfs_agblock_t sb_rextsize; /* realtime extent size, blocks */
117 xfs_agblock_t sb_agblocks; /* size of an allocation group */
557 #define XFS_HDR_BLOCK(mp,d) ((xfs_agblock_t)XFS_BB_TO_FSBT(mp,d))
780 sizeof(xfs_agblock_t))
798 ((xfs_agblock_t)((fsbno) & xfs_mask32lo((mp)->m_sb.sb_agblklog)))
1047 (((xfs_agblock_t)(i) >> XFS_INO_OFFSET_BITS(mp)) & \
1207 xfs_agblock_t ar_startblock; /* starting block number */
1218 #define XFS_BNO_BLOCK(mp) ((xfs_agblock_t)(XFS_AGFL_BLOCK(mp) + 1))
1219 #define XFS_CNT_BLOCK(mp) ((xfs_agblock_t)(XFS_BNO_BLOCK(mp) + 1))
1300 #define XFS_IBT_BLOCK(mp) ((xfs_agblock_t)(XFS_CNT_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.h308 xfs_agblock_t agbno, /* allocation group block number */
364 xfs_agblock_t agbno, /* allocation group block number */
445 #define XFS_AGBLOCK_MIN(a,b) min_t(xfs_agblock_t, (a), (b))
446 #define XFS_AGBLOCK_MAX(a,b) max_t(xfs_agblock_t, (a), (b))
Dxfs_ialloc.c256 xfs_agblock_t agbno, in xfs_ialloc_inode_init()
257 xfs_agblock_t length, in xfs_ialloc_inode_init()
411 xfs_agblock_t agbno; in xfs_align_sparse_ino()
412 xfs_agblock_t mod; in xfs_align_sparse_ino()
1822 xfs_agblock_t sagbno = XFS_AGINO_TO_AGBNO(mp, rec->ir_startino); in xfs_difree_inode_chunk()
1825 xfs_agblock_t agbno; in xfs_difree_inode_chunk()
2129 xfs_agblock_t agbno; /* block number containing inode */ in xfs_difree()
2202 xfs_agblock_t agbno, in xfs_imap_lookup()
2203 xfs_agblock_t *chunk_agbno, in xfs_imap_lookup()
2204 xfs_agblock_t *offset_agbno, in xfs_imap_lookup()
[all …]
Dxfs_alloc_btree.c75 xfs_agblock_t bno; in xfs_allocbt_alloc_block()
110 xfs_agblock_t bno; in xfs_allocbt_free_block()
Dxfs_btree.c110 xfs_agblock_t agflen; /* native ag. freespace length */ in xfs_btree_check_sblock()
188 xfs_agblock_t bno, /* btree block disk address */ in xfs_btree_check_sptr()
191 xfs_agblock_t agblocks = cur->bc_mp->m_sb.sb_agblocks; in xfs_btree_check_sptr()
586 xfs_agblock_t agbno, /* allocation group block number */ in xfs_btree_get_bufs()
768 xfs_agblock_t agbno, /* allocation group block number */ in xfs_btree_reada_bufs()
812 xfs_agblock_t left = be32_to_cpu(block->bb_u.s.bb_leftsib); in xfs_btree_readahead_sblock()
813 xfs_agblock_t right = be32_to_cpu(block->bb_u.s.bb_rightsib); in xfs_btree_readahead_sblock()
Dxfs_ialloc_btree.c92 xfs_agblock_t sbno = be32_to_cpu(start->s); in xfs_inobt_alloc_block()
Dxfs_dir2.c196 xfs_agblock_t agblkno; in xfs_dir_ino_validate()
Dxfs_bmap.c580 xfs_agblock_t agbno; in xfs_bmap_add_free()