Lines Matching +defs:source +defs:path

146 		return (dgettext(TEXT_DOMAIN, "must be an absolute path"));
918 libzfs_run_process_impl(const char *path, char *argv[], char *env[], int flags,
953 execv(path, argv);
955 execve(path, argv, env);
958 execvp(path, argv);
960 execvpe(path, argv, env);
985 libzfs_run_process(const char *path, char *argv[], int flags)
987 return (libzfs_run_process_impl(path, argv, NULL, flags, NULL, NULL));
997 libzfs_run_process_get_stdout(const char *path, char *argv[], char *env[],
1000 return (libzfs_run_process_impl(path, argv, env, 0, lines, lines_cnt));
1005 * means that *path needs to be the full path to the executable.
1008 libzfs_run_process_get_stdout_nopath(const char *path, char *argv[],
1011 return (libzfs_run_process_impl(path, argv, env, NO_DEFAULT_PATH,
1153 * Given a name, determine whether or not it's a valid path
1155 * to match the device number. If not, treat the path as an
1159 zfs_path_to_zhandle(libzfs_handle_t *hdl, const char *path, zfs_type_t argtype)
1164 if (path[0] != '/' && strncmp(path, "./", strlen("./")) != 0) {
1166 * It's not a valid path, assume it's a name of type 'argtype'.
1168 return (zfs_open(hdl, path, argtype));
1171 if (getextmntent(path, &entry, &statbuf) != 0)
1176 path);
1312 * 'source' column, we kludge it up by taking the worst-case scenario of
1407 * Add property value and source to provided nvlist, according to
1412 const char *value, zprop_source_t sourcetype, const char *source,
1471 (nvlist_add_string(src_nv, "data", source) != 0)) {
1492 if ((nvlist_add_nvlist(prop, "source", src_nv) != 0) ||
1510 const char *source, const char *recvd_value)
1517 * Ignore those source types that the user has chosen to ignore.
1559 "inherited from %s", source);
1597 const char *source, const char *recvd_value, nvlist_t *nvl)
1604 sourcetype, source, recvd_value, nvl,
1609 propname, value, sourcetype, source, recvd_value);
2376 const char *path = NULL, *enc_sysfs_path = NULL;
2385 (void) nvlist_lookup_string(vdev_nv, ZPOOL_CONFIG_PATH, &path);
2389 upath = zfs_get_underlying_path(path);
2392 env = zpool_vdev_script_alloc_env(pool_name, path, upath,
2415 * /dev path, and is passed to zpool_label_disk. vdev_nv is the nvlist for
2427 * VDEV_ENC_SYSFS_PATH: Path to the disk's enclosure sysfs path, if available.