Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dspa_config.c82 error = zfs_file_unlink(dp->scd_path); in spa_config_remove()
87 error = zfs_file_open(dp->scd_path, flags, 0644, &fp); in spa_config_remove()
130 err = zfs_file_open(dp->scd_path, oflags, 0644, &fp); in spa_config_write()
178 if (dp->scd_path == NULL) in spa_write_cachefile()
201 tdp->scd_path == NULL || in spa_write_cachefile()
202 strcmp(tdp->scd_path, dp->scd_path) != 0) { in spa_write_cachefile()
253 if (tdp->scd_path != NULL) in spa_write_cachefile()
254 spa_strfree(tdp->scd_path); in spa_write_cachefile()
H A Dspa_misc.c837 dp->scd_path = altroot ? NULL : spa_strdup(spa_config_path); in spa_add()
906 if (dp->scd_path != NULL) in spa_remove()
907 spa_strfree(dp->scd_path); in spa_remove()
H A Dspa.c569 if (dp->scd_path == NULL) { in spa_prop_get_config()
572 } else if (strcmp(dp->scd_path, spa_config_path) != 0) { in spa_prop_get_config()
574 dp->scd_path, 0, ZPROP_SRC_LOCAL); in spa_prop_get_config()
929 dp->scd_path = spa_strdup(spa_config_path); in spa_configfile_set()
931 dp->scd_path = NULL; in spa_configfile_set()
933 dp->scd_path = spa_strdup(cachefile); in spa_configfile_set()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa_impl.h162 char *scd_path; member