FreeBSD/sys/fs/ext2fs/ext2_extents.c
/*
 * Put an ext4_extent structure in ext4 cache.
 */
Put an ext4_extent structure in ext4 cache.
Put an ext4_extent structure in ext4 cache .
void
ext4_ext_put_cache(struct inode *ip, struct ext4_extent *ep, int type)
{
	struct ext4_extent_cache *ecp;
	ecp = &ip->i_ext_cache;
	ecp->ec_type = type;
	ecp->ec_blk = ep->e_blk;
	ecp->ec_len = ep->e_len;
	ecp->ec_start = (daddr_t)ep->e_start_hi << 32 | ep->e_start_lo;
}
void ext4_ext_put_cache ( struct inode * ip , struct ext4_extent * ep , int type ) { struct ext4_extent_cache * ecp ; ecp = & ip -> i_ext_cache ; ecp -> ec_type = type ; ecp -> ec_blk = ep -> e_blk ; ecp -> ec_len = ep -> e_len ; ecp -> ec_start = ( daddr_t ) ep -> e_start_hi << 32 | ep -> e_start_lo ; }
Put an ext4_extent structure in ext4 cache.
Put an ext4_extent structure in ext4 cache .