Lines Matching refs:toss

503  * Searching for an rsb means looking through both the normal list and toss
504 * list. When found on the toss list the rsb is moved to the normal list with
508 * rsb's on the toss list are not being used locally, and are not refcounted.
510 * The toss list rsb's were either
512 * moved to toss list when last refcount dropped)
513 * - created and put on toss list as a directory record for a lookup
518 * So, if the given rsb is on the toss list, it is moved to the keep list
523 * toss list.
525 * rsb's on both keep and toss lists are used for doing a name to master
528 * only exist for name/master lookups are on the toss list.
530 * rsb's on the toss list who's dir_nodeid is not local can have stale
571 * from our toss list. (They sent a request instead of lookup
572 * because they are using an rsb from their toss list.)
602 error = dlm_search_rsb_tree(&ls->ls_rsbtbl[b].toss, name, len, &r);
609 * is using this rsb because it's on the toss list, so we can
616 log_debug(ls, "find_rsb toss from_other %d master %d dir %d %s",
625 log_error(ls, "find_rsb toss from_dir %d master %d",
642 rb_erase(&r->res_hashnode, &ls->ls_rsbtbl[b].toss);
746 error = dlm_search_rsb_tree(&ls->ls_rsbtbl[b].toss, name, len, &r);
752 * it's on the toss list, so we can look at or update
759 log_error(ls, "find_rsb toss from_nodeid %d master %d dir %d",
770 log_error(ls, "find_rsb toss our %d master %d dir %d",
777 rb_erase(&r->res_hashnode, &ls->ls_rsbtbl[b].toss);
902 /* I don't think we should ever find it on toss list. */
903 log_error(ls, "%s fix_master on toss", __func__);
1042 error = dlm_search_rsb_tree(&ls->ls_rsbtbl[b].toss, name, len, &r);
1046 /* because the rsb is inactive (on toss list), it's not refcounted
1054 /* the rsb was inactive (on toss list) */
1076 error = rsb_insert(r, &ls->ls_rsbtbl[b].toss);
1123 error = dlm_search_rsb_tree(&ls->ls_rsbtbl[b].toss, name, len, &r);
1140 rsb_insert(r, &ls->ls_rsbtbl[r->res_bucket].toss);
1593 for (n = rb_first(&ls->ls_rsbtbl[b].toss); n; n = next) {
1638 rb_erase(&r->res_hashnode, &ls->ls_rsbtbl[b].toss);
1651 * so there is a very small gap between removing them from the toss
1662 rv = dlm_search_rsb_tree(&ls->ls_rsbtbl[b].toss, name, len, &r);
1665 log_debug(ls, "remove_name not toss %s", name);
1700 rb_erase(&r->res_hashnode, &ls->ls_rsbtbl[b].toss);
4159 /* Look for name on rsbtbl.toss, if it's there, kill it.
4176 rv = dlm_search_rsb_tree(&ls->ls_rsbtbl[b].toss, name, len, &r);
4204 log_error(ls, "receive_remove toss from %d master %d",
4212 rb_erase(&r->res_hashnode, &ls->ls_rsbtbl[b].toss);