Lines Matching refs:inodes
30 * This iterator function walks a subset of filesystem inodes in increasing
31 * order from @startino until there are no more inodes. For each allocated
45 * allocated inodes, as the inobt records may be stale by the time they are
78 * Make it look like the inodes up to startino are free so that
93 * record. Do a readahead if there are any allocated inodes in that cluster.
124 * Set the bits in @irec's free mask that correspond to the inodes before
139 * We got a right chunk with some left inodes allocated at it. Grab
140 * the chunk record. Mark all the uninteresting inodes free because
252 * inobt and make the record look like all the inodes before agino are free so
324 * the inodes up to agino are free so that we don't return them again.
401 /* Walk all inodes in a single AG, from @iwag->startino to the end of the AG. */
442 /* No allocated inodes in this chunk; skip it. */
452 * walking the inodes.
491 * diminishes when userspace asks for more than 2048 inodes, so we'll cap
497 * Given the number of inodes to prefetch, set the number of inobt records that
498 * we cache in memory, which controls the number of inodes we try to read
499 * ahead. Set the maximum if @inodes == 0.
503 unsigned int inodes)
508 * If the caller didn't tell us the number of inodes they wanted,
513 if (inodes == 0)
514 inodes = IWALK_MAX_INODE_PREFETCH;
515 inodes = min(inodes, IWALK_MAX_INODE_PREFETCH);
518 inodes = round_up(inodes, XFS_INODES_PER_CHUNK);
521 * In order to convert the number of inodes to prefetch into an
529 * inobt = inodes / (INODES_PER_CHUNK * (4 / 5));
533 inobt_records = (inodes * 5) / (4 * XFS_INODES_PER_CHUNK);
544 * Walk all inodes in the filesystem starting from @startino. The @iwalk_fn
546 * @data. @max_prefetch controls how many inobt records' worth of inodes we
635 * Walk all the inodes in the filesystem using multiple threads to process each