Searched refs:scd_path (Results 1 – 4 of 4) sorted by relevance
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | spa_config.c | 167 error = zfs_file_unlink(dp->scd_path); in spa_config_remove() 172 error = zfs_file_open(dp->scd_path, flags, 0644, &fp); in spa_config_remove() 215 err = zfs_file_open(dp->scd_path, oflags, 0644, &fp); in spa_config_write() 262 if (dp->scd_path == NULL) in spa_write_cachefile() 285 tdp->scd_path == NULL || in spa_write_cachefile() 286 strcmp(tdp->scd_path, dp->scd_path) != 0) { in spa_write_cachefile() 337 if (tdp->scd_path != NULL) in spa_write_cachefile() 338 spa_strfree(tdp->scd_path); in spa_write_cachefile()
|
| H A D | spa_misc.c | 719 dp->scd_path = altroot ? NULL : spa_strdup(spa_config_path); in spa_add() 789 if (dp->scd_path != NULL) in spa_remove() 790 spa_strfree(dp->scd_path); in spa_remove()
|
| H A D | spa.c | 399 if (dp->scd_path == NULL) { in spa_prop_get_config() 402 } else if (strcmp(dp->scd_path, spa_config_path) != 0) { in spa_prop_get_config() 404 dp->scd_path, 0, ZPROP_SRC_LOCAL); in spa_prop_get_config() 741 dp->scd_path = spa_strdup(spa_config_path); in spa_configfile_set() 743 dp->scd_path = NULL; in spa_configfile_set() 745 dp->scd_path = spa_strdup(cachefile); in spa_configfile_set()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | spa_impl.h | 150 char *scd_path; member
|