Lines Matching defs:cp2
1821 hfs_lockpair(struct cnode *cp1, struct cnode *cp2, enum hfslocktype locktype)
1829 if (cp1 == cp2) {
1836 if (cp1 < cp2) {
1838 last = cp2;
1840 first = cp2;
1858 hfs_isordered(struct cnode *cp1, struct cnode *cp2)
1860 if (cp1 == cp2)
1862 if (cp1 == NULL || cp2 == (struct cnode *)0xffffffff)
1864 if (cp2 == NULL || cp1 == (struct cnode *)0xffffffff)
1869 return (cp1 < cp2);
1880 hfs_lockfour(struct cnode *cp1, struct cnode *cp2, struct cnode *cp3,
1893 if (hfs_isordered(cp1, cp2)) {
1894 a[0] = cp1; a[1] = cp2;
1896 a[0] = cp2; a[1] = cp1;
1995 hfs_unlockpair(struct cnode *cp1, struct cnode *cp2)
1998 if (cp2 != cp1)
1999 hfs_unlock(cp2);
2006 hfs_unlockfour(struct cnode *cp1, struct cnode *cp2, struct cnode *cp3, struct cnode *cp4)
2015 if (cp2) {
2017 if (list[i] == cp2)
2020 hfs_unlock(cp2);
2021 list[k++] = cp2;