Lines Matching defs:pt
105 struct webdavnode *pt, *pt_found;
117 for (pt = nhp->lh_first; pt != NULL; pt = pt->pt_hash.le_next)
119 if ( (mp != pt->pt_mountp) || (pt->pt_fileid != fileid) )
123 if (ISSET(pt->pt_status, WEBDAV_INIT))
129 SET(pt->pt_status, WEBDAV_WAITINIT);
130 msleep(pt, webdav_node_hash_mutex, PINOD, "webdav_hashget", NULL);
134 vp = WEBDAVTOV(pt);
145 webdav_lock(pt, WEBDAV_EXCLUSIVE_LOCK);
146 pt->pt_lastvop = webdav_hashget;
147 pt_found = pt;
176 void webdav_hashins(pt)
177 struct webdavnode *pt;
181 LIST_INSERT_HEAD(WEBDAVNODEHASH(pt->pt_mountp, pt->pt_fileid), pt, pt_hash);
182 pt->pt_status |= WEBDAV_ONHASHLIST;
192 void webdav_hashrem(pt)
193 struct webdavnode *pt;
196 if (pt->pt_status & WEBDAV_ONHASHLIST)
198 LIST_REMOVE(pt, pt_hash);
199 pt->pt_status &= ~WEBDAV_ONHASHLIST;