Home
last modified time | relevance | path

Searched refs:victim (Results 1 – 6 of 6) sorted by relevance

/rk3399_rockchip-uboot/common/
H A Ddlmalloc.c1242 mchunkptr victim; /* inspected/selected chunk */ local
1281 victim = last(q);
1284 if (victim == q)
1287 victim = last(q);
1289 if (victim != q)
1291 victim_size = chunksize(victim);
1292 unlink(victim, bck, fwd);
1293 set_inuse_bit_at_offset(victim, victim_size);
1294 check_malloced_chunk(victim, nb);
1295 return chunk2mem(victim);
[all …]
H A Ddlmalloc.src2107 mchunkptr victim; /* inspected/selected chunk */
2135 victim = last(q);
2138 if (victim == q)
2141 victim = last(q);
2143 if (victim != q)
2145 victim_size = chunksize(victim);
2146 unlink(victim, bck, fwd);
2147 set_inuse_bit_at_offset(victim, victim_size);
2148 check_malloced_chunk(victim, nb);
2149 return chunk2mem(victim);
[all …]
/rk3399_rockchip-uboot/lib/
H A Drbtree.c496 void rb_replace_node(struct rb_node *victim, struct rb_node *new, in rb_replace_node() argument
499 struct rb_node *parent = rb_parent(victim); in rb_replace_node()
502 __rb_change_child(victim, new, parent, root); in rb_replace_node()
503 if (victim->rb_left) in rb_replace_node()
504 rb_set_parent(victim->rb_left, new); in rb_replace_node()
505 if (victim->rb_right) in rb_replace_node()
506 rb_set_parent(victim->rb_right, new); in rb_replace_node()
509 *new = *victim; in rb_replace_node()
/rk3399_rockchip-uboot/drivers/mtd/ubi/
H A Dfastmap-wl.c37 struct ubi_wl_entry *e, *victim = NULL; in find_anchor_wl_entry() local
42 victim = e; in find_anchor_wl_entry()
47 return victim; in find_anchor_wl_entry()
H A Dfastmap.c278 struct ubi_ainf_peb *aeb, *victim; in update_vol() local
311 victim = kmem_cache_alloc(ai->aeb_slab_cache, in update_vol()
313 if (!victim) in update_vol()
316 victim->ec = aeb->ec; in update_vol()
317 victim->pnum = aeb->pnum; in update_vol()
318 list_add_tail(&victim->u.list, &ai->erase); in update_vol()
/rk3399_rockchip-uboot/include/linux/
H A Drbtree.h66 extern void rb_replace_node(struct rb_node *victim, struct rb_node *new,