Lines Matching refs:ddp

175 load_public_module(dsvc_datastore_t *ddp, void **instance, dsvc_splapi_t *api)
182 DSVC_MODULE_DIR, DSVC_PUBLIC_PREFIX, ddp->d_resource);
184 if (ddp->d_conver != DSVC_CUR_CONVER)
186 ddp->d_conver);
205 if (configure(ddp->d_config) != DSVC_SUCCESS) {
223 if (ddp->d_conver == DSVC_CUR_CONVER) {
225 error = get_conver(ddp->d_resource, &ddp->d_conver);
304 status_dd(dsvc_datastore_t *ddp)
310 error = load_public_module(ddp, &instance, &api);
314 error = api.status(ddp->d_location);
326 mklocation_dd(dsvc_datastore_t *ddp)
332 error = load_public_module(ddp, &instance, &api);
336 error = api.mklocation(ddp->d_location);
348 list_dd(dsvc_datastore_t *ddp, dsvc_contype_t type, char ***listppp,
355 error = load_public_module(ddp, &instance, &api);
360 error = api.list_dt(ddp->d_location, listppp, count);
362 error = api.list_dn(ddp->d_location, listppp, count);
371 * specific datastore referenced by ddp, and returns a handle to this
378 open_dd(dsvc_handle_t *handp, dsvc_datastore_t *ddp, dsvc_contype_t type,
404 error = load_public_module(ddp, &hp->d_instance, &hp->d_api);
411 hp->d_desc.d_conver = ddp->d_conver;
412 hp->d_desc.d_resource = strdup(ddp->d_resource);
413 hp->d_desc.d_location = strdup(ddp->d_location);
427 error = hp->d_api.open_dt(&hp->d_hand, ddp->d_location, flags);
429 error = hp->d_api.open_dn(&hp->d_hand, ddp->d_location, flags,
450 * referenced by ddp. Caller is responsible for freeing any dynamically
454 remove_dd(dsvc_datastore_t *ddp, dsvc_contype_t type, const char *name)
468 error = load_public_module(ddp, &instance, &api);
474 error = api.remove_dt(ddp->d_location);
476 error = api.remove_dn(ddp->d_location, &ip, &mask);
775 module_synchtype(dsvc_datastore_t *ddp, dsvc_synchtype_t *synchtypep)
781 if (load_public_module(ddp, &instance, &api) != DSVC_SUCCESS)