Home
last modified time | relevance | path

Searched refs:XFS_INODES_PER_CHUNK (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/fs/xfs/scrub/
Dialloc.c91 if (frec.ir_startino + XFS_INODES_PER_CHUNK <= agino) in xchk_inobt_xref_finobt()
194 if (irec.ir_startino + XFS_INODES_PER_CHUNK <= agino) in xchk_finobt_xref_inobt()
378 nr_inodes = min_t(unsigned int, XFS_INODES_PER_CHUNK, in xchk_iallocbt_check_cluster()
480 cluster_base < XFS_INODES_PER_CHUNK; in xchk_iallocbt_check_clusters()
520 imask = min_t(unsigned int, XFS_INODES_PER_CHUNK, in xchk_iallocbt_rec_alignment()
538 iabt->next_startino += XFS_INODES_PER_CHUNK; in xchk_iallocbt_rec_alignment()
559 if (igeo->inodes_per_cluster <= XFS_INODES_PER_CHUNK) in xchk_iallocbt_rec_alignment()
567 iabt->next_startino = irec->ir_startino + XFS_INODES_PER_CHUNK; in xchk_iallocbt_rec_alignment()
603 if (irec.ir_count != XFS_INODES_PER_CHUNK) in xchk_iallocbt_rec()
607 XFS_INODES_PER_CHUNK)) in xchk_iallocbt_rec()
[all …]
Discan.c147 lastino = rec.ir_startino + XFS_INODES_PER_CHUNK - 1; in xchk_iscan_find_next()
153 if (rec.ir_startino + XFS_INODES_PER_CHUNK <= agino) in xchk_iscan_find_next()
180 *nr_inodesp = XFS_INODES_PER_CHUNK - next; in xchk_iscan_find_next()
625 for (i = 0; i < XFS_INODES_PER_CHUNK; i++) { in xchk_iscan_iter()
652 for (i = 0; i < XFS_INODES_PER_CHUNK; i++) { in xchk_iscan_iter_finish()
750 if (ino >= iscan->__batch_ino + XFS_INODES_PER_CHUNK) in xchk_iscan_skipped()
Dialloc_repair.c235 ir_startino = rounddown(ir_startino, XFS_INODES_PER_CHUNK); in xrep_ibt_cluster_record()
243 ri->rie.ir_startino + XFS_INODES_PER_CHUNK <= ir_startino) { in xrep_ibt_cluster_record()
303 XFS_INODES_PER_CHUNK); in xrep_ibt_process_cluster()
324 irec_index += XFS_INODES_PER_CHUNK) { in xrep_ibt_process_cluster()
623 next_agino = irec.ir_startino + XFS_INODES_PER_CHUNK; in xrep_ibt_check_overlap()
825 last_agino /= XFS_INODES_PER_CHUNK; in xrep_iallocbt()
Discan.h56 struct xfs_inode *__inodes[XFS_INODES_PER_CHUNK];
Dinode.c640 rec.ir_startino + XFS_INODES_PER_CHUNK <= agino) in xchk_inode_xref_finobt()
Drepair.c350 XFS_INODES_PER_CHUNK); in xrep_calc_ag_resblks()
Drmap_repair.c634 XFS_INODES_PER_CHUNK / mp->m_sb.sb_inopblock); in xrep_rmap_walk_inobt()
Dagheader_repair.c1254 i < XFS_INODES_PER_CHUNK; in xrep_iunlink_mark_ondisk_rec()
/linux-6.12.1/fs/xfs/
Dxfs_iwalk.c111 for (i = 0; i < XFS_INODES_PER_CHUNK; i += igeo->inodes_per_cluster) { in xfs_iwalk_ichunk_ra()
202 for (j = 0; j < XFS_INODES_PER_CHUNK; j++) { in xfs_iwalk_ag_recs()
309 irec->ir_startino + XFS_INODES_PER_CHUNK - 1); in xfs_iwalk_ag_start()
315 if (irec->ir_startino + XFS_INODES_PER_CHUNK <= agino) in xfs_iwalk_ag_start()
364 XFS_INODES_PER_CHUNK); in xfs_iwalk_run_callbacks()
435 iwag->lastino = rec_fsino + XFS_INODES_PER_CHUNK - 1; in xfs_iwalk_ag()
513 inodes = round_up(inodes, XFS_INODES_PER_CHUNK); in xfs_iwalk_prefetch()
528 inobt_records = (inodes * 5) / (4 * XFS_INODES_PER_CHUNK); in xfs_iwalk_prefetch()
Dxfs_itable.c416 XFS_INODES_PER_CHUNK; in xfs_inumbers_walk()
Dxfs_icache.c2077 #define XFS_INODEGC_MAX_BACKLOG (4 * XFS_INODES_PER_CHUNK)
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_ialloc.c92 irec->ir_count = XFS_INODES_PER_CHUNK; in xfs_inobt_btrec_to_irec()
121 irec->ir_startino + XFS_INODES_PER_CHUNK - 1)) in xfs_inobt_check_irec()
124 irec->ir_count > XFS_INODES_PER_CHUNK) in xfs_inobt_check_irec()
126 if (irec->ir_freecount > XFS_INODES_PER_CHUNK) in xfs_inobt_check_irec()
223 thisino += XFS_INODES_PER_CHUNK) { in xfs_inobt_insert()
232 XFS_INODES_PER_CHUNK, in xfs_inobt_insert()
233 XFS_INODES_PER_CHUNK, in xfs_inobt_insert()
499 if (trec->ir_count + srec->ir_count > XFS_INODES_PER_CHUNK) in __xfs_inobt_can_merge()
869 ASSERT(newlen <= XFS_INODES_PER_CHUNK); in xfs_ialloc_ag_alloc()
1207 (trec.ir_startino + XFS_INODES_PER_CHUNK - 1) < in xfs_dialloc_ag_inobt()
[all …]
Dxfs_ialloc_btree.c218 x += XFS_INODES_PER_CHUNK - 1; in xfs_inobt_init_high_key_from_rec()
393 return be32_to_cpu(r1->inobt.ir_startino) + XFS_INODES_PER_CHUNK <= in xfs_inobt_recs_inorder()
591 XFS_INODES_PER_CHUNK
735 XFS_INODES_PER_CHUNK); in xfs_inobt_max_size()
Dxfs_types.c177 *min = XFS_INODES_PER_CHUNK; in xfs_icount_range()
Dxfs_format.h1414 #define XFS_INODES_PER_CHUNK (NBBY * sizeof(xfs_inofree_t)) macro
1422 (XFS_INODES_PER_CHUNK / (NBBY * sizeof(uint16_t)))
1426 return ((n >= XFS_INODES_PER_CHUNK ? 0 : XFS_INOBT_MASK(n)) - 1) << i; in xfs_inobt_maskn()
Dxfs_sb.c393 align = XFS_INODES_PER_CHUNK * sbp->sb_inodesize in xfs_validate_sb_common()