Lines Matching defs:nddv
1116 struct sdev_node *nddv, struct sdev_node **ndvp, char *nnm,
1125 int samedir = (oddv == nddv) ? 1 : 0;
1138 rw_enter(&nddv->sdev_contents, RW_WRITER);
1149 if (doingdir && (odv == nddv)) {
1159 if (doingdir && (oddv != nddv)) {
1160 error = sdev_checkpath(odv, nddv, cred);
1180 ASSERT(nddv->sdev_attrvp);
1181 error = VOP_REMOVE(nddv->sdev_attrvp,
1235 sdev_dirdelete(nddv, *ndvp);
1237 ASSERT(nddv->sdev_attrvp);
1238 error = VOP_RMDIR(nddv->sdev_attrvp, nnm,
1239 nddv->sdev_attrvp, cred, NULL, 0);
1257 sdev_dirdelete(nddv, *ndvp);
1260 ASSERT(nddv->sdev_attrvp);
1261 error = VOP_REMOVE(nddv->sdev_attrvp,
1272 ASSERT(RW_WRITE_HELD(&nddv->sdev_contents));
1273 error = sdev_mknode(nddv, nnm, ndvp, &vattr,
1311 if (nddv->sdev_attrvp) {
1312 sdev_update_timestamps(nddv->sdev_attrvp, kcred,
1315 ASSERT(nddv->sdev_attr);
1317 nddv->sdev_attr->va_mtime = now;
1318 nddv->sdev_attr->va_atime = now;
1320 rw_exit(&nddv->sdev_contents);
1333 rw_exit(&nddv->sdev_contents);