Searched refs:DLM_HASH_PAGES (Results 1 – 2 of 2) sorted by relevance
42 # define DLM_HASH_PAGES 1 macro44 # define DLM_HASH_PAGES (DLM_HASH_SIZE_DEFAULT / PAGE_SIZE) macro47 #define DLM_HASH_BUCKETS (DLM_HASH_PAGES * DLM_BUCKETS_PER_PAGE)195 return dlm->lockres_hash[(i / DLM_BUCKETS_PER_PAGE) % DLM_HASH_PAGES] + (i % DLM_BUCKETS_PER_PAGE); in dlm_lockres_hash()
102 pages, (unsigned long)DLM_HASH_PAGES, in dlm_alloc_pagevec()305 dlm_free_pagevec((void **)dlm->lockres_hash, DLM_HASH_PAGES); in dlm_free_ctxt_mem()1525 dlm->lockres_hash = (struct hlist_head **)dlm_alloc_pagevec(DLM_HASH_PAGES); in dlm_alloc_ctxt()1543 dlm_free_pagevec((void **)dlm->lockres_hash, DLM_HASH_PAGES); in dlm_alloc_ctxt()