Searched refs:spg (Results 1 – 1 of 1) sorted by relevance
1655 struct ceph_spg_mapping *spg; in alloc_spg_mapping() local1657 spg = kmalloc(sizeof(*spg), GFP_NOIO); in alloc_spg_mapping()1658 if (!spg) in alloc_spg_mapping()1661 RB_CLEAR_NODE(&spg->node); in alloc_spg_mapping()1662 spg->backoffs = RB_ROOT; in alloc_spg_mapping()1663 return spg; in alloc_spg_mapping()1666 static void free_spg_mapping(struct ceph_spg_mapping *spg) in free_spg_mapping() argument1668 WARN_ON(!RB_EMPTY_NODE(&spg->node)); in free_spg_mapping()1669 WARN_ON(!RB_EMPTY_ROOT(&spg->backoffs)); in free_spg_mapping()1671 kfree(spg); in free_spg_mapping()[all …]