Searched refs:new_it (Results 1 – 9 of 9) sorted by relevance
| /memcached-1.6.32/ |
| D | slabs.c | 793 item *new_it = NULL; in slab_rebalance_alloc() local 798 if (new_it == NULL) { in slab_rebalance_alloc() 801 if ((void *)new_it >= slab_rebal.slab_start in slab_rebalance_alloc() 806 new_it->refcount = 0; in slab_rebalance_alloc() 811 new_it = NULL; in slab_rebalance_alloc() 817 return new_it; in slab_rebalance_alloc() 954 item *new_it = NULL; in slab_rebalance_move() local 1001 new_it->prev = 0; in slab_rebalance_move() 1002 new_it->next = 0; in slab_rebalance_move() 1003 new_it->h_next = 0; in slab_rebalance_move() [all …]
|
| D | storage.c | 259 item *new_it; in storage_get_item() local 266 assert(new_it == NULL || (new_it->it_flags & ITEM_CHUNKED)); in storage_get_item() 271 if (new_it == NULL) in storage_get_item() 274 new_it->slabs_clsid = clsid; in storage_get_item() 296 size_t remain = new_it->nbytes; in storage_get_item() 304 item_remove(new_it); in storage_get_item() 310 eio->iov[0].iov_base = new_it; in storage_get_item() 311 eio->iov[0].iov_len = ITEM_ntotal(new_it) - new_it->nbytes; in storage_get_item() 318 item_remove(new_it); in storage_get_item() 347 eio->buf = (void *)new_it; in storage_get_item() [all …]
|
| D | memcached.c | 1540 if (new_it->it_flags & ITEM_CHUNKED) { in _store_item_copy_data() 1551 if (new_it->it_flags & ITEM_CHUNKED) { in _store_item_copy_data() 1577 item *new_it = NULL; in do_store_item() local 1661 if (new_it == NULL) in do_store_item() 1670 it = new_it; in do_store_item() 1691 if (new_it != NULL) { in do_store_item() 1693 do_item_remove(new_it); in do_store_item() 2341 item *new_it; local 2345 if (new_it == 0) { 2349 memcpy(ITEM_data(new_it), buf, res); [all …]
|
| D | items.h | 26 int do_item_replace(item *it, item *new_it, const uint32_t hv, const uint64_t cas);
|
| D | proxy_internal.c | 1332 item *new_it = item_alloc(key, nkey, of.client_flags, of.exptime, 2); in process_mdelete_cmd() local 1333 if (new_it != NULL) { in process_mdelete_cmd() 1334 memcpy(ITEM_data(new_it), "\r\n", 2); in process_mdelete_cmd() 1335 if (do_store_item(new_it, NREAD_SET, t, hv, NULL, NULL, in process_mdelete_cmd() 1338 it = new_it; in process_mdelete_cmd() 1340 do_item_remove(new_it); in process_mdelete_cmd()
|
| D | items.c | 584 int do_item_replace(item *it, item *new_it, const uint32_t hv, const uint64_t cas) { in do_item_replace() argument 586 ITEM_key(new_it), new_it->nkey, new_it->nbytes); in do_item_replace() 590 return do_item_link(new_it, hv, cas); in do_item_replace()
|
| D | proto_text.c | 1683 item *new_it = item_alloc(key, nkey, of.client_flags, of.exptime, 2); in process_mdelete_command() local 1684 if (new_it != NULL) { in process_mdelete_command() 1685 memcpy(ITEM_data(new_it), "\r\n", 2); in process_mdelete_command() 1686 if (do_store_item(new_it, NREAD_SET, c->thread, hv, NULL, NULL, in process_mdelete_command() 1689 it = new_it; in process_mdelete_command() 1691 do_item_remove(new_it); in process_mdelete_command()
|
| D | thread.c | 927 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()
|
| D | memcached.h | 1012 int item_replace(item *it, item *new_it, const uint32_t hv, const uint64_t cas_in);
|