/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/ |
H A D | xfs_ag.h | 211 #define XFS_FSB_TO_AGNO(mp,fsbno) \ 212 ((xfs_agnumber_t)((fsbno) >> (mp)->m_sb.sb_agblklog)) 213 #define XFS_FSB_TO_AGBNO(mp,fsbno) \ 214 ((xfs_agblock_t)((fsbno) & XFS_MASK32LO((mp)->m_sb.sb_agblklog)))
|
H A D | xfs_sb.h | 444 #define XFS_FSB_TO_DADDR(mp,fsbno) XFS_AGB_TO_DADDR(mp, \ 445 XFS_FSB_TO_AGNO(mp,fsbno), XFS_FSB_TO_AGBNO(mp,fsbno)) 455 #define XFS_FSB_TO_BB(mp,fsbno) ((fsbno) << (mp)->m_blkbb_log) 464 #define XFS_FSB_TO_B(mp,fsbno) ((xfs_fsize_t)(fsbno) << (mp)->m_sb.sb_blocklog)
|
H A D | xfs_alloc.h | 76 xfs_fsblock_t fsbno; /* file system block number */ member in struct:xfs_alloc_arg
|
H A D | xfs_btree.h | 298 struct xfs_buf * /* buffer for fsbno */ 302 xfs_fsblock_t fsbno, /* file system block number */ 368 xfs_fsblock_t fsbno, /* file system block number */ 370 struct xfs_buf **bpp, /* buffer for fsbno */ 394 xfs_fsblock_t fsbno, /* file system block number */
|
H A D | xfs_btree.c | 521 xfs_buf_t * /* buffer for fsbno */ 525 xfs_fsblock_t fsbno, /* file system block number */ 531 ASSERT(fsbno != NULLFSBLOCK); 532 d = XFS_FSB_TO_DADDR(mp, fsbno); 746 xfs_fsblock_t fsbno, /* file system block number */ 748 xfs_buf_t **bpp, /* buffer for fsbno */ 755 ASSERT(fsbno != NULLFSBLOCK); 756 d = XFS_FSB_TO_DADDR(mp, fsbno); 817 xfs_fsblock_t fsbno, /* file system block number */ 822 ASSERT(fsbno ! 522 xfs_btree_get_bufl( xfs_mount_t *mp, xfs_trans_t *tp, xfs_fsblock_t fsbno, uint lock) argument 743 xfs_btree_read_bufl( xfs_mount_t *mp, xfs_trans_t *tp, xfs_fsblock_t fsbno, uint lock, xfs_buf_t **bpp, int refval) argument 815 xfs_btree_reada_bufl( xfs_mount_t *mp, xfs_fsblock_t fsbno, xfs_extlen_t count) argument [all...] |
H A D | xfs_bmap_btree.c | 1061 xfs_fsblock_t fsbno=0; local 1085 d = XFS_FSB_TO_DADDR(mp, fsbno); 1090 if ((error = xfs_btree_read_bufl(mp, tp, fsbno, 1145 fsbno = be64_to_cpu(*pp); 1147 if ((error = xfs_btree_check_lptr(cur, fsbno, level))) { 1520 args.fsbno = cur->bc_private.b.firstblock; 1521 args.firstblock = args.fsbno; 1522 if (args.fsbno == NULLFSBLOCK) { 1523 args.fsbno = lbno; 1539 if (args.fsbno 1718 xfs_fsblock_t fsbno; local 2006 xfs_fsblock_t fsbno; local [all...] |
H A D | xfs_alloc.c | 2262 ASSERT(XFS_FSB_TO_AGNO(mp, args->fsbno) < mp->m_sb.sb_agcount); 2263 ASSERT(XFS_FSB_TO_AGBNO(mp, args->fsbno) < agsize); 2267 if (XFS_FSB_TO_AGNO(mp, args->fsbno) >= mp->m_sb.sb_agcount || 2268 XFS_FSB_TO_AGBNO(mp, args->fsbno) >= agsize || 2271 args->fsbno = NULLFSBLOCK; 2284 args->agno = XFS_FSB_TO_AGNO(mp, args->fsbno); 2299 args->agbno = XFS_FSB_TO_AGBNO(mp, args->fsbno); 2311 args->fsbno = XFS_AGB_TO_FSB(mp, 2316 args->agbno = XFS_FSB_TO_AGBNO(mp, args->fsbno); 2337 args->agno = XFS_FSB_TO_AGNO(mp, args->fsbno); [all...] |
H A D | xfs_ialloc.c | 163 args.fsbno = XFS_AGB_TO_FSB(args.mp, 177 args.fsbno = NULLFSBLOCK; 179 if (unlikely(args.fsbno == NULLFSBLOCK)) { 206 args.fsbno = XFS_AGB_TO_FSB(args.mp, 227 if (isaligned && args.fsbno == NULLFSBLOCK) { 230 args.fsbno = XFS_AGB_TO_FSB(args.mp, 242 if (args.fsbno == NULLFSBLOCK) {
|
H A D | xfs_bmap.c | 2751 args.fsbno = ap->rval; 2762 startag = ag = XFS_FSB_TO_AGNO(mp, args.fsbno); 2890 if (tryagain && args.fsbno == NULLFSBLOCK) { 2896 args.fsbno = ap->rval; 2904 if (isaligned && args.fsbno == NULLFSBLOCK) { 2910 args.fsbno = ap->rval; 2915 if (args.fsbno == NULLFSBLOCK && nullfb && 2919 args.fsbno = ap->rval; 2923 if (args.fsbno == NULLFSBLOCK && nullfb) { 2924 args.fsbno [all...] |
H A D | xfs_ialloc_btree.c | 1213 args.fsbno = XFS_AGB_TO_FSB(args.mp, cur->bc_private.i.agno, 1224 if (args.fsbno == NULLFSBLOCK) { 1495 args.fsbno = XFS_AGB_TO_FSB(args.mp, cur->bc_private.i.agno, lbno); 1502 if (args.fsbno == NULLFSBLOCK) {
|
H A D | xfs_rtalloc.c | 105 xfs_fsblock_t fsbno; /* filesystem block for bno */ local 159 for (bno = map.br_startoff, fsbno = map.br_startblock; 161 bno++, fsbno++) { 178 d = XFS_FSB_TO_DADDR(mp, fsbno);
|
H A D | xfs_inode.c | 2637 xfs_fsblock_t fsbno; local 2642 fsbno = imap->im_blkno ? 2644 error = xfs_dilocate(mp, tp, ino, &fsbno, &len, &off, flags); 2648 imap->im_blkno = XFS_FSB_TO_DADDR(mp, fsbno); 2650 imap->im_agblkno = XFS_FSB_TO_AGBNO(mp, fsbno);
|