Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/md/
Ddm-cache-policy-cleaner.c52 struct wb_cache_entry *cblocks; member
101 p->cblocks = vzalloc(sizeof(*p->cblocks) * from_cblock(cache_size)); in alloc_cache_blocks_with_hash()
102 if (p->cblocks) { in alloc_cache_blocks_with_hash()
106 list_add(&p->cblocks[u].list, &p->free); in alloc_cache_blocks_with_hash()
113 vfree(p->cblocks); in alloc_cache_blocks_with_hash()
122 vfree(p->cblocks); in free_cache_blocks_and_hash()
Ddm-cache-target.c211 struct cblock_range *cblocks; member
2110 uint64_t begin = from_cblock(req->cblocks->begin); in process_invalidation_request()
2111 uint64_t end = from_cblock(req->cblocks->end); in process_invalidation_request()
3699 req.cblocks = range; in request_invalidation()