Home
last modified time | relevance | path

Searched refs:first_path (Results 1 – 1 of 1) sorted by relevance

/freebsd-13.1/sys/contrib/openzfs/lib/libzutil/os/linux/
H A Dzutil_device_path_os.c424 char *first_path = NULL; in dm_get_underlying_path() local
465 if (!first_path) in dm_get_underlying_path()
466 first_path = strdup(ep->d_name); in dm_get_underlying_path()
488 if (!path && first_path) { in dm_get_underlying_path()
494 if ((size = asprintf(&path, "/dev/%s", first_path)) == -1) in dm_get_underlying_path()
498 free(first_path); in dm_get_underlying_path()