Lines Matching defs:path
65 MALLOC_DEFINE(M_UNIONFSPATH, "UNIONFS path", "UNIONFS path private part");
87 unionfs_get_hashhead(struct vnode *dvp, char *path)
95 if (path != NULL) {
96 for (count = 0; path[count]; count++)
97 hash += path[count];
108 struct vnode *dvp, char *path)
120 hd = unionfs_get_hashhead(dvp, path);
122 if (!strcmp(unp->un_path, path)) {
145 struct vnode *dvp, char *path)
157 hd = unionfs_get_hashhead(dvp, path);
159 if (!strcmp(unp->un_path, path)) {
218 char *path;
222 path = (cnp ? cnp->cn_nameptr : NULL);
230 /* If it has no ISLASTCN flag, path check is skipped. */
232 path = NULL;
235 if (path != NULL && dvp != NULLVP && vt == VDIR) {
236 vp = unionfs_get_cached_vnode(uppervp, lowervp, dvp, path);
283 if (path != NULL) {
296 if (path != NULL && dvp != NULLVP && vt == VDIR)
297 *vpp = unionfs_ins_cached_vnode(unp, dvp, path);
517 struct thread *td, char *path, int pathlen, u_long nameiop)
523 bcopy(path, cn->cn_pnbuf, pathlen);
834 struct thread *td, char *path)
841 if (path == NULL)
842 path = cnp->cn_nameptr;
845 if ((error = unionfs_relookup(dvp, &wvp, cnp, &cn, td, path, strlen(path), CREATE)))