Lines Matching defs:new_path
9362 char *new_path;
9368 new_path = s_calloc(1, new_path_len);
9371 (void) snprintf(new_path, new_path_len, "/platform/i86pc/%s",
9373 if (stat(new_path, &sb) == 0) {
9374 BAM_DPRINTF(("%s: expanded path: %s\n", fcn, new_path));
9375 return (new_path);
9379 (void) snprintf(new_path, new_path_len, "%s -k",
9381 BAM_DPRINTF(("%s: expanded path: %s\n", fcn, new_path));
9382 return (new_path);
9389 (void) snprintf(new_path, new_path_len, "/platform/i86pc/%s/unix",
9393 if (stat(new_path, &sb) == 0) {
9399 (void) snprintf(new_path, new_path_len,
9403 BAM_DPRINTF(("%s: expanded path: %s\n", fcn, new_path));
9404 return (new_path);
9407 free(new_path);
9499 char *new_path;
9514 new_path = NULL;
9679 new_path = expand_path(path);
9680 if (new_path == NULL) {
9688 new_path = path;
9741 new_str_len = strlen(new_path) +
9745 new_path, ZFS_BOOT);
9753 new_path));
9755 signbuf, new_path, NULL, NULL, NULL);
9800 new_str_len = strlen(new_path) + strlen(old_args) + 2;
9802 (void) snprintf(new_arg, new_str_len, "%s %s", new_path,
9831 free(new_path);