Lines Matching defs:cp1
2077 hfs_lockpair(struct cnode *cp1, struct cnode *cp2, enum hfs_locktype locktype)
2085 if (cp1 == cp2) {
2086 return hfs_lock(cp1, locktype, HFS_LOCK_DEFAULT);
2092 if (cp1 < cp2) {
2093 first = cp1;
2097 last = cp1;
2114 hfs_isordered(struct cnode *cp1, struct cnode *cp2)
2116 if (cp1 == cp2)
2118 if (cp1 == NULL || cp2 == (struct cnode *)0xffffffff)
2120 if (cp2 == NULL || cp1 == (struct cnode *)0xffffffff)
2125 return (cp1 < cp2);
2136 hfs_lockfour(struct cnode *cp1, struct cnode *cp2, struct cnode *cp3,
2149 if (hfs_isordered(cp1, cp2)) {
2150 a[0] = cp1; a[1] = cp2;
2152 a[0] = cp2; a[1] = cp1;
2283 hfs_unlockpair(struct cnode *cp1, struct cnode *cp2)
2285 hfs_unlock(cp1);
2286 if (cp2 != cp1)
2294 hfs_unlockfour(struct cnode *cp1, struct cnode *cp2, struct cnode *cp3, struct cnode *cp4)
2299 if (cp1) {
2300 hfs_unlock(cp1);
2301 list[k++] = cp1;