Lines Matching refs:ndp

1808 	struct nameidata *ndp = cnp->cn_ndp;
1810 if (ndp == NULL) {
1829 /* From lookup(): || *ndp->ni_next == '/') No need for this, we know we're NULL-terminated here */
1833 if (ndp->ni_flag & NAMEI_TRAILINGSLASH) {
1841 ndp->ni_flag |= NAMEI_CONTLOOKUP;
3082 VNOP_COMPOUND_OPEN(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, int32_t flags, int32_t fmode, uint32_t *statusp, struct vnode_attr *vap, vfs_context_t ctx)
3089 struct componentname *cnp = &ndp->ni_cnd;
3136 lookup_compound_vnop_post_hook(_err, dvp, *vpp, ndp, did_create);
4246 VNOP_COMPOUND_REMOVE(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, int32_t flags, struct vnode_attr *vap, vfs_context_t ctx)
4255 a.a_cnp = &ndp->ni_cnd;
4269 xattrfile_remove(dvp, ndp->ni_cnd.cn_nameptr, ctx, 1);
4277 lookup_compound_vnop_post_hook(_err, dvp, *vpp, ndp, 0);
4849 vn_mkdir(struct vnode *dvp, struct vnode **vpp, struct nameidata *ndp,
4852 if (ndp->ni_cnd.cn_nameiop != CREATE) {
4857 return VNOP_COMPOUND_MKDIR(dvp, vpp, ndp, vap, ctx);
4859 return VNOP_MKDIR(dvp, vpp, &ndp->ni_cnd, vap, ctx);
4926 VNOP_COMPOUND_MKDIR(struct vnode *dvp, struct vnode **vpp, struct nameidata *ndp,
4935 a.a_cnp = &ndp->ni_cnd;
4949 xattrfile_remove(dvp, ndp->ni_cnd.cn_nameptr, ctx, 0);
4954 lookup_compound_vnop_post_hook(_err, dvp, *vpp, ndp, (_err == 0));
4964 vn_rmdir(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, struct vnode_attr *vap, vfs_context_t ctx)
4967 return VNOP_COMPOUND_RMDIR(dvp, vpp, ndp, vap, ctx);
4975 return VNOP_RMDIR(dvp, *vpp, &ndp->ni_cnd, ctx);
5047 VNOP_COMPOUND_RMDIR(struct vnode *dvp, struct vnode **vpp, struct nameidata *ndp,
5057 a.a_cnp = &ndp->ni_cnd;
5071 xattrfile_remove(dvp, ndp->ni_cnd.cn_nameptr, ctx, 0);
5080 lookup_compound_vnop_post_hook(_err, dvp, *vpp, ndp, 0);
5906 vn_remove(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, int32_t flags, struct vnode_attr *vap, vfs_context_t ctx)
5909 return VNOP_COMPOUND_REMOVE(dvp, vpp, ndp, flags, vap, ctx);
5911 return VNOP_REMOVE(dvp, *vpp, &ndp->ni_cnd, flags, ctx);