Searched refs:DLM_HASH_PAGES (Results 1 – 2 of 2) sorted by relevance
22 # define DLM_HASH_PAGES 1 macro24 # define DLM_HASH_PAGES (DLM_HASH_SIZE_DEFAULT / PAGE_SIZE) macro27 #define DLM_HASH_BUCKETS (DLM_HASH_PAGES * DLM_BUCKETS_PER_PAGE)172 return dlm->lockres_hash[(i / DLM_BUCKETS_PER_PAGE) % DLM_HASH_PAGES] + (i % DLM_BUCKETS_PER_PAGE); in dlm_lockres_hash()178 return dlm->master_hash[(i / DLM_BUCKETS_PER_PAGE) % DLM_HASH_PAGES] + in dlm_master_hash()
83 pages, (unsigned long)DLM_HASH_PAGES, in dlm_alloc_pagevec()295 dlm_free_pagevec((void **)dlm->lockres_hash, DLM_HASH_PAGES); in dlm_free_ctxt_mem()298 dlm_free_pagevec((void **)dlm->master_hash, DLM_HASH_PAGES); in dlm_free_ctxt_mem()1967 dlm->lockres_hash = (struct hlist_head **)dlm_alloc_pagevec(DLM_HASH_PAGES); in dlm_alloc_ctxt()1978 dlm_alloc_pagevec(DLM_HASH_PAGES); in dlm_alloc_ctxt()2058 DLM_HASH_PAGES); in dlm_alloc_ctxt()2062 DLM_HASH_PAGES); in dlm_alloc_ctxt()