/linux-master/fs/xfs/ |
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_iwalk.c | 32 * order from @startino until there are no more inodes. For each allocated 59 xfs_ino_t startino; member in struct:xfs_iwalk_ag 79 * Make it look like the inodes up to startino are free so that 396 /* Walk all inodes in a single AG, from @iwag->startino to the end of the AG. */ 410 ASSERT(pag->pag_agno == XFS_INO_TO_AGNO(mp, iwag->startino)); 411 agino = XFS_INO_TO_AGINO(mp, iwag->startino); 540 * Walk all inodes in the filesystem starting from @startino. The @iwalk_fn 549 xfs_ino_t startino, 560 .startino = startino, 546 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) argument 635 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) argument 733 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) argument [all...] |
H A D | xfs_itable.h | 13 xfs_ino_t startino; /* start with this inode */ member in struct:xfs_ibulk 19 /* Only iterate within the same AG as startino */
|
H A D | xfs_itable.c | 174 bc->breq->startino = ino + 1; 214 breq->startino, &bc); 261 xfs_ino_t startino) 263 xfs_agnumber_t agno = XFS_INO_TO_AGNO(mp, startino); 264 xfs_agino_t agino = XFS_INO_TO_AGINO(mp, startino); 267 startino != XFS_AGINO_TO_INO(mp, agno, agino); 289 if (xfs_bulkstat_already_done(breq->mp, breq->startino)) 308 error = xfs_iwalk(breq->mp, tp, breq->startino, iwalk_flags, 407 ic->breq->startino = XFS_AGINO_TO_INO(mp, agno, irec->ir_startino) + 427 if (xfs_bulkstat_already_done(breq->mp, breq->startino)) 259 xfs_bulkstat_already_done( struct xfs_mount *mp, xfs_ino_t startino) argument [all...] |
H A D | xfs_ioctl32.c | 275 * take the inode to start with, so we have to compute the startino 281 breq.startino = lastino ? lastino + 1 : 0; 283 lastino = breq.startino - 1; 285 breq.startino = lastino; 288 lastino = breq.startino; 290 breq.startino = lastino ? lastino + 1 : 0; 292 lastino = breq.startino - 1;
|
H A D | xfs_ioctl.c | 705 * take the inode to start with, so we have to compute the startino 711 breq.startino = lastino ? lastino + 1 : 0; 713 lastino = breq.startino - 1; 715 breq.startino = lastino; 719 breq.startino = lastino ? lastino + 1 : 0; 721 lastino = breq.startino - 1; 767 breq->startino = hdr->ino; 784 breq->startino = mp->m_sb.sb_rootino; 801 if (breq->startino == 0) 802 breq->startino [all...] |
H A D | xfs_trace.h | 4152 xfs_agino_t startino), 4153 TP_ARGS(mp, agno, startino), 4157 __field(xfs_agino_t, startino) 4162 __entry->startino = startino; 4164 TP_printk("dev %d:%d agno 0x%x startino 0x%x", 4166 __entry->startino) 4176 __field(xfs_agino_t, startino) 4182 __entry->startino = irec->ir_startino; 4185 TP_printk("dev %d:%d agno 0x%x startino [all...] |
/linux-master/fs/xfs/scrub/ |
H A D | trace.h | 690 xfs_agino_t startino, xfs_daddr_t map_daddr, 694 TP_ARGS(mp, agno, startino, map_daddr, map_len, chunk_ino, nr_inodes, 699 __field(xfs_agino_t, startino) 711 __entry->startino = startino; 720 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", 723 __entry->startino, 1220 __field(xfs_ino_t, startino) 1227 __entry->startino = iscan->scan_start_ino; 1234 __entry->startino, [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_ialloc.c | 423 * Align startino and allocmask for a recently allocated sparse chunk such that 441 * other is that a record already exists at the aligned startino that considers 448 xfs_agino_t *startino, 455 agbno = XFS_AGINO_TO_AGBNO(mp, *startino); 460 /* calculate the inode offset and align startino */ 462 *startino -= offset; 465 * Since startino has been aligned down, left shift allocmask such that 467 * new startino. 536 * The inode record for the sparse chunk is pre-aligned to a startino that 583 * A record exists at this startino 446 xfs_align_sparse_ino( struct xfs_mount *mp, xfs_agino_t *startino, uint16_t *allocmask) argument [all...] |