path_get_stats
nvlist_t *path_get_stats(descriptor_t *desc, int stat_type, int *errp);
stats = path_get_stats(dp, stat_type, errp);