Lines Matching refs:e_iter
112 struct ebitmap_node *e_iter = ebmap->node; in ebitmap_netlbl_export() local
118 if (e_iter == NULL) { in ebitmap_netlbl_export()
127 while (e_iter) { in ebitmap_netlbl_export()
128 offset = e_iter->startbit; in ebitmap_netlbl_export()
130 e_map = e_iter->maps[iter]; in ebitmap_netlbl_export()
139 e_iter = e_iter->next; in ebitmap_netlbl_export()
163 struct ebitmap_node *e_iter = NULL; in ebitmap_netlbl_import() local
181 if (e_iter == NULL || in ebitmap_netlbl_import()
182 offset >= e_iter->startbit + EBITMAP_SIZE) { in ebitmap_netlbl_import()
183 e_prev = e_iter; in ebitmap_netlbl_import()
184 e_iter = kmem_cache_zalloc(ebitmap_node_cachep, in ebitmap_netlbl_import()
186 if (e_iter == NULL) in ebitmap_netlbl_import()
188 e_iter->startbit = offset - (offset % EBITMAP_SIZE); in ebitmap_netlbl_import()
190 ebmap->node = e_iter; in ebitmap_netlbl_import()
192 e_prev->next = e_iter; in ebitmap_netlbl_import()
193 ebmap->highbit = e_iter->startbit + EBITMAP_SIZE; in ebitmap_netlbl_import()
197 idx = EBITMAP_NODE_INDEX(e_iter, offset); in ebitmap_netlbl_import()
198 e_iter->maps[idx] = bitmap; in ebitmap_netlbl_import()