/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_iwalk.c | 30 * order from @startino until there are no more inodes. For each allocated 56 xfs_ino_t startino; member 76 * Make it look like the inodes up to startino are free so that 186 agno = XFS_INO_TO_AGNO(mp, iwag->startino); in xfs_iwalk_ag_recs() 386 /* Walk all inodes in a single AG, from @iwag->startino to the end of the AG. */ 401 agno = XFS_INO_TO_AGNO(mp, iwag->startino); in xfs_iwalk_ag() 402 agino = XFS_INO_TO_AGINO(mp, iwag->startino); in xfs_iwalk_ag() 531 * Walk all inodes in the filesystem starting from @startino. The @iwalk_fn 540 xfs_ino_t startino, in xfs_iwalk() 551 .startino in xfs_iwalk() 537 xfs_iwalk( struct xfs_mount *mp, struct xfs_trans *tp, xfs_ino_t startino, unsigned int flags, xfs_iwalk_fn iwalk_fn, unsigned int inode_records, void *data) xfs_iwalk() argument 610 xfs_iwalk_threaded( struct xfs_mount *mp, xfs_ino_t startino, unsigned int flags, xfs_iwalk_fn iwalk_fn, unsigned int inode_records, bool polled, void *data) xfs_iwalk_threaded() argument 702 xfs_inobt_walk( struct xfs_mount *mp, struct xfs_trans *tp, xfs_ino_t startino, unsigned int flags, xfs_inobt_walk_fn inobt_walk_fn, unsigned int inobt_records, void *data) xfs_inobt_walk() argument [all...] |
H A D | xfs_itable.c | 152 bc->breq->startino = ino + 1; in xfs_bulkstat_one_int() 176 error = xfs_bulkstat_one_int(breq->mp, NULL, breq->startino, &bc); in xfs_bulkstat_one() 221 xfs_ino_t startino) in xfs_bulkstat_already_done() 223 xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, startino); in xfs_bulkstat_already_done() 224 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, startino); in xfs_bulkstat_already_done() 227 startino != XFS_AGINO_TO_INO(mp, agno, agino); in xfs_bulkstat_already_done() 242 if (xfs_bulkstat_already_done(breq->mp, breq->startino)) in xfs_bulkstat() 250 error = xfs_iwalk(breq->mp, NULL, breq->startino, breq->flags, in xfs_bulkstat() 348 ic->breq->startino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino) + in xfs_inumbers_walk() 367 if (xfs_bulkstat_already_done(breq->mp, breq->startino)) in xfs_inumbers() 219 xfs_bulkstat_already_done( struct xfs_mount *mp, xfs_ino_t startino) xfs_bulkstat_already_done() argument [all...] |
H A D | xfs_iwalk.h | 17 /* Walk all inodes in the filesystem starting from @startino. */ 21 int xfs_iwalk(struct xfs_mount *mp, struct xfs_trans *tp, xfs_ino_t startino, 24 int xfs_iwalk_threaded(struct xfs_mount *mp, xfs_ino_t startino, 28 /* Only iterate inodes within the same AG as @startino. */ 33 /* Walk all inode btree records in the filesystem starting from @startino. */ 40 xfs_ino_t startino, unsigned int flags, 44 /* Only iterate inobt records within the same AG as @startino. */
|
H A D | xfs_ioctl32.c | 287 * take the inode to start with, so we have to compute the startino in xfs_compat_ioc_fsbulkstat() 293 breq.startino = lastino ? lastino + 1 : 0; in xfs_compat_ioc_fsbulkstat() 295 lastino = breq.startino - 1; in xfs_compat_ioc_fsbulkstat() 297 breq.startino = lastino; in xfs_compat_ioc_fsbulkstat() 300 lastino = breq.startino; in xfs_compat_ioc_fsbulkstat() 302 breq.startino = lastino ? lastino + 1 : 0; in xfs_compat_ioc_fsbulkstat() 304 lastino = breq.startino - 1; in xfs_compat_ioc_fsbulkstat()
|
H A D | xfs_itable.h | 12 xfs_ino_t startino; /* start with this inode */ member 18 /* Only iterate within the same AG as startino */
|
H A D | xfs_ioctl.c | 780 * take the inode to start with, so we have to compute the startino in xfs_ioc_fsbulkstat() 786 breq.startino = lastino ? lastino + 1 : 0; in xfs_ioc_fsbulkstat() 788 lastino = breq.startino - 1; in xfs_ioc_fsbulkstat() 790 breq.startino = lastino; in xfs_ioc_fsbulkstat() 794 breq.startino = lastino ? lastino + 1 : 0; in xfs_ioc_fsbulkstat() 796 lastino = breq.startino - 1; in xfs_ioc_fsbulkstat() 842 breq->startino = hdr->ino; in xfs_bulk_ireq_setup() 876 if (breq->startino == 0) in xfs_bulk_ireq_setup() 877 breq->startino = XFS_AGINO_TO_INO(mp, hdr->agno, 0); in xfs_bulk_ireq_setup() 878 else if (XFS_INO_TO_AGNO(mp, breq->startino) < hd in xfs_bulk_ireq_setup() [all...] |
H A D | xfs_trace.h | 3598 xfs_agino_t startino), 3599 TP_ARGS(mp, agno, startino), 3603 __field(xfs_agino_t, startino) 3608 __entry->startino = startino; 3610 TP_printk("dev %d:%d agno %d startino %u", 3612 __entry->startino) 3622 __field(xfs_agino_t, startino) 3628 __entry->startino = irec->ir_startino; 3631 TP_printk("dev %d:%d agno %d startino [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_iwalk.c | 31 * order from @startino until there are no more inodes. For each allocated 58 xfs_ino_t startino; member 78 * Make it look like the inodes up to startino are free so that 401 /* Walk all inodes in a single AG, from @iwag->startino to the end of the AG. */ 415 ASSERT(pag->pag_agno == XFS_INO_TO_AGNO(mp, iwag->startino)); in xfs_iwalk_ag() 416 agino = XFS_INO_TO_AGINO(mp, iwag->startino); in xfs_iwalk_ag() 544 * Walk all inodes in the filesystem starting from @startino. The @iwalk_fn 553 xfs_ino_t startino, in xfs_iwalk() 564 .startino = startino, in xfs_iwalk() 550 xfs_iwalk( struct xfs_mount *mp, struct xfs_trans *tp, xfs_ino_t startino, unsigned int flags, xfs_iwalk_fn iwalk_fn, unsigned int inode_records, void *data) xfs_iwalk() argument 639 xfs_iwalk_threaded( struct xfs_mount *mp, xfs_ino_t startino, unsigned int flags, xfs_iwalk_fn iwalk_fn, unsigned int inode_records, bool polled, void *data) xfs_iwalk_threaded() argument 736 xfs_inobt_walk( struct xfs_mount *mp, struct xfs_trans *tp, xfs_ino_t startino, unsigned int flags, xfs_inobt_walk_fn inobt_walk_fn, unsigned int inobt_records, void *data) xfs_inobt_walk() argument [all...] |
H A D | xfs_iwalk.h | 17 /* Walk all inodes in the filesystem starting from @startino. */ 21 int xfs_iwalk(struct xfs_mount *mp, struct xfs_trans *tp, xfs_ino_t startino, 24 int xfs_iwalk_threaded(struct xfs_mount *mp, xfs_ino_t startino, 28 /* Only iterate inodes within the same AG as @startino. */ 33 /* Walk all inode btree records in the filesystem starting from @startino. */ 40 xfs_ino_t startino, unsigned int flags, 44 /* Only iterate inobt records within the same AG as @startino. */
|
H A D | xfs_itable.c | 174 bc->breq->startino = ino + 1; in xfs_bulkstat_one_int() 214 breq->startino, &bc); in xfs_bulkstat_one() 261 xfs_ino_t startino) in xfs_bulkstat_already_done() 263 xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, startino); in xfs_bulkstat_already_done() 264 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, startino); in xfs_bulkstat_already_done() 267 startino != XFS_AGINO_TO_INO(mp, agno, agino); in xfs_bulkstat_already_done() 289 if (xfs_bulkstat_already_done(breq->mp, breq->startino)) in xfs_bulkstat() 308 error = xfs_iwalk(breq->mp, tp, breq->startino, iwalk_flags, in xfs_bulkstat() 407 ic->breq->startino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino) + in xfs_inumbers_walk() 427 if (xfs_bulkstat_already_done(breq->mp, breq->startino)) in xfs_inumbers() 259 xfs_bulkstat_already_done( struct xfs_mount *mp, xfs_ino_t startino) xfs_bulkstat_already_done() argument [all...] |
H A D | xfs_ioctl32.c | 275 * take the inode to start with, so we have to compute the startino in xfs_compat_ioc_fsbulkstat() 281 breq.startino = lastino ? lastino + 1 : 0; in xfs_compat_ioc_fsbulkstat() 283 lastino = breq.startino - 1; in xfs_compat_ioc_fsbulkstat() 285 breq.startino = lastino; in xfs_compat_ioc_fsbulkstat() 288 lastino = breq.startino; in xfs_compat_ioc_fsbulkstat() 290 breq.startino = lastino ? lastino + 1 : 0; in xfs_compat_ioc_fsbulkstat() 292 lastino = breq.startino - 1; in xfs_compat_ioc_fsbulkstat()
|
H A D | xfs_ioctl.c | 704 * take the inode to start with, so we have to compute the startino in xfs_ioc_fsbulkstat() 710 breq.startino = lastino ? lastino + 1 : 0; in xfs_ioc_fsbulkstat() 712 lastino = breq.startino - 1; in xfs_ioc_fsbulkstat() 714 breq.startino = lastino; in xfs_ioc_fsbulkstat() 718 breq.startino = lastino ? lastino + 1 : 0; in xfs_ioc_fsbulkstat() 720 lastino = breq.startino - 1; in xfs_ioc_fsbulkstat() 766 breq->startino = hdr->ino; in xfs_bulk_ireq_setup() 783 breq->startino = mp->m_sb.sb_rootino; in xfs_bulk_ireq_setup() 800 if (breq->startino == 0) in xfs_bulk_ireq_setup() 801 breq->startino in xfs_bulk_ireq_setup() [all...] |
H A D | xfs_itable.h | 13 xfs_ino_t startino; /* start with this inode */ member 19 /* Only iterate within the same AG as startino */
|
H A D | xfs_trace.h | 3975 xfs_agino_t startino), 3976 TP_ARGS(mp, agno, startino), 3980 __field(xfs_agino_t, startino) 3985 __entry->startino = startino; 3987 TP_printk("dev %d:%d agno 0x%x startino 0x%x", 3989 __entry->startino) 3999 __field(xfs_agino_t, startino) 4005 __entry->startino = irec->ir_startino; 4008 TP_printk("dev %d:%d agno 0x%x startino [all...] |
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | trace.h | 553 xfs_agino_t startino, xfs_daddr_t map_daddr, 557 TP_ARGS(mp, agno, startino, map_daddr, map_len, chunk_ino, nr_inodes, 562 __field(xfs_agino_t, startino) 574 __entry->startino = startino; 583 TP_printk("dev %d:%d agno %d startino %u daddr 0x%llx len %d chunkino %u nr_inodes %u cluster_mask 0x%x holemask 0x%x cluster_ino %u", 586 __entry->startino, 876 xfs_agino_t startino, uint16_t holemask, uint8_t count, 878 TP_ARGS(mp, agno, startino, holemask, count, freecount, freemask), 882 __field(xfs_agino_t, startino) [all...] |
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | trace.h | 601 xfs_agino_t startino, xfs_daddr_t map_daddr, 605 TP_ARGS(mp, agno, startino, map_daddr, map_len, chunk_ino, nr_inodes, 610 __field(xfs_agino_t, startino) 622 __entry->startino = startino; 631 TP_printk("dev %d:%d agno 0x%x startino 0x%x daddr 0x%llx bbcount 0x%x chunkino 0x%x nr_inodes %u cluster_mask 0x%x holemask 0x%x cluster_ino 0x%x", 634 __entry->startino, 1303 xfs_agino_t startino, uint16_t holemask, uint8_t count, 1305 TP_ARGS(mp, agno, startino, holemask, count, freecount, freemask), 1309 __field(xfs_agino_t, startino) [all...] |
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_ialloc.c | 392 * Align startino and allocmask for a recently allocated sparse chunk such that 410 * other is that a record already exists at the aligned startino that considers 417 xfs_agino_t *startino, in xfs_align_sparse_ino() 424 agbno = XFS_AGINO_TO_AGBNO(mp, *startino); in xfs_align_sparse_ino() 429 /* calculate the inode offset and align startino */ in xfs_align_sparse_ino() 431 *startino -= offset; in xfs_align_sparse_ino() 434 * Since startino has been aligned down, left shift allocmask such that in xfs_align_sparse_ino() 436 * new startino. in xfs_align_sparse_ino() 505 * record for the sparse chunk is pre-aligned to a startino that should match 556 * A record exists at this startino in xfs_inobt_insert_sprec() 415 xfs_align_sparse_ino( struct xfs_mount *mp, xfs_agino_t *startino, uint16_t *allocmask) xfs_align_sparse_ino() argument [all...] |
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_ialloc.c | 414 * Align startino and allocmask for a recently allocated sparse chunk such that 432 * other is that a record already exists at the aligned startino that considers 439 xfs_agino_t *startino, in xfs_align_sparse_ino() 446 agbno = XFS_AGINO_TO_AGBNO(mp, *startino); in xfs_align_sparse_ino() 451 /* calculate the inode offset and align startino */ in xfs_align_sparse_ino() 453 *startino -= offset; in xfs_align_sparse_ino() 456 * Since startino has been aligned down, left shift allocmask such that in xfs_align_sparse_ino() 458 * new startino. in xfs_align_sparse_ino() 527 * record for the sparse chunk is pre-aligned to a startino that should match 577 * A record exists at this startino in xfs_inobt_insert_sprec() 437 xfs_align_sparse_ino( struct xfs_mount *mp, xfs_agino_t *startino, uint16_t *allocmask) xfs_align_sparse_ino() argument [all...] |