Home
last modified time | relevance | path

Searched refs:agbno (Results 1 – 13 of 13) sorted by relevance

/linux-4.1.27/fs/xfs/libxfs/
Dxfs_alloc.c293 args->agbno = NULLAGBLOCK; in xfs_alloc_fix_minleft()
614 if (error || args->agbno == NULLAGBLOCK) in xfs_alloc_ag_vextent()
620 ASSERT(args->agbno % args->alignment == 0); in xfs_alloc_ag_vextent()
630 args->agbno, args->len)); in xfs_alloc_ag_vextent()
678 error = xfs_alloc_lookup_le(bno_cur, args->agbno, args->minlen, &i); in xfs_alloc_ag_vextent_exact()
691 ASSERT(fbno <= args->agbno); in xfs_alloc_ag_vextent_exact()
702 if (tbno > args->agbno) in xfs_alloc_ag_vextent_exact()
707 if (tend < args->agbno + args->minlen) in xfs_alloc_ag_vextent_exact()
716 args->len = XFS_AGBLOCK_MIN(tend, args->agbno + args->maxlen) in xfs_alloc_ag_vextent_exact()
717 - args->agbno; in xfs_alloc_ag_vextent_exact()
[all …]
Dxfs_ialloc.c224 xfs_agblock_t agbno, in xfs_ialloc_inode_init() argument
267 XFS_OFFBNO_TO_AGINO(mp, agbno, 0)); in xfs_ialloc_inode_init()
278 xfs_icreate_log(tp, agno, agbno, mp->m_ialloc_inos, in xfs_ialloc_inode_init()
287 d = XFS_AGB_TO_DADDR(mp, agno, agbno + (j * blks_per_cluster)); in xfs_ialloc_inode_init()
391 args.agbno = XFS_AGINO_TO_AGBNO(args.mp, newino) + in xfs_ialloc_ag_alloc()
394 (args.agbno < be32_to_cpu(agi->agi_length)))) { in xfs_ialloc_ag_alloc()
395 args.fsbno = XFS_AGB_TO_FSB(args.mp, agno, args.agbno); in xfs_ialloc_ag_alloc()
455 args.agbno = be32_to_cpu(agi->agi_root); in xfs_ialloc_ag_alloc()
456 args.fsbno = XFS_AGB_TO_FSB(args.mp, agno, args.agbno); in xfs_ialloc_ag_alloc()
476 args.agbno = be32_to_cpu(agi->agi_root); in xfs_ialloc_ag_alloc()
[all …]
Dxfs_ialloc.h160 xfs_agnumber_t agno, xfs_agblock_t agbno,
Dxfs_alloc.h106 xfs_agblock_t agbno; /* allocation group-relative block # */ member
Dxfs_btree.h301 xfs_agblock_t agbno, /* allocation group block number */
357 xfs_agblock_t agbno, /* allocation group block number */
Dxfs_format.h774 #define XFS_AGB_TO_FSB(mp,agno,agbno) \ argument
775 (((xfs_fsblock_t)(agno) << (mp)->m_sb.sb_agblklog) | (agbno))
780 #define XFS_AGB_TO_DADDR(mp,agno,agbno) \ argument
782 (xfs_fsblock_t)(agno) * (mp)->m_sb.sb_agblocks + (agbno)))
Dxfs_btree.c571 xfs_agblock_t agbno, /* allocation group block number */ in xfs_btree_get_bufs() argument
577 ASSERT(agbno != NULLAGBLOCK); in xfs_btree_get_bufs()
578 d = XFS_AGB_TO_DADDR(mp, agno, agbno); in xfs_btree_get_bufs()
753 xfs_agblock_t agbno, /* allocation group block number */ in xfs_btree_reada_bufs() argument
760 ASSERT(agbno != NULLAGBLOCK); in xfs_btree_reada_bufs()
761 d = XFS_AGB_TO_DADDR(mp, agno, agbno); in xfs_btree_reada_bufs()
Dxfs_bmap.c580 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.1.27/fs/xfs/
Dxfs_trace.h1358 xfs_agblock_t agbno, xfs_extlen_t len),
1359 TP_ARGS(mp, agno, agbno, len),
1363 __field(xfs_agblock_t, agbno)
1369 __entry->agbno = agbno;
1375 __entry->agbno,
1381 xfs_agblock_t agbno, xfs_extlen_t len), \
1382 TP_ARGS(mp, agno, agbno, len))
1391 xfs_agblock_t agbno, xfs_extlen_t len,
1393 TP_ARGS(mp, agno, agbno, len, tbno, tlen),
1397 __field(xfs_agblock_t, agbno)
[all …]
Dxfs_icreate_item.c163 xfs_agblock_t agbno, in xfs_icreate_log() argument
179 icp->ic_format.icl_agbno = cpu_to_be32(agbno); in xfs_icreate_log()
Dxfs_icreate_item.h30 xfs_agblock_t agbno, unsigned int count,
Dxfs_itable.c181 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()
Dxfs_log_recover.c3034 xfs_agblock_t agbno; in xlog_recover_do_icreate_pass2() local
3055 agbno = be32_to_cpu(icl->icl_agbno); in xlog_recover_do_icreate_pass2()
3056 if (!agbno || agbno == NULLAGBLOCK || agbno >= mp->m_sb.sb_agblocks) { in xlog_recover_do_icreate_pass2()
3096 XFS_AGB_TO_DADDR(mp, agno, agbno), length, 0)) in xlog_recover_do_icreate_pass2()
3099 xfs_ialloc_inode_init(mp, NULL, buffer_list, agno, agbno, length, in xlog_recover_do_icreate_pass2()