Lines Matching refs:e_iter
94 struct ebitmap_node *e_iter = ebmap->node; in ebitmap_netlbl_export() local
100 if (e_iter == NULL) { in ebitmap_netlbl_export()
109 while (e_iter) { in ebitmap_netlbl_export()
110 offset = e_iter->startbit; in ebitmap_netlbl_export()
112 e_map = e_iter->maps[iter]; in ebitmap_netlbl_export()
123 e_iter = e_iter->next; in ebitmap_netlbl_export()
147 struct ebitmap_node *e_iter = NULL; in ebitmap_netlbl_import() local
165 if (e_iter == NULL || in ebitmap_netlbl_import()
166 offset >= e_iter->startbit + EBITMAP_SIZE) { in ebitmap_netlbl_import()
167 e_prev = e_iter; in ebitmap_netlbl_import()
168 e_iter = kmem_cache_zalloc(ebitmap_node_cachep, GFP_ATOMIC); in ebitmap_netlbl_import()
169 if (e_iter == NULL) in ebitmap_netlbl_import()
171 e_iter->startbit = offset - (offset % EBITMAP_SIZE); in ebitmap_netlbl_import()
173 ebmap->node = e_iter; in ebitmap_netlbl_import()
175 e_prev->next = e_iter; in ebitmap_netlbl_import()
176 ebmap->highbit = e_iter->startbit + EBITMAP_SIZE; in ebitmap_netlbl_import()
180 idx = EBITMAP_NODE_INDEX(e_iter, offset); in ebitmap_netlbl_import()
181 e_iter->maps[idx] = bitmap; in ebitmap_netlbl_import()