/linux-2.4.37.9/fs/xfs/ |
D | xfs_btree.h | 61 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 …]
|
D | xfs_alloc_btree.h | 57 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 …]
|
D | xfs_ag.h | 82 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 …]
|
D | xfs_alloc.c | 65 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 …]
|
D | xfs_alloc.h | 71 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,
|
D | xfs_macros.c | 128 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 …]
|
D | xfs_ialloc_btree.h | 81 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))
|
D | xfs_inum.h | 113 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);
|
D | xfs_alloc_btree.c | 67 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 …]
|
D | xfs_types.h | 80 typedef __uint32_t xfs_agblock_t; /* blockno in alloc. group */ typedef 142 #define NULLAGBLOCK ((xfs_agblock_t)-1)
|
D | xfs_sb.h | 136 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)))
|
D | xfs_imap.h | 42 xfs_agblock_t im_agblkno; /* logical block of inode chunk in ag */
|
D | xfs_ialloc_btree.c | 68 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 …]
|
D | xfs_btree.c | 319 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()
|
D | xfs_mount.h | 68 ((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()
|
D | xfs_ialloc.c | 931 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()
|
D | xfs_itable.c | 238 xfs_agblock_t agbno=0;/* allocation group block number */ in xfs_bulkstat()
|
D | xfs_dir_leaf.c | 115 xfs_agblock_t agblkno; in xfs_dir_ino_validate()
|
D | xfs_bmap.c | 3924 xfs_agblock_t agbno; in xfs_bmap_add_free()
|