Lines Matching defs:zpath
696 mk_alloc(devmap_t *list, uid_t uid, struct zone_path *zpath)
715 if (system_labeled && zpath->count && (error == 0)) {
720 for (i = 0; i < zpath->count; i++) {
721 dprintf("Allocating %s\n", zpath->path[i]);
722 if ((error = _newdac(zpath->path[i], uid, gid,
724 (void) _newdac(zpath->path[i], ALLOC_ERRID,
1162 struct zone_path zpath;
1164 zpath.count = 0;
1165 zpath.path = NULL;
1294 if (create_znode(zonename, &zpath, dm) != 0) {
1303 if ((error = mk_alloc(dm, uid, &zpath)) != 0) {
1318 if (zpath.count) {
1319 for (i = 0; i < zpath.count; i++)
1320 free(zpath.path[i]);
1321 free(zpath.path);
1694 create_znode(char *zonename, struct zone_path *zpath, devmap_t *list)
1766 if ((zpath->path = (char **)realloc(zpath->path,
1771 zpath->path[zpath->count] = strdup(zonepath);
1772 zpath->count = fcount;