Lines Matching defs:i_blocks
155 return (S_ISLNK(inode->i_mode) && inode->i_blocks - ea_blocks == 0);
257 if (inode->i_blocks) {
4191 u64 i_blocks = READ_ONCE(inode->i_blocks);
4194 if (i_blocks <= ~0U) {
4196 * i_blocks can be represented in a 32 bit variable
4199 raw_inode->i_blocks_lo = cpu_to_le32(i_blocks);
4213 if (i_blocks <= 0xffffffffffffULL) {
4215 * i_blocks can be represented in a 48 bit variable
4218 raw_inode->i_blocks_lo = cpu_to_le32(i_blocks);
4219 raw_inode->i_blocks_high = cpu_to_le16(i_blocks >> 32);
4224 i_blocks = i_blocks >> (inode->i_blkbits - 9);
4225 raw_inode->i_blocks_lo = cpu_to_le32(i_blocks);
4226 raw_inode->i_blocks_high = cpu_to_le16(i_blocks >> 32);
4576 blkcnt_t i_blocks ;
4582 i_blocks = ((u64)le16_to_cpu(raw_inode->i_blocks_high)) << 32 |
4585 /* i_blocks represent file system block size */
4586 return i_blocks << (inode->i_blkbits - 9);
4588 return i_blocks;
4802 inode->i_blocks = ext4_inode_blocks(raw_inode, ei);
5583 * We can't update i_blocks if the block allocation is delayed
5585 * allocation is done, we will have i_blocks inconsistent with
5587 * We always keep i_blocks updated together with real