Lines Matching defs:path
201 set_create_error(topo_hdl_t *thp, topo_mod_t *mod, const char *path, int err)
203 if (path != NULL)
205 "%s\n", path, topo_strerror(err));
219 topo_mod_create(topo_hdl_t *thp, const char *name, const char *path,
225 return (set_create_error(thp, NULL, path, ETOPO_MOD_LOADED));
228 return (set_create_error(thp, mod, path, ETOPO_NOMEM));
235 if (path != NULL)
236 mod->tm_path = topo_hdl_strdup(thp, path);
239 return (set_create_error(thp, mod, path, ETOPO_NOMEM));
248 return (set_create_error(thp, mod, path, mod->tm_errno));
309 topo_modhash_load(topo_hdl_t *thp, const char *name, const char *path,
318 if ((mod = topo_mod_create(thp, name, path, ops, version)) == NULL) {