Lines Matching refs:bytes
447 void __inode_add_bytes(struct inode *inode, loff_t bytes) in __inode_add_bytes() argument
449 inode->i_blocks += bytes >> 9; in __inode_add_bytes()
450 bytes &= 511; in __inode_add_bytes()
451 inode->i_bytes += bytes; in __inode_add_bytes()
458 void inode_add_bytes(struct inode *inode, loff_t bytes) in inode_add_bytes() argument
461 __inode_add_bytes(inode, bytes); in inode_add_bytes()
467 void __inode_sub_bytes(struct inode *inode, loff_t bytes) in __inode_sub_bytes() argument
469 inode->i_blocks -= bytes >> 9; in __inode_sub_bytes()
470 bytes &= 511; in __inode_sub_bytes()
471 if (inode->i_bytes < bytes) { in __inode_sub_bytes()
475 inode->i_bytes -= bytes; in __inode_sub_bytes()
480 void inode_sub_bytes(struct inode *inode, loff_t bytes) in inode_sub_bytes() argument
483 __inode_sub_bytes(inode, bytes); in inode_sub_bytes()
501 void inode_set_bytes(struct inode *inode, loff_t bytes) in inode_set_bytes() argument
505 inode->i_blocks = bytes >> 9; in inode_set_bytes()
506 inode->i_bytes = bytes & 511; in inode_set_bytes()