Searched refs:DLM_HASH_PAGES (Results 1 – 2 of 2) sorted by relevance
27 # define DLM_HASH_PAGES 1 macro29 # define DLM_HASH_PAGES (DLM_HASH_SIZE_DEFAULT / PAGE_SIZE) macro32 #define DLM_HASH_BUCKETS (DLM_HASH_PAGES * DLM_BUCKETS_PER_PAGE)177 return dlm->lockres_hash[(i / DLM_BUCKETS_PER_PAGE) % DLM_HASH_PAGES] + (i % DLM_BUCKETS_PER_PAGE); in dlm_lockres_hash()183 return dlm->master_hash[(i / DLM_BUCKETS_PER_PAGE) % DLM_HASH_PAGES] + in dlm_master_hash()
85 pages, (unsigned long)DLM_HASH_PAGES, in dlm_alloc_pagevec()297 dlm_free_pagevec((void **)dlm->lockres_hash, DLM_HASH_PAGES); in dlm_free_ctxt_mem()300 dlm_free_pagevec((void **)dlm->master_hash, DLM_HASH_PAGES); in dlm_free_ctxt_mem()1969 dlm->lockres_hash = (struct hlist_head **)dlm_alloc_pagevec(DLM_HASH_PAGES); in dlm_alloc_ctxt()1980 dlm_alloc_pagevec(DLM_HASH_PAGES); in dlm_alloc_ctxt()2060 DLM_HASH_PAGES); in dlm_alloc_ctxt()2064 DLM_HASH_PAGES); in dlm_alloc_ctxt()