Lines Matching refs:bytes
449 void __inode_add_bytes(struct inode *inode, loff_t bytes) in __inode_add_bytes() argument
451 inode->i_blocks += bytes >> 9; in __inode_add_bytes()
452 bytes &= 511; in __inode_add_bytes()
453 inode->i_bytes += bytes; in __inode_add_bytes()
460 void inode_add_bytes(struct inode *inode, loff_t bytes) in inode_add_bytes() argument
463 __inode_add_bytes(inode, bytes); in inode_add_bytes()
469 void __inode_sub_bytes(struct inode *inode, loff_t bytes) in __inode_sub_bytes() argument
471 inode->i_blocks -= bytes >> 9; in __inode_sub_bytes()
472 bytes &= 511; in __inode_sub_bytes()
473 if (inode->i_bytes < bytes) { in __inode_sub_bytes()
477 inode->i_bytes -= bytes; in __inode_sub_bytes()
482 void inode_sub_bytes(struct inode *inode, loff_t bytes) in inode_sub_bytes() argument
485 __inode_sub_bytes(inode, bytes); in inode_sub_bytes()
503 void inode_set_bytes(struct inode *inode, loff_t bytes) in inode_set_bytes() argument
507 inode->i_blocks = bytes >> 9; in inode_set_bytes()
508 inode->i_bytes = bytes & 511; in inode_set_bytes()