Lines Matching defs:lock_list
366 * lock_list
394 static SegLock *lock_list = NULL; /* in-use locks */
398 /* Routines to find a lock in lock_list based on offset or key */
457 if (lock_list != NULL) {
820 * search the lock_list list for the specified cookie
837 for (lp = lock_list; lp != NULL; lp = lp->next) {
849 * search the lock_list list for the specified non-zero key
861 for (lp = lock_list; lp != NULL; lp = lp->next) {
916 lp->next = lock_list;
917 lock_list = lp;
970 /* Remove lp from lock_list */
971 if (lock_list == lp) {
972 lock_list = lp->next;
974 SegLock *tmp = lock_list;
988 if (lock_list == NULL) {
1584 ASSERT(lock_list == NULL);
1612 for (lp = lock_list; lp != NULL; lp = lp->next) {
1640 for (lp = lock_list; lp != NULL; lp = lp->next) {