Lines Matching refs:locks
5373 BUG_ON(!path->locks[level]);
5386 if (path->locks[level] && !wc->keep_locks) {
5388 path->locks[level] = 0;
5395 BUG_ON(!path->locks[level]);
5410 if (path->locks[level] && level > 0) {
5412 path->locks[level] = 0;
5522 path->locks[level] = 1;
5589 if (!path->locks[level]) {
5593 path->locks[level] = 1;
5603 path->locks[level] = 0;
5610 BUG_ON(wc->refs[level] > 1 && !path->locks[level]);
5621 if (!path->locks[level] &&
5625 path->locks[level] = 1;
5703 if (path->locks[level]) {
5705 path->locks[level] = 0;
5754 path->locks[level] = 1;
5913 path->locks[level] = 1;