Home
last modified time | relevance | path

Searched refs:xfs_agnumber_t (Results 1 – 25 of 68) sorted by relevance

123

/Linux-v5.4/fs/xfs/
Dxfs_filestream.c24 xfs_agnumber_t ag; /* AG in use for this directory */
72 xfs_agnumber_t agno) in xfs_filestream_peek_ag()
86 xfs_agnumber_t agno) in xfs_filestream_get_ag()
100 xfs_agnumber_t agno) in xfs_filestream_put_ag()
131 xfs_agnumber_t startag, in xfs_filestream_pick_ag()
132 xfs_agnumber_t *agp, in xfs_filestream_pick_ag()
140 xfs_agnumber_t ag, max_ag = NULLAGNUMBER; in xfs_filestream_pick_ag()
302 xfs_agnumber_t
308 xfs_agnumber_t startag, ag = NULLAGNUMBER; in xfs_filestream_lookup_ag()
331 xfs_agnumber_t rotorstep = xfs_rotorstep; in xfs_filestream_lookup_ag()
[all …]
Dxfs_extent_busy.h25 xfs_agnumber_t agno;
34 xfs_extent_busy_insert(struct xfs_trans *tp, xfs_agnumber_t agno,
42 xfs_extent_busy_search(struct xfs_mount *mp, xfs_agnumber_t agno,
46 xfs_extent_busy_reuse(struct xfs_mount *mp, xfs_agnumber_t agno,
Dxfs_filestream.h16 xfs_agnumber_t xfs_filestream_lookup_ag(struct xfs_inode *ip);
17 int xfs_filestream_new_ag(struct xfs_bmalloca *ap, xfs_agnumber_t *agp);
18 int xfs_filestream_peek_ag(struct xfs_mount *mp, xfs_agnumber_t agno);
Dxfs_mount.h97 xfs_agnumber_t m_agfrotor; /* last ag where space found */
98 xfs_agnumber_t m_agirotor; /* last ag dir inode alloced */
100 xfs_agnumber_t m_maxagi; /* highest inode alloc group */
314 static inline xfs_agnumber_t
319 return (xfs_agnumber_t) ld; in xfs_daddr_to_agno()
345 xfs_agnumber_t pag_agno; /* AG this structure belongs to */
437 extern int xfs_initialize_perag(xfs_mount_t *mp, xfs_agnumber_t agcount,
438 xfs_agnumber_t *maxagi);
Dxfs_trace.h100 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, int refcount,
105 __field(xfs_agnumber_t, agno)
124 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno, int refcount, \
138 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno),
142 __field(xfs_agnumber_t, agno)
154 TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno), \
500 TP_PROTO(struct xfs_mount *mp, xfs_ino_t ino, xfs_agnumber_t agno),
505 __field(xfs_agnumber_t, agno)
522 TP_PROTO(struct xfs_mount *mp, xfs_ino_t ino, xfs_agnumber_t agno), \
529 TP_PROTO(struct xfs_inode *ip, xfs_agnumber_t agno,
[all …]
Dxfs_iwalk.c90 xfs_agnumber_t agno, in xfs_iwalk_ichunk_ra()
180 xfs_agnumber_t agno; in xfs_iwalk_ag_recs()
257 xfs_agnumber_t agno, in xfs_iwalk_ag_start()
341 xfs_agnumber_t agno, in xfs_iwalk_run_callbacks()
386 xfs_agnumber_t agno; in xfs_iwalk_ag()
538 xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, startino); in xfs_iwalk()
600 xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, startino); in xfs_iwalk_threaded()
699 xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, startino); in xfs_inobt_walk()
Dxfs_super.h76 extern xfs_agnumber_t xfs_set_inode_alloc(struct xfs_mount *,
77 xfs_agnumber_t agcount);
Dxfs_extent_busy.c25 xfs_agnumber_t agno, in xfs_extent_busy_insert()
84 xfs_agnumber_t agno, in xfs_extent_busy_search()
284 xfs_agnumber_t agno, in xfs_extent_busy_reuse()
566 xfs_agnumber_t agno = NULLAGNUMBER; in xfs_extent_busy_clear()
623 xfs_agnumber_t agno; in xfs_extent_busy_wait_all()
Dxfs_fsops.c33 xfs_agnumber_t nagcount; in xfs_growfs_data_private()
34 xfs_agnumber_t nagimax = 0; in xfs_growfs_data_private()
37 xfs_agnumber_t oagcount; in xfs_growfs_data_private()
526 xfs_agnumber_t agno; in xfs_fs_reserve_ag_blocks()
556 xfs_agnumber_t agno; in xfs_fs_unreserve_ag_blocks()
Dxfs_icreate_item.h17 void xfs_icreate_log(struct xfs_trans *tp, xfs_agnumber_t agno,
/Linux-v5.4/fs/xfs/libxfs/
Dxfs_types.c19 xfs_agnumber_t agno) in xfs_ag_block_count()
35 xfs_agnumber_t agno, in xfs_verify_agbno()
57 xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, fsbno); in xfs_verify_fsbno()
68 xfs_agnumber_t agno, in xfs_agino_range()
99 xfs_agnumber_t agno, in xfs_verify_agino()
116 xfs_agnumber_t agno, in xfs_verify_agino_or_null()
131 xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, ino); in xfs_verify_ino()
186 xfs_agnumber_t agno; in xfs_icount_range()
Dxfs_sb.h19 extern struct xfs_perag *xfs_perag_get(struct xfs_mount *, xfs_agnumber_t);
20 extern struct xfs_perag *xfs_perag_get_tag(struct xfs_mount *, xfs_agnumber_t,
23 extern int xfs_initialize_perag_data(struct xfs_mount *, xfs_agnumber_t);
39 struct xfs_trans *tp, xfs_agnumber_t agno,
42 struct xfs_trans *tp, xfs_agnumber_t agno,
Dxfs_types.h14 typedef uint32_t xfs_agnumber_t; /* allocation group number */ typedef
53 #define NULLAGNUMBER ((xfs_agnumber_t)-1)
185 xfs_agblock_t xfs_ag_block_count(struct xfs_mount *mp, xfs_agnumber_t agno);
186 bool xfs_verify_agbno(struct xfs_mount *mp, xfs_agnumber_t agno,
190 void xfs_agino_range(struct xfs_mount *mp, xfs_agnumber_t agno,
192 bool xfs_verify_agino(struct xfs_mount *mp, xfs_agnumber_t agno,
194 bool xfs_verify_agino_or_null(struct xfs_mount *mp, xfs_agnumber_t agno,
Dxfs_alloc.h59 xfs_agnumber_t agno; /* allocation group number */
145 xfs_agnumber_t agno, /* allocation group number */
166 xfs_agnumber_t agno, /* allocation group number */
222 xfs_agnumber_t agno, int flags, struct xfs_buf **bpp);
224 xfs_agnumber_t agno, struct xfs_buf **bpp);
225 int xfs_free_agfl_block(struct xfs_trans *, xfs_agnumber_t, xfs_agblock_t,
228 int xfs_free_extent_fix_freelist(struct xfs_trans *tp, xfs_agnumber_t agno,
Dxfs_ialloc.h104 xfs_agnumber_t agno, /* allocation group number */
115 xfs_agnumber_t agno); /* allocation group number */
134 xfs_agnumber_t agno, xfs_agblock_t agbno,
138 xfs_agnumber_t agno, struct xfs_buf **bpp);
Dxfs_ialloc_btree.h49 struct xfs_trans *, struct xfs_buf *, xfs_agnumber_t,
64 xfs_agnumber_t agno, xfs_extlen_t *ask, xfs_extlen_t *used);
68 xfs_agnumber_t agno, xfs_btnum_t btnum,
Dxfs_refcount_btree.h48 xfs_agnumber_t agno);
58 struct xfs_trans *tp, xfs_agnumber_t agno, xfs_extlen_t *ask,
Dxfs_ag_resv.h29 xfs_agnumber_t agno) in xfs_ag_resv_rmapbt_alloc()
43 xfs_agnumber_t agno) in xfs_ag_resv_rmapbt_free()
Dxfs_rmap_btree.h45 xfs_agnumber_t agno);
55 xfs_agnumber_t agno, xfs_extlen_t *ask, xfs_extlen_t *used);
Dxfs_rmap.h116 xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len,
119 xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len,
172 void xfs_rmap_alloc_extent(struct xfs_trans *tp, xfs_agnumber_t agno,
174 void xfs_rmap_free_extent(struct xfs_trans *tp, xfs_agnumber_t agno,
Dxfs_ialloc.c108 xfs_agnumber_t agno = cur->bc_private.a.agno; in xfs_inobt_get_rec()
181 xfs_agnumber_t agno = be32_to_cpu(agi->agi_seqno); in xfs_inobt_insert()
267 xfs_agnumber_t agno, in xfs_ialloc_inode_init()
529 xfs_agnumber_t agno = be32_to_cpu(agi->agi_seqno); in xfs_inobt_insert_sprec()
611 xfs_agnumber_t agno; in xfs_ialloc_ag_alloc()
902 STATIC xfs_agnumber_t
906 xfs_agnumber_t agno; in xfs_ialloc_next_ag()
921 STATIC xfs_agnumber_t
927 xfs_agnumber_t agcount; /* number of ag's in the filesystem */ in xfs_ialloc_ag_select()
928 xfs_agnumber_t agno; /* current ag number */ in xfs_ialloc_ag_select()
[all …]
Dxfs_ialloc_btree.c410 xfs_agnumber_t agno, /* allocation group number */ in xfs_inobt_init_cursor()
543 xfs_agnumber_t agno) in xfs_inobt_max_size()
570 xfs_agnumber_t agno, in xfs_inobt_cur()
599 xfs_agnumber_t agno, in xfs_inobt_count_blocks()
625 xfs_agnumber_t agno, in xfs_finobt_calc_reserves()
/Linux-v5.4/fs/xfs/scrub/
Dtrace.h90 __field(xfs_agnumber_t, agno)
129 TP_PROTO(struct xfs_scrub *sc, xfs_agnumber_t agno,
135 __field(xfs_agnumber_t, agno)
195 __field(xfs_agnumber_t, agno)
201 xfs_agnumber_t agno;
330 __field(xfs_agnumber_t, agno)
373 __field(xfs_agnumber_t, agno)
415 __field(xfs_agnumber_t, agno)
453 __field(xfs_agnumber_t, agno)
492 __field(xfs_agnumber_t, agno)
[all …]
Dcommon.h28 bool xchk_process_error(struct xfs_scrub *sc, xfs_agnumber_t agno,
34 xfs_agnumber_t agno, xfs_agblock_t bno, int *error);
112 int xchk_ag_init(struct xfs_scrub *sc, xfs_agnumber_t agno,
115 int xchk_ag_read_headers(struct xfs_scrub *sc, xfs_agnumber_t agno,
Dcommon.c66 xfs_agnumber_t agno, in __xchk_process_error()
96 xfs_agnumber_t agno, in xchk_process_error()
107 xfs_agnumber_t agno, in xchk_xref_process_error()
404 xfs_agnumber_t agno, in xchk_ag_read_headers()
461 xfs_agnumber_t agno = sa->agno; in xchk_ag_btcur_init()
559 xfs_agnumber_t agno, in xchk_ag_init()

123