Home
last modified time | relevance | path

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

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa_config.c178 err = vn_remove(dp->scd_path, UIO_SYSSPACE, RMFILE); in spa_config_write()
193 (void) snprintf(temp, MAXPATHLEN, "%s.tmp", dp->scd_path); in spa_config_write()
202 err = vn_rename(temp, dp->scd_path, UIO_SYSSPACE); in spa_config_write()
245 if (dp->scd_path == NULL) in spa_write_cachefile()
269 tdp->scd_path == NULL || in spa_write_cachefile()
270 strcmp(tdp->scd_path, dp->scd_path) != 0) { in spa_write_cachefile()
325 if (tdp->scd_path != NULL) in spa_write_cachefile()
326 spa_strfree(tdp->scd_path); in spa_write_cachefile()
H A Dspa_misc.c804 dp->scd_path = altroot ? NULL : spa_strdup(spa_config_path); in spa_add()
868 if (dp->scd_path != NULL) in spa_remove()
869 spa_strfree(dp->scd_path); in spa_remove()
H A Dspa.c392 if (dp->scd_path == NULL) { in spa_prop_get_config()
395 } else if (strcmp(dp->scd_path, spa_config_path) != 0) { in spa_prop_get_config()
397 dp->scd_path, 0, ZPROP_SRC_LOCAL); in spa_prop_get_config()
742 dp->scd_path = spa_strdup(spa_config_path); in spa_configfile_set()
744 dp->scd_path = NULL; in spa_configfile_set()
746 dp->scd_path = spa_strdup(cachefile); in spa_configfile_set()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dspa_impl.h145 char *scd_path; member