Lines Matching refs:ls_rsbtbl
498 ls->ls_rsbtbl = vmalloc(array_size(size, sizeof(struct dlm_rsbtable))); in new_lockspace()
499 if (!ls->ls_rsbtbl) in new_lockspace()
502 ls->ls_rsbtbl[i].keep.rb_node = NULL; in new_lockspace()
503 ls->ls_rsbtbl[i].toss.rb_node = NULL; in new_lockspace()
504 spin_lock_init(&ls->ls_rsbtbl[i].lock); in new_lockspace()
668 vfree(ls->ls_rsbtbl); in new_lockspace()
837 while ((n = rb_first(&ls->ls_rsbtbl[i].keep))) { in release_lockspace()
839 rb_erase(n, &ls->ls_rsbtbl[i].keep); in release_lockspace()
843 while ((n = rb_first(&ls->ls_rsbtbl[i].toss))) { in release_lockspace()
845 rb_erase(n, &ls->ls_rsbtbl[i].toss); in release_lockspace()
850 vfree(ls->ls_rsbtbl); in release_lockspace()