Lines Matching refs:n2
20 ebitmap_node_t *n1, *n2, *new, *prev; in ebitmap_or() local
25 n2 = e2->node; in ebitmap_or()
27 while (n1 || n2) { in ebitmap_or()
34 if (n1 && n2 && n1->startbit == n2->startbit) { in ebitmap_or()
36 new->map = n1->map | n2->map; in ebitmap_or()
38 n2 = n2->next; in ebitmap_or()
39 } else if (!n2 || (n1 && n1->startbit < n2->startbit)) { in ebitmap_or()
44 new->startbit = n2->startbit; in ebitmap_or()
45 new->map = n2->map; in ebitmap_or()
46 n2 = n2->next; in ebitmap_or()
152 ebitmap_node_t *n1, *n2; in ebitmap_cmp() local
158 n2 = e2->node; in ebitmap_cmp()
159 while (n1 && n2 && in ebitmap_cmp()
160 (n1->startbit == n2->startbit) && (n1->map == n2->map)) { in ebitmap_cmp()
162 n2 = n2->next; in ebitmap_cmp()
165 if (n1 || n2) in ebitmap_cmp()
202 ebitmap_node_t *n1, *n2; in ebitmap_contains() local
208 n2 = e2->node; in ebitmap_contains()
209 while (n1 && n2 && (n1->startbit <= n2->startbit)) { in ebitmap_contains()
210 if (n1->startbit < n2->startbit) { in ebitmap_contains()
214 if ((n1->map & n2->map) != n2->map) in ebitmap_contains()
218 n2 = n2->next; in ebitmap_contains()
221 if (n2) in ebitmap_contains()
230 ebitmap_node_t *n2 = e2->node; in ebitmap_match_any() local
232 while (n1 && n2) { in ebitmap_match_any()
233 if (n1->startbit < n2->startbit) { in ebitmap_match_any()
235 } else if (n2->startbit < n1->startbit) { in ebitmap_match_any()
236 n2 = n2->next; in ebitmap_match_any()
238 if (n1->map & n2->map) { in ebitmap_match_any()
242 n2 = n2->next; in ebitmap_match_any()