/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_alloc.c | 307 args->agbno = NULLAGBLOCK; in xfs_alloc_fix_minleft() 631 if (error || args->agbno == NULLAGBLOCK) in xfs_alloc_ag_vextent() 637 ASSERT(args->agbno % args->alignment == 0); in xfs_alloc_ag_vextent() 647 args->agbno, args->len)); in xfs_alloc_ag_vextent() 695 error = xfs_alloc_lookup_le(bno_cur, args->agbno, args->minlen, &i); in xfs_alloc_ag_vextent_exact() 708 ASSERT(fbno <= args->agbno); in xfs_alloc_ag_vextent_exact() 719 if (tbno > args->agbno) in xfs_alloc_ag_vextent_exact() 724 if (tend < args->agbno + args->minlen) in xfs_alloc_ag_vextent_exact() 733 args->len = XFS_AGBLOCK_MIN(tend, args->agbno + args->maxlen) in xfs_alloc_ag_vextent_exact() 734 - args->agbno; in xfs_alloc_ag_vextent_exact() [all …]
|
D | xfs_ialloc.c | 256 xfs_agblock_t agbno, in xfs_ialloc_inode_init() argument 299 XFS_OFFBNO_TO_AGINO(mp, agbno, 0)); in xfs_ialloc_inode_init() 310 xfs_icreate_log(tp, agno, agbno, icount, in xfs_ialloc_inode_init() 319 d = XFS_AGB_TO_DADDR(mp, agno, agbno + (j * blks_per_cluster)); in xfs_ialloc_inode_init() 411 xfs_agblock_t agbno; in xfs_align_sparse_ino() local 415 agbno = XFS_AGINO_TO_AGBNO(mp, *startino); in xfs_align_sparse_ino() 416 mod = agbno % mp->m_sb.sb_inoalignmt; in xfs_align_sparse_ino() 643 args.agbno = XFS_AGINO_TO_AGBNO(args.mp, newino) + in xfs_ialloc_ag_alloc() 648 (args.agbno < be32_to_cpu(agi->agi_length)))) { in xfs_ialloc_ag_alloc() 649 args.fsbno = XFS_AGB_TO_FSB(args.mp, agno, args.agbno); in xfs_ialloc_ag_alloc() [all …]
|
D | xfs_ialloc.h | 165 xfs_agnumber_t agno, xfs_agblock_t agbno,
|
D | xfs_alloc.h | 107 xfs_agblock_t agbno; /* allocation group-relative block # */ member
|
D | xfs_btree.h | 308 xfs_agblock_t agbno, /* allocation group block number */ 364 xfs_agblock_t agbno, /* allocation group block number */
|
D | xfs_format.h | 793 #define XFS_AGB_TO_FSB(mp,agno,agbno) \ argument 794 (((xfs_fsblock_t)(agno) << (mp)->m_sb.sb_agblklog) | (agbno)) 799 #define XFS_AGB_TO_DADDR(mp,agno,agbno) \ argument 801 (xfs_fsblock_t)(agno) * (mp)->m_sb.sb_agblocks + (agbno)))
|
D | xfs_btree.c | 586 xfs_agblock_t agbno, /* allocation group block number */ in xfs_btree_get_bufs() argument 592 ASSERT(agbno != NULLAGBLOCK); in xfs_btree_get_bufs() 593 d = XFS_AGB_TO_DADDR(mp, agno, agbno); in xfs_btree_get_bufs() 768 xfs_agblock_t agbno, /* allocation group block number */ in xfs_btree_reada_bufs() argument 775 ASSERT(agbno != NULLAGBLOCK); in xfs_btree_reada_bufs() 776 d = XFS_AGB_TO_DADDR(mp, agno, agbno); in xfs_btree_reada_bufs()
|
D | xfs_bmap.c | 580 xfs_agblock_t agbno; in xfs_bmap_add_free() local 587 agbno = XFS_FSB_TO_AGBNO(mp, bno); in xfs_bmap_add_free() 589 ASSERT(agbno < mp->m_sb.sb_agblocks); in xfs_bmap_add_free() 591 ASSERT(agbno + len <= mp->m_sb.sb_agblocks); in xfs_bmap_add_free()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_trace.h | 1408 xfs_agblock_t agbno, xfs_extlen_t len), 1409 TP_ARGS(mp, agno, agbno, len), 1413 __field(xfs_agblock_t, agbno) 1419 __entry->agbno = agbno; 1425 __entry->agbno, 1431 xfs_agblock_t agbno, xfs_extlen_t len), \ 1432 TP_ARGS(mp, agno, agbno, len)) 1441 xfs_agblock_t agbno, xfs_extlen_t len, 1443 TP_ARGS(mp, agno, agbno, len, tbno, tlen), 1447 __field(xfs_agblock_t, agbno) [all …]
|
D | xfs_icreate_item.c | 163 xfs_agblock_t agbno, in xfs_icreate_log() argument 179 icp->ic_format.icl_agbno = cpu_to_be32(agbno); in xfs_icreate_log()
|
D | xfs_icreate_item.h | 30 xfs_agblock_t agbno, unsigned int count,
|
D | xfs_itable.c | 181 xfs_agblock_t agbno; in xfs_bulkstat_ichunk_ra() local 187 agbno = XFS_AGINO_TO_AGBNO(mp, irec->ir_startino); in xfs_bulkstat_ichunk_ra() 193 i += inodes_per_cluster, agbno += blks_per_cluster) { in xfs_bulkstat_ichunk_ra() 195 xfs_btree_reada_bufs(mp, agno, agbno, blks_per_cluster, in xfs_bulkstat_ichunk_ra()
|
D | xfs_log_recover.c | 3046 xfs_agblock_t agbno; in xlog_recover_do_icreate_pass2() local 3072 agbno = be32_to_cpu(icl->icl_agbno); in xlog_recover_do_icreate_pass2() 3073 if (!agbno || agbno == NULLAGBLOCK || agbno >= mp->m_sb.sb_agblocks) { in xlog_recover_do_icreate_pass2() 3125 agbno + i * blks_per_cluster); in xlog_recover_do_icreate_pass2() 3150 return xfs_ialloc_inode_init(mp, NULL, buffer_list, count, agno, agbno, in xlog_recover_do_icreate_pass2()
|