Lines Matching defs:blocks
29 * balloc.c contains the blocks allocation and deallocation routines
101 * descriptor blocks */
133 * Normally all of these blocks are contiguous, so the special
166 unsigned int blocks;
173 * blocks.
175 blocks = ext4_blocks_count(EXT4_SB(sb)->s_es) -
178 blocks = EXT4_BLOCKS_PER_GROUP(sb);
179 return EXT4_NUM_B2C(EXT4_SB(sb), blocks);
228 * Also if the number of blocks within the group is less than
237 /* Return the number of free blocks in a block group. It is used when
249 * The free blocks are managed by bitmaps. A file system contains several
250 * blocks groups. Each group contains 1 bitmap block for blocks, 1 bitmap
251 * block for inodes, N blocks for the inode table and data blocks.
255 * the free blocks count in the block. The descriptors are loaded in memory
356 * blocks may not be in the group at all
606 * @nclusters: number of needed blocks
651 /* No free blocks. Let's see if we can dip into reserved pool */
676 * attempting to allocate blocks. If there's an indication that a pending
694 * if there's no indication that blocks are about to be freed it's
717 * ext4_new_meta_blocks() -- allocate block for meta data (indexing) blocks
736 /* Fill with neighbour allocated blocks */
746 * Account for the allocated meta blocks. We will never
839 * ext4_bg_has_super - number of blocks used by the superblock in group
843 * Return the number of blocks used by the superblock (primary or backup)
894 * ext4_bg_num_gdb - number of blocks used by the group table in group
898 * Return the number of blocks used by the group descriptor table
900 * different number of descriptor blocks in each group.
916 * This function returns the number of file system metadata blocks at
917 * the beginning of a block group, including the reserved gdt blocks.
951 * Return the ideal location to start allocating blocks for a