Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_compression.c471 unsigned long num_cache_pages = DELTA_CACHE_SIZE/XC_PAGE_SIZE; in xc_compression_create_context() local
512 ctx->cache = malloc(num_cache_pages * sizeof(struct cache_page)); in xc_compression_create_context()
519 for (i = 0; i < num_cache_pages; i++) in xc_compression_create_context()
524 ctx->cache[i].next = ((i+1) == num_cache_pages)? NULL : in xc_compression_create_context()
528 ctx->page_list_tail = &(ctx->cache[num_cache_pages -1]); in xc_compression_create_context()

Completed in 2 milliseconds