Lines Matching refs:dataset
89 parse_pathname(const char *inpath, char *dataset, char *relpath, in parse_pathname() argument
149 (void) strcpy(dataset, mp.mnt_special); in parse_pathname()
166 object_from_path(const char *dataset, const char *path, struct stat64 *statbuf, in object_from_path() argument
178 err = dmu_objset_own(dataset, DMU_OST_ZFS, B_TRUE, FTAG, &os); in object_from_path()
181 dataset, strerror(err)); in object_from_path()
197 calculate_range(const char *dataset, err_type_t type, int level, char *range, in calculate_range() argument
263 if ((err = dmu_objset_own(dataset, DMU_OST_ANY, in calculate_range()
266 dataset, strerror(err)); in calculate_range()
333 int level, zinject_record_t *record, char *poolname, char *dataset) in translate_record() argument
374 dataset[0] = '\0'; in translate_record()
382 if (parse_pathname(object, dataset, path, &statbuf) != 0) in translate_record()
385 ziprintf(" dataset: %s\n", dataset); in translate_record()
391 if (object_from_path(dataset, path, &statbuf, record) != 0) in translate_record()
400 if (calculate_range(dataset, type, level, (char *)range, record) != 0) in translate_record()
415 (void) strcpy(poolname, dataset); in translate_record()