Lines Matching refs:bucket
350 uint32_t bucket = r->res_bucket; in put_rsb() local
352 spin_lock(&ls->ls_rsbtbl[bucket].lock); in put_rsb()
354 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in put_rsb()
5486 static struct dlm_rsb *find_grant_rsb(struct dlm_ls *ls, int bucket) in find_grant_rsb() argument
5491 spin_lock(&ls->ls_rsbtbl[bucket].lock); in find_grant_rsb()
5492 for (n = rb_first(&ls->ls_rsbtbl[bucket].keep); n; n = rb_next(n)) { in find_grant_rsb()
5502 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in find_grant_rsb()
5505 spin_unlock(&ls->ls_rsbtbl[bucket].lock); in find_grant_rsb()
5529 int bucket = 0; in dlm_recover_grant() local
5535 r = find_grant_rsb(ls, bucket); in dlm_recover_grant()
5537 if (bucket == ls->ls_rsbtbl_size - 1) in dlm_recover_grant()
5539 bucket++; in dlm_recover_grant()