Searched refs:lock2 (Results 1 – 2 of 2) sorted by relevance
557 lf_split(lock1, lock2) in lf_split() argument559 register struct lockf *lock2;566 lf_print("splitting from", lock2);573 lock1->lf_start = lock2->lf_end + 1;574 lock2->lf_next = lock1;577 if (lock1->lf_end == lock2->lf_end) {579 lock2->lf_next = lock1->lf_next;580 lock1->lf_next = lock2;591 lock1->lf_end = lock2->lf_start - 1;596 lock2->lf_next = splitlock;[all …]
528 lf_split(lock1, lock2) in lf_split() argument530 register struct lockf *lock2;537 lf_print("splitting from", lock2);544 lock1->lf_start = lock2->lf_end + 1;545 lock2->lf_next = lock1;548 if (lock1->lf_end == lock2->lf_end) {550 lock2->lf_next = lock1->lf_next;551 lock1->lf_next = lock2;562 lock1->lf_end = lock2->lf_start - 1;567 lock2->lf_next = splitlock;[all …]