| 3014 | } |
| 3015 | |
| 3016 | static struct namecache * |
| 3017 | vn_dd_from_dst(struct vnode *vp) |
| 3018 | { |
| 3019 | struct namecache *ncp; |
| 3020 | |
| 3021 | cache_assert_vnode_locked(vp); |
| 3022 | TAILQ_FOREACH(ncp, &vp->v_cache_dst, nc_dst) { |
| 3023 | if ((ncp->nc_flag & NCF_ISDOTDOT) == 0) |
| 3024 | return (ncp); |
| 3025 | } |
| 3026 | return (NULL); |
| 3027 | } |
| 3028 | |
| 3029 | int |
| 3030 | vn_vptocnp(struct vnode **vp, char *buf, size_t *buflen) |
no test coverage detected