Searched refs:ls_dirtbl (Results 1 – 3 of 3) sorted by relevance
135 list_add_tail(&de->list, &ls->ls_dirtbl[bucket].list); in add_entry_to_hash()143 list_for_each_entry(de, &ls->ls_dirtbl[bucket].list, list) { in search_bucket()159 write_lock(&ls->ls_dirtbl[bucket].lock); in dlm_dir_remove_entry()176 write_unlock(&ls->ls_dirtbl[bucket].lock); in dlm_dir_remove_entry()188 write_lock(&ls->ls_dirtbl[i].lock); in dlm_dir_clear()189 head = &ls->ls_dirtbl[i].list; in dlm_dir_clear()195 write_unlock(&ls->ls_dirtbl[i].lock); in dlm_dir_clear()310 write_lock(&ls->ls_dirtbl[bucket].lock); in get_entry()314 write_unlock(&ls->ls_dirtbl[bucket].lock); in get_entry()320 write_unlock(&ls->ls_dirtbl[bucket].lock); in get_entry()[all …]
485 ls->ls_dirtbl = kmalloc(sizeof(struct dlm_dirtable) * size, GFP_KERNEL); in new_lockspace()486 if (!ls->ls_dirtbl) in new_lockspace()489 INIT_LIST_HEAD(&ls->ls_dirtbl[i].list); in new_lockspace()490 rwlock_init(&ls->ls_dirtbl[i].lock); in new_lockspace()602 kfree(ls->ls_dirtbl); in new_lockspace()718 kfree(ls->ls_dirtbl); in release_lockspace()
458 struct dlm_dirtable *ls_dirtbl; member