Lines Matching refs:inodes
29 * This iterator function walks a subset of filesystem inodes in increasing
30 * order from @startino until there are no more inodes. For each allocated
44 * allocated inodes, as the inobt records may be stale by the time they are
76 * Make it look like the inodes up to startino are free so that
88 * record. Do a readahead if there are any allocated inodes in that cluster.
119 * Set the bits in @irec's free mask that correspond to the inodes before
134 * We got a right chunk with some left inodes allocated at it. Grab
135 * the chunk record. Mark all the uninteresting inodes free because
247 * inobt and make the record look like all the inodes before agino are free so
319 * the inodes up to agino are free so that we don't return them again.
386 /* Walk all inodes in a single AG, from @iwag->startino to the end of the AG. */
428 /* No allocated inodes in this chunk; skip it. */
438 * walking the inodes.
478 * diminishes when userspace asks for more than 2048 inodes, so we'll cap
484 * Given the number of inodes to prefetch, set the number of inobt records that
485 * we cache in memory, which controls the number of inodes we try to read
486 * ahead. Set the maximum if @inodes == 0.
490 unsigned int inodes)
495 * If the caller didn't tell us the number of inodes they wanted,
500 if (inodes == 0)
501 inodes = IWALK_MAX_INODE_PREFETCH;
502 inodes = min(inodes, IWALK_MAX_INODE_PREFETCH);
505 inodes = round_up(inodes, XFS_INODES_PER_CHUNK);
508 * In order to convert the number of inodes to prefetch into an
516 * inobt = inodes / (INODES_PER_CHUNK * (4 / 5));
520 inobt_records = (inodes * 5) / (4 * XFS_INODES_PER_CHUNK);
531 * Walk all inodes in the filesystem starting from @startino. The @iwalk_fn
533 * @data. @max_prefetch controls how many inobt records' worth of inodes we
606 * Walk all the inodes in the filesystem using multiple threads to process each