Lines Matching refs:blocks
33 critical_error("indirect backing larger than %d blocks", EXT4_NDIR_BLOCKS);
64 error("failed to advance %d blocks", len);
131 error("failed to advance %d blocks", ind_block_len);
163 /* Given an allocation, attach as many blocks as possible to direct inode
164 blocks, and return the rest */
176 error("failed to advance %d blocks", len);
184 /* Given an allocation, attach as many blocks as possible to indirect blocks,
186 Assumes that the blocks necessary to hold the indirect blocks were included
207 error("failed to advance %d blocks", len);
215 /* Given an allocation, attach as many blocks as possible to doubly indirect
216 blocks, and return the rest.
217 Assumes that the blocks necessary to hold the indirect and doubly indirect
218 blocks were included as part of the allocation */
238 error("failed to advance %d blocks", len);
246 /* Given an allocation, attach as many blocks as possible to triply indirect
247 blocks, and return the rest.
248 Assumes that the blocks necessary to hold the indirect, doubly indirect and
249 triply indirect blocks were included as part of the allocation */
269 error("failed to advance %d blocks", len);
306 error("%d blocks remaining", len);
318 /* We will need an indirect block for the rest of the blocks */
348 error("failed to attach direct blocks to inode");
354 error("failed to attach indirect blocks to inode");
361 error("failed to attach dindirect blocks to inode");
368 error("failed to attach tindirect blocks to inode");
374 error("blocks left after triply-indirect allocation");
391 error("Failed to allocate %d blocks", block_len + indirect_len);
398 /* Allocates enough blocks to hold len bytes and connects them to an inode */
415 error("failed to attach blocks to indirect inode");
430 u64 blocks;
434 critical_error("reserved blocks not a multiple of %d",
469 blocks = ((u64)block_len + 1) * info.block_size / 512;
474 inode->i_blocks_lo = blocks;
475 inode->osd2.linux2.l_i_blocks_high = blocks >> 32;
480 /* Allocates enough blocks to hold len bytes, with backing_len bytes in a data