Home
last modified time | relevance | path

Searched refs:old_it (Results 1 – 2 of 2) sorted by relevance

/memcached-1.6.32/
Dmemcached.c1541 if (_store_item_copy_chunks(new_it, old_it, old_it->nbytes - 2) == -1 || in _store_item_copy_data()
1546 memcpy(ITEM_data(new_it), ITEM_data(old_it), old_it->nbytes); in _store_item_copy_data()
1553 _store_item_copy_chunks(new_it, old_it, old_it->nbytes) == -1) { in _store_item_copy_data()
1558 … memcpy(ITEM_data(new_it) + add_it->nbytes - 2 /* CRLF */, ITEM_data(old_it), old_it->nbytes); in _store_item_copy_data()
1584 if (old_it != NULL) { in do_store_item()
1587 uint64_t old_cas = ITEM_get_cas(old_it); in do_store_item()
1601 do_item_update(old_it); in do_store_item()
1657 FLAGS_CONV(old_it, flags); in do_store_item()
1658 …new_it = do_item_alloc(key, it->nkey, flags, old_it->exptime, it->nbytes + old_it->nbytes - 2 /* C… in do_store_item()
1685 STORAGE_delete(t->storage, old_it); in do_store_item()
[all …]
Dthread.c927 int item_replace(item *old_it, item *new_it, const uint32_t hv, const uint64_t cas_in) { in item_replace() argument
928 return do_item_replace(old_it, new_it, hv, cas_in); in item_replace()