• Home
  • Raw
  • Download

Lines Matching refs:victim

1242   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);
1306 for (victim = last(bin); victim != bin; victim = victim->bk)
1308 victim_size = chunksize(victim);
1319 unlink(victim, bck, fwd);
1320 set_inuse_bit_at_offset(victim, victim_size);
1321 check_malloced_chunk(victim, nb);
1322 return chunk2mem(victim);
1332 if ( (victim = last_remainder->fd) != last_remainder)
1334 victim_size = chunksize(victim);
1339 remainder = chunk_at_offset(victim, nb);
1340 set_head(victim, nb | PREV_INUSE);
1344 check_malloced_chunk(victim, nb);
1345 return chunk2mem(victim);
1352 set_inuse_bit_at_offset(victim, victim_size);
1353 check_malloced_chunk(victim, nb);
1354 return chunk2mem(victim);
1359 frontlink(victim, victim_size, remainder_index, bck, fwd);
1395 for (victim = last(bin); victim != bin; victim = victim->bk)
1397 victim_size = chunksize(victim);
1402 remainder = chunk_at_offset(victim, nb);
1403 set_head(victim, nb | PREV_INUSE);
1404 unlink(victim, bck, fwd);
1408 check_malloced_chunk(victim, nb);
1409 return chunk2mem(victim);
1414 set_inuse_bit_at_offset(victim, victim_size);
1415 unlink(victim, bck, fwd);
1416 check_malloced_chunk(victim, nb);
1417 return chunk2mem(victim);
1464 (victim = mmap_chunk(nb)))
1465 return chunk2mem(victim);
1474 victim = top;
1475 set_head(victim, nb | PREV_INUSE);
1476 top = chunk_at_offset(victim, nb);
1478 check_malloced_chunk(victim, nb);
1479 return chunk2mem(victim);