• Home
  • Raw
  • Download

Lines Matching refs:new

20 	ebitmap_node_t *n1, *n2, *new, *prev;  in ebitmap_or()  local
28 new = (ebitmap_node_t *) malloc(sizeof(ebitmap_node_t)); in ebitmap_or()
29 if (!new) { in ebitmap_or()
33 memset(new, 0, sizeof(ebitmap_node_t)); in ebitmap_or()
35 new->startbit = n1->startbit; in ebitmap_or()
36 new->map = n1->map | n2->map; in ebitmap_or()
40 new->startbit = n1->startbit; in ebitmap_or()
41 new->map = n1->map; in ebitmap_or()
44 new->startbit = n2->startbit; in ebitmap_or()
45 new->map = n2->map; in ebitmap_or()
49 new->next = 0; in ebitmap_or()
51 prev->next = new; in ebitmap_or()
53 dst->node = new; in ebitmap_or()
54 prev = new; in ebitmap_or()
173 ebitmap_node_t *n, *new, *prev; in ebitmap_cpy() local
179 new = (ebitmap_node_t *) malloc(sizeof(ebitmap_node_t)); in ebitmap_cpy()
180 if (!new) { in ebitmap_cpy()
184 memset(new, 0, sizeof(ebitmap_node_t)); in ebitmap_cpy()
185 new->startbit = n->startbit; in ebitmap_cpy()
186 new->map = n->map; in ebitmap_cpy()
187 new->next = 0; in ebitmap_cpy()
189 prev->next = new; in ebitmap_cpy()
191 dst->node = new; in ebitmap_cpy()
192 prev = new; in ebitmap_cpy()
250 ebitmap_node_t *n, *prev, *new; in ebitmap_set_bit() local
299 new = (ebitmap_node_t *) malloc(sizeof(ebitmap_node_t)); in ebitmap_set_bit()
300 if (!new) in ebitmap_set_bit()
302 memset(new, 0, sizeof(ebitmap_node_t)); in ebitmap_set_bit()
304 new->startbit = startbit; in ebitmap_set_bit()
305 new->map = (MAPBIT << (bit - new->startbit)); in ebitmap_set_bit()
313 new->next = prev->next; in ebitmap_set_bit()
314 prev->next = new; in ebitmap_set_bit()
316 new->next = e->node; in ebitmap_set_bit()
317 e->node = new; in ebitmap_set_bit()