Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 7 of 7) sorted by relevance

/memcached-1.6.32/
Dslabs.c168 item *it = (item *)chunk; in slabs_fixup()
462 if (chunk->next) { in do_slabs_free_chunked()
463 chunk = chunk->next; in do_slabs_free_chunked()
464 chunk->prev = 0; in do_slabs_free_chunked()
467 chunk = NULL; in do_slabs_free_chunked()
479 while (chunk) { in do_slabs_free_chunked()
485 chunk->prev = 0; in do_slabs_free_chunked()
486 chunk->next = p->slots; in do_slabs_free_chunked()
487 if (chunk->next) chunk->next->prev = chunk; in do_slabs_free_chunked()
488 p->slots = chunk; in do_slabs_free_chunked()
[all …]
Dslabs.h70 unsigned int slabs_fixup(char *chunk, const int border);
Dstorage.c297 item_chunk *chunk = (item_chunk *) ITEM_schunk(new_it); in storage_get_item() local
315 chunk = do_item_alloc_chunk(chunk, remain); in storage_get_item()
317 if (chunk == NULL || ciovcnt > IOV_MAX-1) { in storage_get_item()
325 eio->iov[ciovcnt].iov_base = chunk->data; in storage_get_item()
326 eio->iov[ciovcnt].iov_len = (remain < chunk->size) ? remain : chunk->size; in storage_get_item()
327 chunk->used = (remain < chunk->size) ? remain : chunk->size; in storage_get_item()
328 remain -= chunk->size; in storage_get_item()
Ditems.c341 item_chunk *chunk = (item_chunk *) ITEM_schunk(it); in do_item_alloc() local
343 chunk->next = 0; in do_item_alloc()
344 chunk->prev = 0; in do_item_alloc()
345 chunk->used = 0; in do_item_alloc()
346 chunk->size = 0; in do_item_alloc()
347 chunk->head = it; in do_item_alloc()
348 chunk->orig_clsid = hdr_id; in do_item_alloc()
DChangeLog136 * Fix chunk slab alignment ([email protected])
220 introduction of the powers-of-N chunk size change.
/memcached-1.6.32/doc/
Dstorage.txt51 For higher TTL items, pages are stored on chunk barriers. This means less
56 then chunk and look up objects. Then read next 1MB chunk/etc. If there's
Dprotocol.txt269 - <data block> is a chunk of arbitrary 8-bit data of length <bytes>
705 - <data block> is a chunk of arbitrary 8-bit data of length supplied by an 'S'
1432 | | | mover clears memory from the chunk |
1685 | chunk_size | The amount of space each chunk uses. One item will use |
1686 | | one chunk of the appropriate size. |