Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/staging/zcache/
Dtmem.h154 #define OBJNODE_TREE_MAP_SHIFT 6 macro
155 #define OBJNODE_TREE_MAP_SIZE (1UL << OBJNODE_TREE_MAP_SHIFT)
159 (OBJNODE_TREE_INDEX_BITS/OBJNODE_TREE_MAP_SHIFT + 2)
Dtmem.c227 tmp = ht * OBJNODE_TREE_MAP_SHIFT; in tmem_objnode_tree_init()
295 shift = (height-1) * OBJNODE_TREE_MAP_SHIFT; in __tmem_pampd_lookup_in_obj()
303 shift -= OBJNODE_TREE_MAP_SHIFT; in __tmem_pampd_lookup_in_obj()
367 shift = (height-1) * OBJNODE_TREE_MAP_SHIFT; in tmem_pampd_add_to_obj()
387 shift -= OBJNODE_TREE_MAP_SHIFT; in tmem_pampd_add_to_obj()
421 shift = (height - 1) * OBJNODE_TREE_MAP_SHIFT; in tmem_pampd_delete_from_obj()
431 shift -= OBJNODE_TREE_MAP_SHIFT; in tmem_pampd_delete_from_obj()
/linux-3.4.99/drivers/staging/ramster/
Dtmem.h182 #define OBJNODE_TREE_MAP_SHIFT 6 macro
183 #define OBJNODE_TREE_MAP_SIZE (1UL << OBJNODE_TREE_MAP_SHIFT)
187 (OBJNODE_TREE_INDEX_BITS/OBJNODE_TREE_MAP_SHIFT + 2)
Dtmem.c228 tmp = ht * OBJNODE_TREE_MAP_SHIFT; in tmem_objnode_tree_init()
296 shift = (height-1) * OBJNODE_TREE_MAP_SHIFT; in __tmem_pampd_lookup_in_obj()
304 shift -= OBJNODE_TREE_MAP_SHIFT; in __tmem_pampd_lookup_in_obj()
370 shift = (height-1) * OBJNODE_TREE_MAP_SHIFT; in tmem_pampd_add_to_obj()
390 shift -= OBJNODE_TREE_MAP_SHIFT; in tmem_pampd_add_to_obj()
424 shift = (height - 1) * OBJNODE_TREE_MAP_SHIFT; in tmem_pampd_delete_from_obj()
434 shift -= OBJNODE_TREE_MAP_SHIFT; in tmem_pampd_delete_from_obj()