Lines Matching refs:nm

618 sdev_lookup(struct vnode *dvp, char *nm, struct vnode **vpp,  in sdev_lookup()  argument
633 return (prof_lookup(dvp, nm, vpp, cred)); in sdev_lookup()
634 return (devname_lookup_func(parent, nm, vpp, cred, NULL, 0)); in sdev_lookup()
639 sdev_create(struct vnode *dvp, char *nm, struct vattr *vap, vcexcl_t excl, in sdev_create() argument
670 error = prof_lookup(dvp, nm, vpp, cred); in sdev_create()
706 error = VOP_LOOKUP(dvp, nm, &vp, NULL, 0, NULL, cred, ct, NULL, NULL); in sdev_create()
730 nm, vap, excl, mode, &avp, cred, flag, ct, vsecp); in sdev_create()
766 error = sdev_mknode(parent, nm, &self, vap, NULL, NULL, in sdev_create()
793 sdev_remove(struct vnode *dvp, char *nm, struct cred *cred, in sdev_remove() argument
804 len = strlen(nm); in sdev_remove()
805 if (nm[0] == '.') { in sdev_remove()
808 } else if (len == 2 && nm[1] == '.') { in sdev_remove()
827 dv = sdev_cache_lookup(parent, nm); in sdev_remove()
873 sdev_cache_update(parent, &dv, nm, SDEV_CACHE_DELETE); in sdev_remove()
882 error = VOP_REMOVE(parent->sdev_attrvp, nm, cred, in sdev_remove()
892 "disk %s\n", nm, parent->sdev_path)); in sdev_remove()
1232 sdev_mkdir(struct vnode *dvp, char *nm, struct vattr *va, struct vnode **vpp, in sdev_mkdir() argument
1250 return (prof_lookup(dvp, nm, vpp, cred)); in sdev_mkdir()
1261 error = VOP_LOOKUP(dvp, nm, &vp, NULL, 0, NULL, cred, ct, NULL, NULL); in sdev_mkdir()
1276 error = sdev_mknode(parent, nm, &self, in sdev_mkdir()
1307 sdev_rmdir(struct vnode *dvp, char *nm, struct vnode *cdir, struct cred *cred, in sdev_rmdir() argument
1316 if (strcmp(nm, ".") == 0) in sdev_rmdir()
1318 if (strcmp(nm, "..") == 0) in sdev_rmdir()
1336 self = sdev_cache_lookup(parent, nm); in sdev_rmdir()
1389 sdev_cache_update(parent, &self, nm, SDEV_CACHE_DELETE); in sdev_rmdir()
1397 error = VOP_RMDIR(parent->sdev_attrvp, nm, in sdev_rmdir()