Lines Matching defs:list

188 	printk(KERN_ERR "rsb lookup list\n");
337 the tossed list for later disposal. */
390 Otherwise, take an rsb off the list and return it. */
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
505 * ref count of 1; when found on normal list the ref count is incremented.
507 * rsb's on the keep list are being used locally and refcounted.
508 * rsb's on the toss list are not being used locally, and are not refcounted.
510 * The toss list rsb's were either
511 * - previously used locally but not any more (were on keep list, then
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
522 * more refcounts exist, so the rsb is moved from the keep list to the
523 * toss list.
527 * the keep list, rsb's that are not in use locally (not refcounted) and
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.)
609 * is using this rsb because it's on the toss list, so we can
752 * it's on the toss list, so we can look at or update
902 /* I don't think we should ever find it on toss list. */
943 * finds the rsb on the keep list and ignores the remove,
1046 /* because the rsb is inactive (on toss list), it's not refcounted
1054 /* the rsb was inactive (on toss list) */
1403 /* add/remove lkb from global waiters list of lkb's waiting for
1457 list as part of process_requestqueue (e.g. a lookup that has an optimized
1652 * list and sending the removal. Keeping this gap small is
2007 * list. We either cancel lkb's conversion (PR->EX) and return EDEADLK, or we
2474 causing the lookup is kept on the ls_waiters list waiting for the
2476 on the rsb's res_lookup list until the master is verified.
4178 /* verify the rsb is on keep list per comment above */
5131 struct list_head *list)
5135 list_for_each_entry_safe(lkb, safe, list, lkb_statequeue) {
5163 struct list_head *list,
5168 list_for_each_entry_safe(lkb, safe, list, lkb_statequeue) {
5208 list_for_each_entry(memb, &ls->ls_nodes_gone, list) {
5601 /* add this new lkb to the per-process list of locks */
5674 * If a matching lock exists, it's moved to the owner's list of locks and
5730 * The lkb reference from the ls_orphans list was not
5732 * for the proc locks list.
5782 /* dlm_user_add_cb() may have already taken lkb off the proc list */
5887 /* lkb's that are removed from the waiters list by revert are just left on the
5888 orphans list with the granted orphan locks, to be freed by purge */
5895 hold_lkb(lkb); /* reference for the ls_orphans list */
5957 list, and no more device_writes should add lkb's to proc->locks list; so we
5977 /* this removes the reference for the proc->locks list
6022 dlm_put_lkb(lkb); /* ref from proc->locks list */