Lines Matching defs:bytes
797 void __inode_add_bytes(struct inode *inode, loff_t bytes)
799 inode->i_blocks += bytes >> 9;
800 bytes &= 511;
801 inode->i_bytes += bytes;
809 void inode_add_bytes(struct inode *inode, loff_t bytes)
812 __inode_add_bytes(inode, bytes);
818 void __inode_sub_bytes(struct inode *inode, loff_t bytes)
820 inode->i_blocks -= bytes >> 9;
821 bytes &= 511;
822 if (inode->i_bytes < bytes) {
826 inode->i_bytes -= bytes;
831 void inode_sub_bytes(struct inode *inode, loff_t bytes)
834 __inode_sub_bytes(inode, bytes);
852 void inode_set_bytes(struct inode *inode, loff_t bytes)
856 inode->i_blocks = bytes >> 9;
857 inode->i_bytes = bytes & 511;