Lines Matching defs:dhp
57 dt_handle_t *dhp;
66 dhp = malloc(sizeof (dt_handle_t));
67 if (dhp == NULL)
70 dhp->dh_oflags = flags;
71 (void) strlcpy(dhp->dh_location, location, MAXPATHLEN);
76 free(dhp);
83 free(dhp);
95 (void) free(dhp);
110 free(dhp);
116 *handlep = dhp;
289 dt_handle_t *dhp = (dt_handle_t *)handle;
291 if ((dhp->dh_oflags & DSVC_READ) == 0)
294 dt2path(dtpath, MAXPATHLEN, dhp->dh_location, "");
313 update_dt(const dt_handle_t *dhp, const dt_rec_t *origp, dt_rec_t *newp)
325 if ((dhp->dh_oflags & DSVC_WRITE) == 0)
333 dt2path(dtpath, MAXPATHLEN, dhp->dh_location, "");
338 dt2path(newpath, MAXPATHLEN, dhp->dh_location, ".new");