Lines Matching defs:new_lop

2556 nfscl_insertlock(struct nfscllockowner *lp, struct nfscllock *new_lop,
2561 LIST_INSERT_HEAD(&lp->nfsl_lock, new_lop, nfslo_list);
2563 LIST_INSERT_AFTER(insert_lop, new_lop, nfslo_list);
2574 * It always adds new_lop to the list and sometimes uses the one pointed
2582 struct nfscllock *new_lop = *new_lopp;
2591 if (new_lop->nfslo_type == F_UNLCK)
2600 if (lop->nfslo_end >= new_lop->nfslo_first) {
2601 if (new_lop->nfslo_end < lop->nfslo_first) {
2609 if (new_lop->nfslo_type == lop->nfslo_type ||
2610 (new_lop->nfslo_first <= lop->nfslo_first &&
2611 new_lop->nfslo_end >= lop->nfslo_end)) {
2619 if (new_lop->nfslo_type != lop->nfslo_type ||
2620 new_lop->nfslo_first != lop->nfslo_first ||
2621 new_lop->nfslo_end != lop->nfslo_end)
2623 if (lop->nfslo_first < new_lop->nfslo_first)
2624 new_lop->nfslo_first = lop->nfslo_first;
2625 if (lop->nfslo_end > new_lop->nfslo_end)
2626 new_lop->nfslo_end = lop->nfslo_end;
2637 if (new_lop->nfslo_first <= lop->nfslo_first) {
2645 if (lop->nfslo_first != new_lop->nfslo_end) {
2646 lop->nfslo_first = new_lop->nfslo_end;
2651 if (new_lop->nfslo_end >= lop->nfslo_end) {
2660 if (lop->nfslo_end != new_lop->nfslo_first) {
2661 lop->nfslo_end = new_lop->nfslo_first;
2673 * For unlock, we use new_lop as other_lop and tmp, since
2674 * other_lop and new_lop are the same for this case.
2676 * new_lop->nfslo_type any longer.
2678 tmp = new_lop->nfslo_first;
2680 other_lop = new_lop;
2686 other_lop->nfslo_first = new_lop->nfslo_end;
2705 nfscl_insertlock(lp, new_lop, ilop, local);