Lines Matching refs:cp1
1821 hfs_lockpair(struct cnode *cp1, struct cnode *cp2, enum hfslocktype locktype)
1829 if (cp1 == cp2) {
1830 return hfs_lock(cp1, locktype);
1836 if (cp1 < cp2) {
1837 first = cp1;
1841 last = cp1;
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)
1997 hfs_unlock(cp1);
1998 if (cp2 != cp1)
2006 hfs_unlockfour(struct cnode *cp1, struct cnode *cp2, struct cnode *cp3, struct cnode *cp4)
2011 if (cp1) {
2012 hfs_unlock(cp1);
2013 list[k++] = cp1;