Lines Matching defs:dnp
64 smbfs_getino(struct smbnode *dnp, const char *name, int nmlen)
77 return dnp->n_ino + ino;
81 ino = dnp->n_ino + smbfs_hash(name, nmlen);
751 smbfs_smb_create(struct smbnode *dnp, const char *name, int nmlen,
755 struct smb_share *ssp = dnp->n_mount->sm_share;
776 error = smbfs_fullpath(mbp, SSTOVC(ssp), dnp, name, nmlen);
891 smbfs_smb_mkdir(struct smbnode *dnp, const char *name, int len,
895 struct smb_share *ssp = dnp->n_mount->sm_share;
908 error = smbfs_fullpath(mbp, SSTOVC(ssp), dnp, name, len);
1019 smbfs_findopenLM1(struct smbfs_fctx *ctx, struct smbnode *dnp,
1223 smbfs_findopenLM2(struct smbfs_fctx *ctx, struct smbnode *dnp,
1368 smbfs_findopen(struct smbnode *dnp, const char *wildcard, int wclen, int attr,
1375 ctx->f_ssp = dnp->n_mount->sm_share;
1376 ctx->f_dnp = dnp;
1380 (dnp->n_mount->sm_flags & SMBFS_MOUNT_NO_LONG)) {
1382 error = smbfs_findopenLM1(ctx, dnp, wildcard, wclen, attr, scred);
1384 error = smbfs_findopenLM2(ctx, dnp, wildcard, wclen, attr, scred);
1443 smbfs_smb_lookup(struct smbnode *dnp, const char *name, int nmlen,
1449 if (dnp == NULL || (dnp->n_ino == 2 && name == NULL)) {
1457 ASSERT_VOP_ELOCKED(dnp->n_vnode, "smbfs_smb_lookup");
1458 error = smbfs_findopen(dnp, name, nmlen,
1467 fap->fa_ino = dnp->n_ino;