Lines Matching defs:vq
2030 struct vnode *vq;
2055 for (vq = *vp->v_hashchain; vq; vq = vq->v_specnext) {
2056 if (vq->v_rdev != vp->v_rdev ||
2057 vq->v_type != vp->v_type || vp == vq)
2059 vid = vq->v_id;
2061 if (vnode_getwithvid(vq,vid)){
2065 vnode_reclaim_internal(vq, 0, 1, 0);
2066 vnode_put(vq);
2122 struct vnode *vq;
2141 for (vq = *vp->v_hashchain; vq; vq = vq->v_specnext) {
2142 if (vq->v_specnext != vp)
2144 vq->v_specnext = vp->v_specnext;
2147 if (vq == NULL)
2152 for (vq = *vp->v_hashchain; vq; vq = vq->v_specnext) {
2153 if (vq->v_rdev != vp->v_rdev ||
2154 vq->v_type != vp->v_type)
2158 vx = vq;
2162 if (vq == NULL)
2214 vnode_t vq, vnext;
2227 vq = *vp->v_hashchain;
2228 vid = vq ? vq->v_id : 0;
2232 while (vq) {
2236 if (vnode_getwithvid(vq, vid)) {
2239 vnode_lock(vq);
2241 if (vq->v_rdev == vp->v_rdev && vq->v_type == vp->v_type) {
2242 if ((vq->v_usecount == 0) && (vq->v_iocount == 1) && vq != vp) {
2246 vnode_reclaim_internal(vq, 1, 1, 0);
2247 vnode_put_locked(vq);
2248 vnode_unlock(vq);
2251 count += (vq->v_usecount - vq->v_kusecount);
2253 vnode_unlock(vq);
2257 * must do this with the reference still held on 'vq'
2261 vnext = vq->v_specnext;
2266 vnode_put(vq);
2268 vq = vnext;
2586 struct vnode *vq;
2595 for (vq = *vp->v_hashchain; vq; vq = vq->v_specnext) {
2596 if (vq->v_rdev != vp->v_rdev ||
2597 vq->v_type != vp->v_type)
2599 if (vq->v_specflags & SI_MOUNTEDON) {