• Home
  • Raw
  • Download

Lines Matching refs:startbit

41 	       (n1->startbit == n2->startbit) &&  in ebitmap_cmp()
66 new->startbit = n->startbit; in ebitmap_cpy()
129 offset = e_iter->startbit; in ebitmap_netlbl_export()
185 offset >= e_iter->startbit + EBITMAP_SIZE) { in ebitmap_netlbl_import()
190 e_iter->startbit = offset - (offset % EBITMAP_SIZE); in ebitmap_netlbl_import()
195 ebmap->highbit = e_iter->startbit + EBITMAP_SIZE; in ebitmap_netlbl_import()
231 while (n1 && n2 && (n1->startbit <= n2->startbit)) { in ebitmap_contains()
232 if (n1->startbit < n2->startbit) { in ebitmap_contains()
239 u32 lastsetbit = n2->startbit + i * EBITMAP_UNIT_SIZE + in ebitmap_contains()
269 while (n && (n->startbit <= bit)) { in ebitmap_get_bit()
270 if ((n->startbit + EBITMAP_SIZE) > bit) in ebitmap_get_bit()
284 while (n && n->startbit <= bit) { in ebitmap_set_bit()
285 if ((n->startbit + EBITMAP_SIZE) > bit) { in ebitmap_set_bit()
304 e->highbit = prev->startbit in ebitmap_set_bit()
328 new->startbit = bit - (bit % EBITMAP_SIZE); in ebitmap_set_bit()
333 e->highbit = new->startbit + EBITMAP_SIZE; in ebitmap_set_bit()
368 u32 mapunit, count, startbit, index; in ebitmap_read() local
410 startbit = le32_to_cpu(ebitmap_start); in ebitmap_read()
412 if (startbit & (mapunit - 1)) { in ebitmap_read()
415 startbit, mapunit); in ebitmap_read()
418 if (startbit > e->highbit - mapunit) { in ebitmap_read()
421 startbit, (e->highbit - mapunit)); in ebitmap_read()
425 if (!n || startbit >= n->startbit + EBITMAP_SIZE) { in ebitmap_read()
434 tmp->startbit = startbit - (startbit % EBITMAP_SIZE); in ebitmap_read()
440 } else if (startbit <= n->startbit) { in ebitmap_read()
443 startbit, n->startbit); in ebitmap_read()
454 index = (startbit - n->startbit) / EBITMAP_UNIT_SIZE; in ebitmap_read()
553 hash = jhash_1word(node->startbit, hash); in ebitmap_hash()