Lines Matching refs:inode_item
999 struct btrfs_inode_item *inode_item; in __btrfs_update_delayed_inode() local
1020 inode_item = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_update_delayed_inode()
1022 write_extent_buffer(leaf, &node->inode_item, (unsigned long)inode_item, in __btrfs_update_delayed_inode()
1773 struct btrfs_inode_item *inode_item, in fill_stack_inode_item() argument
1778 btrfs_set_stack_inode_uid(inode_item, i_uid_read(inode)); in fill_stack_inode_item()
1779 btrfs_set_stack_inode_gid(inode_item, i_gid_read(inode)); in fill_stack_inode_item()
1780 btrfs_set_stack_inode_size(inode_item, BTRFS_I(inode)->disk_i_size); in fill_stack_inode_item()
1781 btrfs_set_stack_inode_mode(inode_item, inode->i_mode); in fill_stack_inode_item()
1782 btrfs_set_stack_inode_nlink(inode_item, inode->i_nlink); in fill_stack_inode_item()
1783 btrfs_set_stack_inode_nbytes(inode_item, inode_get_bytes(inode)); in fill_stack_inode_item()
1784 btrfs_set_stack_inode_generation(inode_item, in fill_stack_inode_item()
1786 btrfs_set_stack_inode_sequence(inode_item, in fill_stack_inode_item()
1788 btrfs_set_stack_inode_transid(inode_item, trans->transid); in fill_stack_inode_item()
1789 btrfs_set_stack_inode_rdev(inode_item, inode->i_rdev); in fill_stack_inode_item()
1792 btrfs_set_stack_inode_flags(inode_item, flags); in fill_stack_inode_item()
1793 btrfs_set_stack_inode_block_group(inode_item, 0); in fill_stack_inode_item()
1795 btrfs_set_stack_timespec_sec(&inode_item->atime, in fill_stack_inode_item()
1797 btrfs_set_stack_timespec_nsec(&inode_item->atime, in fill_stack_inode_item()
1800 btrfs_set_stack_timespec_sec(&inode_item->mtime, in fill_stack_inode_item()
1802 btrfs_set_stack_timespec_nsec(&inode_item->mtime, in fill_stack_inode_item()
1805 btrfs_set_stack_timespec_sec(&inode_item->ctime, in fill_stack_inode_item()
1807 btrfs_set_stack_timespec_nsec(&inode_item->ctime, in fill_stack_inode_item()
1810 btrfs_set_stack_timespec_sec(&inode_item->otime, in fill_stack_inode_item()
1812 btrfs_set_stack_timespec_nsec(&inode_item->otime, in fill_stack_inode_item()
1820 struct btrfs_inode_item *inode_item; in btrfs_fill_inode() local
1833 inode_item = &delayed_node->inode_item; in btrfs_fill_inode()
1835 i_uid_write(inode, btrfs_stack_inode_uid(inode_item)); in btrfs_fill_inode()
1836 i_gid_write(inode, btrfs_stack_inode_gid(inode_item)); in btrfs_fill_inode()
1837 btrfs_i_size_write(BTRFS_I(inode), btrfs_stack_inode_size(inode_item)); in btrfs_fill_inode()
1840 inode->i_mode = btrfs_stack_inode_mode(inode_item); in btrfs_fill_inode()
1841 set_nlink(inode, btrfs_stack_inode_nlink(inode_item)); in btrfs_fill_inode()
1842 inode_set_bytes(inode, btrfs_stack_inode_nbytes(inode_item)); in btrfs_fill_inode()
1843 BTRFS_I(inode)->generation = btrfs_stack_inode_generation(inode_item); in btrfs_fill_inode()
1844 BTRFS_I(inode)->last_trans = btrfs_stack_inode_transid(inode_item); in btrfs_fill_inode()
1847 btrfs_stack_inode_sequence(inode_item)); in btrfs_fill_inode()
1849 *rdev = btrfs_stack_inode_rdev(inode_item); in btrfs_fill_inode()
1850 btrfs_inode_split_flags(btrfs_stack_inode_flags(inode_item), in btrfs_fill_inode()
1853 inode->i_atime.tv_sec = btrfs_stack_timespec_sec(&inode_item->atime); in btrfs_fill_inode()
1854 inode->i_atime.tv_nsec = btrfs_stack_timespec_nsec(&inode_item->atime); in btrfs_fill_inode()
1856 inode->i_mtime.tv_sec = btrfs_stack_timespec_sec(&inode_item->mtime); in btrfs_fill_inode()
1857 inode->i_mtime.tv_nsec = btrfs_stack_timespec_nsec(&inode_item->mtime); in btrfs_fill_inode()
1859 inode->i_ctime.tv_sec = btrfs_stack_timespec_sec(&inode_item->ctime); in btrfs_fill_inode()
1860 inode->i_ctime.tv_nsec = btrfs_stack_timespec_nsec(&inode_item->ctime); in btrfs_fill_inode()
1863 btrfs_stack_timespec_sec(&inode_item->otime); in btrfs_fill_inode()
1865 btrfs_stack_timespec_nsec(&inode_item->otime); in btrfs_fill_inode()
1888 fill_stack_inode_item(trans, &delayed_node->inode_item, in btrfs_delayed_update_inode()
1897 fill_stack_inode_item(trans, &delayed_node->inode_item, &inode->vfs_inode); in btrfs_delayed_update_inode()