Searched refs:scd_path (Results 1 – 4 of 4) sorted by relevance
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | spa_config.c | 72 error = zfs_file_unlink(dp->scd_path); in spa_config_remove() 77 error = zfs_file_open(dp->scd_path, flags, 0644, kcred, &fp); in spa_config_remove() 120 err = zfs_file_open(dp->scd_path, oflags, 0644, kcred, &fp); in spa_config_write() 168 if (dp->scd_path == NULL) in spa_write_cachefile() 191 tdp->scd_path == NULL || in spa_write_cachefile() 192 strcmp(tdp->scd_path, dp->scd_path) != 0) { in spa_write_cachefile() 243 if (tdp->scd_path != NULL) in spa_write_cachefile() 244 spa_strfree(tdp->scd_path); in spa_write_cachefile()
|
| H A D | spa_misc.c | 828 dp->scd_path = altroot ? NULL : spa_strdup(spa_config_path); in spa_add() 900 if (dp->scd_path != NULL) in spa_remove() 901 spa_strfree(dp->scd_path); in spa_remove()
|
| H A D | spa.c | 608 if (dp->scd_path == NULL) { in spa_prop_get_config() 611 } else if (strcmp(dp->scd_path, spa_config_path) != 0) { in spa_prop_get_config() 613 dp->scd_path, 0, ZPROP_SRC_LOCAL); in spa_prop_get_config() 968 dp->scd_path = spa_strdup(spa_config_path); in spa_configfile_set() 970 dp->scd_path = NULL; in spa_configfile_set() 972 dp->scd_path = spa_strdup(cachefile); in spa_configfile_set()
|
| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | spa_impl.h | 155 char *scd_path; member
|