Lines Matching refs:EBITMAP_SIZE
38 !memcmp(n1->maps, n2->maps, EBITMAP_SIZE / 8)) { in ebitmap_cmp()
64 memcpy(new->maps, n->maps, EBITMAP_SIZE / 8); in ebitmap_cpy()
182 offset >= e_iter->startbit + EBITMAP_SIZE) { in ebitmap_netlbl_import()
188 e_iter->startbit = offset - (offset % EBITMAP_SIZE); in ebitmap_netlbl_import()
193 ebmap->highbit = e_iter->startbit + EBITMAP_SIZE; in ebitmap_netlbl_import()
269 if ((n->startbit + EBITMAP_SIZE) > bit) in ebitmap_get_bit()
284 if ((n->startbit + EBITMAP_SIZE) > bit) { in ebitmap_set_bit()
292 s = find_first_bit(n->maps, EBITMAP_SIZE); in ebitmap_set_bit()
293 if (s < EBITMAP_SIZE) in ebitmap_set_bit()
304 EBITMAP_SIZE; in ebitmap_set_bit()
327 new->startbit = bit - (bit % EBITMAP_SIZE); in ebitmap_set_bit()
332 e->highbit = new->startbit + EBITMAP_SIZE; in ebitmap_set_bit()
391 e->highbit += EBITMAP_SIZE - 1; in ebitmap_read()
392 e->highbit -= (e->highbit % EBITMAP_SIZE); in ebitmap_read()
423 if (!n || startbit >= n->startbit + EBITMAP_SIZE) { in ebitmap_read()
433 tmp->startbit = startbit - (startbit % EBITMAP_SIZE); in ebitmap_read()
464 if (n && n->startbit + EBITMAP_SIZE != e->highbit) { in ebitmap_read()
466 e->highbit, n->startbit + EBITMAP_SIZE); in ebitmap_read()