Lines Matching defs:blocks
356 * node chain which serializes node blocks. If one of node writes are
358 * roll-forward recovery. It means we'll recover all or none node blocks
743 * For compressed file, after release compress blocks, don't allow write
884 stat->blocks += (stat->size + 511) >> 9;
996 * do not trim all blocks after i_size if target size is
2622 * in logical blocks.
3414 static int f2fs_get_compress_blocks(struct inode *inode, __u64 *blocks)
3422 *blocks = atomic_read(&F2FS_I(inode)->i_compr_blocks);
3430 __u64 blocks;
3433 ret = f2fs_get_compress_blocks(inode, &blocks);
3437 return put_user(blocks, (u64 __user *)arg);
3594 f2fs_warn(sbi, "%s: partial blocks were released i_ino=%lx "
3657 /* for the case all blocks in cluster were reserved */
3765 f2fs_warn(sbi, "%s: partial blocks were released i_ino=%lx "
4550 * Preallocate blocks for a write request, if it is possible and helpful to do
4551 * so. Returns a positive number if blocks may have been preallocated, 0 if no
4552 * blocks were preallocated, or a negative errno value if something went
4554 * requested blocks (not just some of them) have been allocated.
4578 /* No-wait I/O can't allocate blocks. */
4595 /* Do not preallocate blocks that will be written partially in 4KB. */
4612 /* -ENOSPC|-EDQUOT are fine to report the number of allocated blocks. */
4818 /* Possibly preallocate the blocks for the write. */
4837 /* Don't leave any preallocated blocks around past i_size. */