Lines Matching refs:res_ref
338 kref_get(&r->res_ref); in hold_rsb()
355 kref_put(&r->res_ref, toss_rsb); in put_rsb()
604 kref_get(&r->res_ref); in find_rsb_dir()
674 kref_init(&r->res_ref); in find_rsb_dir()
749 kref_get(&r->res_ref); in find_rsb_nodir()
808 kref_init(&r->res_ref); in find_rsb_nodir()
1065 kref_init(&r->res_ref); in dlm_master_lookup()
1127 struct dlm_rsb *r = container_of(kref, struct dlm_rsb, res_ref); in toss_rsb()
1131 kref_init(&r->res_ref); in toss_rsb()
1147 rv = kref_put(&r->res_ref, toss_rsb); in unhold_rsb()
1153 struct dlm_rsb *r = container_of(kref, struct dlm_rsb, res_ref); in kill_rsb()
1711 if (!kref_put(&r->res_ref, kill_rsb)) { in shrink_bucket()
1777 if (!kref_put(&r->res_ref, kill_rsb)) { in shrink_bucket()
4477 if (kref_put(&r->res_ref, kill_rsb)) { in receive_remove()