Lines Matching defs:dhp
57 dt_handle_t *dhp;
62 dhp = malloc(sizeof (dt_handle_t));
63 if (dhp == NULL)
66 dhp->dh_oflags = flags;
67 (void) strlcpy(dhp->dh_location, location, MAXPATHLEN);
74 dt2path(dtpath, MAXPATHLEN, dhp->dh_location, "");
77 free(dhp);
82 *handlep = dhp;
254 dt_handle_t *dhp = (dt_handle_t *)handle;
256 if ((dhp->dh_oflags & DSVC_READ) == 0)
259 dt2path(dtpath, MAXPATHLEN, dhp->dh_location, "");
278 update_dt(const dt_handle_t *dhp, const dt_rec_t *origp, dt_rec_t *newp)
290 if ((dhp->dh_oflags & DSVC_WRITE) == 0)
298 dt2path(dtpath, MAXPATHLEN, dhp->dh_location, "");
303 dt2path(newpath, MAXPATHLEN, dhp->dh_location, ".new");