Home
last modified time | relevance | path

Searched refs:m_perag (Results 1 – 11 of 11) sorted by relevance

/fs/xfs/
Dxfs_filestream.h87 return atomic_read(&mp->m_perag[agno].pagf_fstrms); in xfs_filestream_peek_ag()
95 return atomic_inc_return(&mp->m_perag[agno].pagf_fstrms); in xfs_filestream_get_ag()
103 return atomic_dec_return(&mp->m_perag[agno].pagf_fstrms); in xfs_filestream_put_ag()
Dxfs_alloc.c1804 pag = &mp->m_perag[agno]; in xfs_free_ag_extent()
2097 pag = &mp->m_perag[be32_to_cpu(agf->agf_seqno)]; in xfs_alloc_get_freelist()
2205 pag = &mp->m_perag[be32_to_cpu(agf->agf_seqno)]; in xfs_alloc_put_freelist()
2313 pag = &mp->m_perag[agno]; in xfs_alloc_read_agf()
2400 args->pag = &mp->m_perag[args->agno]; in xfs_alloc_vextent()
2470 args->pag = &mp->m_perag[args->agno]; in xfs_alloc_vextent()
2582 args.pag = &args.mp->m_perag[args.agno]; in xfs_free_extent()
2618 spin_lock(&mp->m_perag[agno].pagb_lock); in xfs_alloc_mark_busy()
2621 for (bsy = mp->m_perag[agno].pagb_list, n = 0; in xfs_alloc_mark_busy()
2630 bsy = &mp->m_perag[agno].pagb_list[n]; in xfs_alloc_mark_busy()
[all …]
Dxfs_ialloc.c373 args.mp->m_perag[agno].pagi_freecount += newlen; in xfs_ialloc_ag_alloc()
473 pag = &mp->m_perag[agno]; in xfs_ialloc_ag_select()
701 if (mp->m_perag[tagno].pagi_inodeok == 0) { in xfs_dialloc()
954 mp->m_perag[tagno].pagi_freecount--; in xfs_dialloc()
1134 mp->m_perag[agno].pagi_freecount -= ilen - 1; in xfs_difree()
1163 mp->m_perag[agno].pagi_freecount++; in xfs_difree()
1518 pag = &mp->m_perag[agno]; in xfs_ialloc_read_agi()
Dxfs_mount.c133 if (mp->m_perag) { in xfs_free_perag()
137 if (mp->m_perag[agno].pagb_list) in xfs_free_perag()
138 kmem_free(mp->m_perag[agno].pagb_list); in xfs_free_perag()
139 kmem_free(mp->m_perag); in xfs_free_perag()
343 pag = &mp->m_perag[index]; in xfs_initialize_perag()
352 pag = &mp->m_perag[index]; in xfs_initialize_perag()
658 pag = &mp->m_perag[index]; in xfs_initialize_perag_data()
1045 mp->m_perag = kmem_zalloc(sbp->sb_agcount * sizeof(xfs_perag_t), in xfs_mountfs()
1047 if (!mp->m_perag) in xfs_mountfs()
Dxfs_fsops.c172 mp->m_perag = kmem_realloc(mp->m_perag, in xfs_growfs_data_private()
176 memset(&mp->m_perag[oagcount], 0, in xfs_growfs_data_private()
Dxfs_alloc_btree.c68 cur->bc_mp->m_perag[seqno].pagf_levels[btnum] += inc; in xfs_allocbt_set_root()
195 cur->bc_mp->m_perag[seqno].pagf_longest = be32_to_cpu(len); in xfs_allocbt_update_lastrec()
Dxfs_mount.h277 struct xfs_perag *m_perag; /* per-ag accounting info */ member
465 return &mp->m_perag[XFS_INO_TO_AGNO(mp, ino)]; in xfs_get_perag()
Dxfs_filestream.c160 pag = mp->m_perag + ag; in _xfs_filestream_pick_ag()
Dxfs_bmap.c2788 pag = &mp->m_perag[ag]; in xfs_bmap_btalloc()
/fs/xfs/linux-2.6/
Dxfs_sync.c60 xfs_perag_t *pag = &mp->m_perag[ag]; in xfs_sync_inodes_ag()
188 if (!mp->m_perag[i].pag_ici_init) in xfs_sync_inodes()
678 xfs_perag_t *pag = &mp->m_perag[ag]; in xfs_reclaim_inodes_ag()
759 if (!mp->m_perag[i].pag_ici_init) in xfs_reclaim_inodes()
/fs/xfs/quota/
Dxfs_qm_syscalls.c1034 xfs_perag_t *pag = &mp->m_perag[ag]; in xfs_qm_dqrele_inodes_ag()
1119 if (!mp->m_perag[i].pag_ici_init) in xfs_qm_dqrele_all_inodes()