Lines Matching defs:cp2
1063 hfs_lockpair(struct cnode *cp1, struct cnode *cp2, enum hfslocktype locktype)
1071 if (cp1 == cp2) {
1078 if (cp1 < cp2) {
1080 last = cp2;
1082 first = cp2;
1100 hfs_isordered(struct cnode *cp1, struct cnode *cp2)
1102 if (cp1 == cp2)
1104 if (cp1 == NULL || cp2 == (struct cnode *)0xffffffff)
1106 if (cp2 == NULL || cp1 == (struct cnode *)0xffffffff)
1111 return (cp1 < cp2);
1123 hfs_lockfour(struct cnode *cp1, struct cnode *cp2, struct cnode *cp3,
1133 if (hfs_isordered(cp1, cp2)) {
1134 a[0] = cp1; a[1] = cp2;
1136 a[0] = cp2; a[1] = cp1;
1233 hfs_unlockpair(struct cnode *cp1, struct cnode *cp2)
1236 if (cp2 != cp1)
1237 hfs_unlock(cp2);
1245 hfs_unlockfour(struct cnode *cp1, struct cnode *cp2, struct cnode *cp3, struct cnode *cp4)
1254 if (cp2) {
1256 if (list[i] == cp2)
1259 hfs_unlock(cp2);
1260 list[k++] = cp2;