Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/xfs/
Dxfs_btree.h61 xfs_agblock_t bb_leftsib; /* left sibling block or NULLAGBLOCK */
62 xfs_agblock_t bb_rightsib; /* right sibling block or NULLAGBLOCK */
92 xfs_agblock_t bb_leftsib;
93 xfs_agblock_t bb_rightsib;
298 xfs_agblock_t ptr, /* btree block disk address */
357 xfs_agblock_t agbno, /* allocation group block number */
425 xfs_agblock_t agbno, /* allocation group block number */
448 xfs_agblock_t agbno, /* allocation group block number */
508 xfs_agblock_t xfs_agblock_min(xfs_agblock_t a, xfs_agblock_t b);
512 ((xfs_agblock_t)(a) < (xfs_agblock_t)(b) ? \
[all …]
Dxfs_alloc_btree.h57 xfs_agblock_t ar_startblock; /* starting block number */
61 typedef xfs_agblock_t xfs_alloc_ptr_t; /* btree pointer type */
117 xfs_agblock_t xfs_bno_block(struct xfs_mount *mp);
120 #define XFS_BNO_BLOCK(mp) ((xfs_agblock_t)(XFS_AGFL_BLOCK(mp) + 1))
123 xfs_agblock_t xfs_cnt_block(struct xfs_mount *mp);
126 #define XFS_CNT_BLOCK(mp) ((xfs_agblock_t)(XFS_BNO_BLOCK(mp) + 1))
192 xfs_agblock_t *bno, /* output: starting block of extent */
221 xfs_agblock_t bno, /* starting block of extent */
232 xfs_agblock_t bno, /* starting block of extent */
243 xfs_agblock_t bno, /* starting block of extent */
[all …]
Dxfs_ag.h82 xfs_agblock_t agf_length; /* size in blocks of a.g. */
86 xfs_agblock_t agf_roots[XFS_BTNUM_AGF]; /* root blocks */
114 xfs_agblock_t xfs_agf_block(struct xfs_mount *mp);
133 xfs_agblock_t agi_length; /* size in blocks of a.g. */
140 xfs_agblock_t agi_root; /* root of inode btree */
169 xfs_agblock_t xfs_agi_block(struct xfs_mount *mp);
181 xfs_agblock_t xfs_agfl_block(struct xfs_mount *mp);
186 #define XFS_AGFL_SIZE(mp) ((mp)->m_sb.sb_sectsize / sizeof(xfs_agblock_t))
189 xfs_agblock_t agfl_bno[1]; /* actually XFS_AGFL_SIZE(mp) */
197 xfs_agblock_t busy_start;
[all …]
Dxfs_alloc.c65 xfs_agblock_t bno,
100 xfs_btree_cur_t *, xfs_agblock_t *, xfs_extlen_t *, int *);
112 xfs_agblock_t foundbno, /* starting block in found extent */ in xfs_alloc_compute_aligned()
116 xfs_agblock_t *resbno, /* result block number */ in xfs_alloc_compute_aligned()
119 xfs_agblock_t bno; in xfs_alloc_compute_aligned()
142 xfs_agblock_t wantbno, /* target starting block */ in xfs_alloc_compute_diff()
145 xfs_agblock_t freebno, /* freespace's starting block */ in xfs_alloc_compute_diff()
147 xfs_agblock_t *newbnop) /* result: best start block from free */ in xfs_alloc_compute_diff()
149 xfs_agblock_t freeend; /* end of freespace extent */ in xfs_alloc_compute_diff()
150 xfs_agblock_t newbno1; /* return block number */ in xfs_alloc_compute_diff()
[all …]
Dxfs_alloc.h71 xfs_agblock_t agbno; /* allocation group-relative block # */
131 xfs_agblock_t *bnop); /* block address retrieved from freelist */
160 xfs_agblock_t bno); /* block being freed */
192 xfs_agblock_t bno,
Dxfs_macros.c128 xfs_agb_to_daddr(xfs_mount_t *mp, xfs_agnumber_t agno, xfs_agblock_t agbno) in xfs_agb_to_daddr()
136 xfs_agb_to_fsb(xfs_mount_t *mp, xfs_agnumber_t agno, xfs_agblock_t agbno) in xfs_agb_to_fsb()
143 xfs_agblock_t
144 xfs_agblock_max(xfs_agblock_t a, xfs_agblock_t b) in xfs_agblock_max()
151 xfs_agblock_t
152 xfs_agblock_min(xfs_agblock_t a, xfs_agblock_t b) in xfs_agblock_min()
159 xfs_agblock_t
175 xfs_agblock_t
183 xfs_agblock_t
199 xfs_agblock_t
[all …]
Dxfs_ialloc_btree.h81 typedef xfs_agblock_t xfs_inobt_ptr_t; /* btree pointer type */
169 xfs_agblock_t xfs_ibt_block(struct xfs_mount *mp);
172 #define XFS_IBT_BLOCK(mp) ((xfs_agblock_t)(XFS_CNT_BLOCK(mp) + 1))
175 xfs_agblock_t xfs_prealloc_blocks(struct xfs_mount *mp);
178 #define XFS_PREALLOC_BLOCKS(mp) ((xfs_agblock_t)(XFS_IBT_BLOCK(mp) + 1))
Dxfs_inum.h113 xfs_agblock_t xfs_ino_to_agbno(struct xfs_mount *mp, xfs_ino_t i);
117 (((xfs_agblock_t)(i) >> XFS_INO_OFFSET_BITS(mp)) & \
144 xfs_agblock_t xfs_agino_to_agbno(struct xfs_mount *mp, xfs_agino_t i);
158 xfs_agino_t xfs_offbno_to_agino(struct xfs_mount *mp, xfs_agblock_t b, int o);
Dxfs_alloc_btree.c67 STATIC int xfs_alloc_split(xfs_btree_cur_t *, int, xfs_agblock_t *,
89 xfs_agblock_t bno; /* btree block number */ in xfs_alloc_delrec()
94 xfs_agblock_t lbno; /* left block's block number */ in xfs_alloc_delrec()
103 xfs_agblock_t rbno; /* right block's block number */ in xfs_alloc_delrec()
607 xfs_agblock_t *bnop, /* i/o: block number inserted */ in xfs_alloc_insrec()
619 xfs_agblock_t nbno; /* block number of allocated block */ in xfs_alloc_insrec()
945 xfs_agblock_t agbno; /* a.g. relative btree block number */ in xfs_alloc_lookup()
1047 xfs_agblock_t startblock; /* key value */ in xfs_alloc_lookup()
1302 xfs_agblock_t lbno; /* left block number */ in xfs_alloc_newroot()
1306 xfs_agblock_t nbno; /* new block number */ in xfs_alloc_newroot()
[all …]
Dxfs_types.h80 typedef __uint32_t xfs_agblock_t; /* blockno in alloc. group */ typedef
142 #define NULLAGBLOCK ((xfs_agblock_t)-1)
Dxfs_sb.h136 xfs_agblock_t sb_rextsize; /* realtime extent size, blocks */
137 xfs_agblock_t sb_agblocks; /* size of an allocation group */
516 xfs_agblock_t xfs_sb_block(struct xfs_mount *mp);
523 xfs_agblock_t xfs_hdr_block(struct xfs_mount *mp, xfs_daddr_t d);
526 #define XFS_HDR_BLOCK(mp,d) ((xfs_agblock_t)(XFS_BB_TO_FSBT(mp,d)))
Dxfs_imap.h42 xfs_agblock_t im_agblkno; /* logical block of inode chunk in ag */
Dxfs_ialloc_btree.c68 STATIC int xfs_inobt_split(xfs_btree_cur_t *, int, xfs_agblock_t *,
92 xfs_agblock_t bno; /* btree block number */ in xfs_inobt_delrec()
98 xfs_agblock_t lbno; /* left block's block number */ in xfs_inobt_delrec()
107 xfs_agblock_t rbno; /* right block's block number */ in xfs_inobt_delrec()
553 xfs_agblock_t *bnop, /* i/o: block number inserted */ in xfs_inobt_insrec()
564 xfs_agblock_t nbno; /* block number of allocated block */ in xfs_inobt_insrec()
857 xfs_agblock_t agbno; /* a.g. relative btree block number */ in xfs_inobt_lookup()
1209 xfs_agblock_t lbno; /* left block number */ in xfs_inobt_newroot()
1216 xfs_agblock_t rbno; /* right block number */ in xfs_inobt_newroot()
1480 xfs_agblock_t *bnop, /* output: block number allocated */ in xfs_inobt_split()
[all …]
Dxfs_btree.c319 xfs_agblock_t agflen; /* native ag. freespace length */ in xfs_btree_check_sblock()
354 xfs_agblock_t ptr, /* btree block disk address */ in xfs_btree_check_sptr()
556 xfs_agblock_t agbno, /* allocation group block number */ in xfs_btree_get_bufs()
786 xfs_agblock_t agbno, /* allocation group block number */ in xfs_btree_read_bufs()
844 xfs_agblock_t agbno, /* allocation group block number */ in xfs_btree_reada_bufs()
Dxfs_mount.h68 ((xfs_agblock_t)(XFS_BB_TO_FSBT(mp, d) % (mp)->m_sb.sb_agblocks))
513 xfs_agblock_t xfs_daddr_to_agbno(struct xfs_mount *mp, xfs_daddr_t d);
517 static inline xfs_agblock_t XFS_DADDR_TO_AGBNO(xfs_mount_t *mp, xfs_daddr_t d) in XFS_DADDR_TO_AGBNO()
520 return (xfs_agblock_t) do_div(d, mp->m_sb.sb_agblocks); in XFS_DADDR_TO_AGBNO()
Dxfs_ialloc.c931 xfs_agblock_t agbno; /* block number containing inode */ in xfs_difree()
1141 xfs_agblock_t agbno; /* block number of inode in the alloc group */ in xfs_dilocate()
1146 xfs_agblock_t chunk_agbno; /* first block in inode chunk */ in xfs_dilocate()
1150 xfs_agblock_t cluster_agbno; /* first block in inode cluster */ in xfs_dilocate()
Dxfs_itable.c238 xfs_agblock_t agbno=0;/* allocation group block number */ in xfs_bulkstat()
Dxfs_dir_leaf.c115 xfs_agblock_t agblkno; in xfs_dir_ino_validate()
Dxfs_bmap.c3924 xfs_agblock_t agbno; in xfs_bmap_add_free()