Searched refs:ls_rsbtbl (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/fs/dlm/ |
D | debug_fs.c | 452 tree = toss ? &ls->ls_rsbtbl[bucket].toss : &ls->ls_rsbtbl[bucket].keep; in table_seq_start() 454 spin_lock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start() 462 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start() 467 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start() 484 tree = toss ? &ls->ls_rsbtbl[bucket].toss : &ls->ls_rsbtbl[bucket].keep; in table_seq_start() 486 spin_lock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start() 493 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start() 497 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_start() 518 spin_lock(&ls->ls_rsbtbl[bucket].lock); in table_seq_next() 526 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in table_seq_next() [all …]
|
D | lock.c | 358 &ls->ls_rsbtbl[bucket].lock); in put_rsb() 360 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in put_rsb() 599 spin_lock(&ls->ls_rsbtbl[b].lock); in find_rsb_dir() 601 error = dlm_search_rsb_tree(&ls->ls_rsbtbl[b].keep, name, len, &r); in find_rsb_dir() 614 error = dlm_search_rsb_tree(&ls->ls_rsbtbl[b].toss, name, len, &r); in find_rsb_dir() 654 rb_erase(&r->res_hashnode, &ls->ls_rsbtbl[b].toss); in find_rsb_dir() 655 error = rsb_insert(r, &ls->ls_rsbtbl[b].keep); in find_rsb_dir() 669 spin_unlock(&ls->ls_rsbtbl[b].lock); in find_rsb_dir() 716 error = rsb_insert(r, &ls->ls_rsbtbl[b].keep); in find_rsb_dir() 718 spin_unlock(&ls->ls_rsbtbl[b].lock); in find_rsb_dir() [all …]
|
D | lockspace.c | 518 ls->ls_rsbtbl = vmalloc(array_size(size, sizeof(struct dlm_rsbtable))); in new_lockspace() 519 if (!ls->ls_rsbtbl) in new_lockspace() 522 ls->ls_rsbtbl[i].keep.rb_node = NULL; in new_lockspace() 523 ls->ls_rsbtbl[i].toss.rb_node = NULL; in new_lockspace() 524 spin_lock_init(&ls->ls_rsbtbl[i].lock); in new_lockspace() 695 vfree(ls->ls_rsbtbl); in new_lockspace() 861 while ((n = rb_first(&ls->ls_rsbtbl[i].keep))) { in release_lockspace() 863 rb_erase(n, &ls->ls_rsbtbl[i].keep); in release_lockspace() 867 while ((n = rb_first(&ls->ls_rsbtbl[i].toss))) { in release_lockspace() 869 rb_erase(n, &ls->ls_rsbtbl[i].toss); in release_lockspace() [all …]
|
D | dir.c | 208 spin_lock(&ls->ls_rsbtbl[bucket].lock); in find_rsb_root() 209 rv = dlm_search_rsb_tree(&ls->ls_rsbtbl[bucket].keep, name, len, &r); in find_rsb_root() 211 rv = dlm_search_rsb_tree(&ls->ls_rsbtbl[bucket].toss, in find_rsb_root() 213 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in find_rsb_root()
|
D | recover.c | 906 spin_lock(&ls->ls_rsbtbl[i].lock); in dlm_create_root_list() 907 for (n = rb_first(&ls->ls_rsbtbl[i].keep); n; n = rb_next(n)) { in dlm_create_root_list() 913 if (!RB_EMPTY_ROOT(&ls->ls_rsbtbl[i].toss)) in dlm_create_root_list() 915 spin_unlock(&ls->ls_rsbtbl[i].lock); in dlm_create_root_list() 942 spin_lock(&ls->ls_rsbtbl[i].lock); in dlm_clear_toss() 943 for (n = rb_first(&ls->ls_rsbtbl[i].toss); n; n = next) { in dlm_clear_toss() 946 rb_erase(n, &ls->ls_rsbtbl[i].toss); in dlm_clear_toss() 950 spin_unlock(&ls->ls_rsbtbl[i].lock); in dlm_clear_toss()
|
D | dlm_internal.h | 576 struct dlm_rsbtable *ls_rsbtbl; member
|