Home
last modified time | relevance | path

Searched refs:lock2 (Results 1 – 2 of 2) sorted by relevance

/original-bsd/sys/ufs/ffs/
H A Dufs_lockf.c557 lf_split(lock1, lock2) in lf_split() argument
559 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 …]
/original-bsd/sys/ufs/ufs/
H A Dufs_lockf.c528 lf_split(lock1, lock2) in lf_split() argument
530 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 …]