Lines Matching refs:nodep1
500 struct node *nodep1, *nodep2; in node_split() local
510 nodep1 = node_find(s, idx); in node_split()
511 if (!nodep1) in node_split()
518 if (nodep1->idx == idx) in node_split()
519 return nodep1; in node_split()
530 offset = idx - (nodep1->idx + MASK_BITS); in node_split()
531 orig_num_after = nodep1->num_after; in node_split()
537 nodep1->num_after = offset; in node_split()
1102 struct node *nodep1, *nodep2; in sparsebit_first_clear() local
1108 nodep1 = node_first(s); in sparsebit_first_clear()
1109 if (!nodep1 || nodep1->idx > 0) in sparsebit_first_clear()
1113 if (nodep1->mask != ~(mask_t) 0) in sparsebit_first_clear()
1114 return node_first_clear(nodep1, 0); in sparsebit_first_clear()
1121 nodep2 = node_next(s, nodep1); in sparsebit_first_clear()
1127 assert(nodep1->mask == ~(mask_t) 0); in sparsebit_first_clear()
1128 assert(nodep1->idx + MASK_BITS + nodep1->num_after != (sparsebit_idx_t) 0); in sparsebit_first_clear()
1129 return nodep1->idx + MASK_BITS + nodep1->num_after; in sparsebit_first_clear()
1138 if (nodep1->idx + MASK_BITS + nodep1->num_after != nodep2->idx) in sparsebit_first_clear()
1139 return nodep1->idx + MASK_BITS + nodep1->num_after; in sparsebit_first_clear()
1252 struct node *nodep1, *nodep2; in sparsebit_next_clear() local
1262 nodep1 = node_find(s, lowest_possible); in sparsebit_next_clear()
1263 if (!nodep1) in sparsebit_next_clear()
1267 for (idx = lowest_possible - nodep1->idx; idx < MASK_BITS; idx++) in sparsebit_next_clear()
1268 if (!(nodep1->mask & (1 << idx))) in sparsebit_next_clear()
1269 return nodep1->idx + idx; in sparsebit_next_clear()
1276 nodep2 = node_next(s, nodep1); in sparsebit_next_clear()
1278 return nodep1->idx + MASK_BITS + nodep1->num_after; in sparsebit_next_clear()
1286 if (nodep1->idx + MASK_BITS + nodep1->num_after != nodep2->idx) in sparsebit_next_clear()
1287 return nodep1->idx + MASK_BITS + nodep1->num_after; in sparsebit_next_clear()