Lines Matching refs:cp1
1982 hfs_lockpair(struct cnode *cp1, struct cnode *cp2, enum hfs_locktype locktype)
1990 if (cp1 == cp2) {
1991 return hfs_lock(cp1, locktype, HFS_LOCK_DEFAULT);
1997 if (cp1 < cp2) {
1998 first = cp1;
2002 last = cp1;
2019 hfs_isordered(struct cnode *cp1, struct cnode *cp2)
2021 if (cp1 == cp2)
2023 if (cp1 == NULL || cp2 == (struct cnode *)0xffffffff)
2025 if (cp2 == NULL || cp1 == (struct cnode *)0xffffffff)
2030 return (cp1 < cp2);
2041 hfs_lockfour(struct cnode *cp1, struct cnode *cp2, struct cnode *cp3,
2054 if (hfs_isordered(cp1, cp2)) {
2055 a[0] = cp1; a[1] = cp2;
2057 a[0] = cp2; a[1] = cp1;
2156 hfs_unlockpair(struct cnode *cp1, struct cnode *cp2)
2158 hfs_unlock(cp1);
2159 if (cp2 != cp1)
2167 hfs_unlockfour(struct cnode *cp1, struct cnode *cp2, struct cnode *cp3, struct cnode *cp4)
2172 if (cp1) {
2173 hfs_unlock(cp1);
2174 list[k++] = cp1;