Searched refs:old_it (Results 1 – 2 of 2) sorted by relevance
| /memcached-1.4.29/ |
| H A D | memcached.c | 2535 _store_item_copy_chunks(new_it, old_it, old_it->nbytes - 2); in _store_item_copy_data() 2538 memcpy(ITEM_data(new_it), ITEM_data(old_it), old_it->nbytes); in _store_item_copy_data() 2545 _store_item_copy_chunks(new_it, old_it, old_it->nbytes); in _store_item_copy_data() 2548 … memcpy(ITEM_data(new_it) + add_it->nbytes - 2 /* CRLF */, ITEM_data(old_it), old_it->nbytes); in _store_item_copy_data() 2567 if (old_it != NULL && comm == NREAD_ADD) { in do_store_item() 2569 do_item_update(old_it); in do_store_item() 2576 if(old_it == NULL) { in do_store_item() 2591 item_replace(old_it, it, hv); in do_store_item() 2643 if (old_it != NULL) in do_store_item() 2644 item_replace(old_it, it, hv); in do_store_item() [all …]
|
| H A D | thread.c | 600 int item_replace(item *old_it, item *new_it, const uint32_t hv) { in item_replace() argument 601 return do_item_replace(old_it, new_it, hv); in item_replace()
|