Lines Matching refs:raw
1041 * Using raw devices instead of block devices when we're reading
1199 * Produce a raw and non-raw version of the input path name
1205 zpool_rawunrawpath(libzfs_handle_t *hdl, const char *path, char **raw,
1209 *raw = zfs_alloc(hdl, MAXPATHLEN);
1211 if (*blk == NULL || *raw == NULL) {
1212 free(*raw);
1214 *raw = *blk = NULL;
1218 * If we are in the /dev/ namespace, produce a raw and
1219 * non-raw version of the input path.
1230 * Assume already got a raw name, copy it,
1233 (void) strlcpy(*raw, path, MAXPATHLEN);
1249 * setup raw path if needed and return.
1258 (void) snprintf(*raw, MAXPATHLEN, "%.*sr%s", pos + 1,
1261 (void) strlcpy(*raw, path, MAXPATHLEN);
1270 (void) strlcpy(*raw, path, MAXPATHLEN);
1327 * Using raw devices instead of block devices when we're
1330 * Determine the raw and non-raw version of the input path.
1464 /* Use non-raw path for the config */
1595 nvlist_t *raw, *src, *dst;
1604 if ((raw = zpool_read_cachefile(hdl, cachefile)) == NULL)
1613 nvlist_free(raw);
1618 while ((elem = nvlist_next_nvpair(raw, elem)) != NULL) {
1632 nvlist_free(raw);
1643 nvlist_free(raw);
1651 nvlist_free(raw);
1673 nvlist_free(raw);
1679 nvlist_free(raw);