Searched refs:scd_path (Results 1 – 4 of 4) sorted by relevance
| /netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| H A D | spa_config.c | 180 err = vn_remove(dp->scd_path, UIO_SYSSPACE, RMFILE); in spa_config_write() 195 (void) snprintf(temp, MAXPATHLEN, "%s.tmp", dp->scd_path); in spa_config_write() 204 err = vn_rename(temp, dp->scd_path, UIO_SYSSPACE); in spa_config_write() 246 if (dp->scd_path == NULL) in spa_config_sync() 270 tdp->scd_path == NULL || in spa_config_sync() 271 strcmp(tdp->scd_path, dp->scd_path) != 0) { in spa_config_sync() 319 if (tdp->scd_path != NULL) in spa_config_sync() 320 spa_strfree(tdp->scd_path); in spa_config_sync()
|
| H A D | spa_misc.c | 807 dp->scd_path = altroot ? NULL : spa_strdup(spa_config_path); in spa_add() 873 if (dp->scd_path != NULL) in spa_remove() 874 spa_strfree(dp->scd_path); in spa_remove()
|
| H A D | spa.c | 305 if (dp->scd_path == NULL) { in spa_prop_get_config() 308 } else if (strcmp(dp->scd_path, spa_config_path) != 0) { in spa_prop_get_config() 310 dp->scd_path, 0, ZPROP_SRC_LOCAL); in spa_prop_get_config() 654 dp->scd_path = spa_strdup(spa_config_path); in spa_configfile_set() 656 dp->scd_path = NULL; in spa_configfile_set() 658 dp->scd_path = spa_strdup(cachefile); in spa_configfile_set()
|
| /netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/ |
| H A D | spa_impl.h | 89 char *scd_path; member
|