Lines Matching refs:EBITMAP_SIZE
42 !memcmp(n1->maps, n2->maps, EBITMAP_SIZE / 8)) { in ebitmap_cmp()
68 memcpy(new->maps, n->maps, EBITMAP_SIZE / 8); in ebitmap_cpy()
186 offset >= e_iter->startbit + EBITMAP_SIZE) { in ebitmap_netlbl_import()
191 e_iter->startbit = offset - (offset % EBITMAP_SIZE); in ebitmap_netlbl_import()
196 ebmap->highbit = e_iter->startbit + EBITMAP_SIZE; in ebitmap_netlbl_import()
271 if ((n->startbit + EBITMAP_SIZE) > bit) in ebitmap_get_bit()
286 if ((n->startbit + EBITMAP_SIZE) > bit) { in ebitmap_set_bit()
294 s = find_first_bit(n->maps, EBITMAP_SIZE); in ebitmap_set_bit()
295 if (s < EBITMAP_SIZE) in ebitmap_set_bit()
306 + EBITMAP_SIZE; in ebitmap_set_bit()
329 new->startbit = bit - (bit % EBITMAP_SIZE); in ebitmap_set_bit()
334 e->highbit = new->startbit + EBITMAP_SIZE; in ebitmap_set_bit()
393 e->highbit += EBITMAP_SIZE - 1; in ebitmap_read()
394 e->highbit -= (e->highbit % EBITMAP_SIZE); in ebitmap_read()
425 if (!n || startbit >= n->startbit + EBITMAP_SIZE) { in ebitmap_read()
434 tmp->startbit = startbit - (startbit % EBITMAP_SIZE); in ebitmap_read()