Searched refs:spa_mode_global (Results 1 – 5 of 5) sorted by relevance
240 int spa_mode_global; variable1848 spa_mode_global = mode; in spa_init()1853 if (spa_mode_global != FREAD && dprintf_find_string("watch")) { in spa_init()
218 if (rootdir == NULL || !(spa_mode_global & FWRITE)) in spa_config_sync()
2983 spa_activate(spa, spa_mode_global); in spa_open_common()3518 spa_activate(spa, spa_mode_global); in spa_create()3947 uint64_t mode = spa_mode_global; in spa_import()4234 if (!(spa_mode_global & FWRITE)) in spa_export_common()5103 spa_activate(newspa, spa_mode_global); in spa_vdev_split_mirror()
7168 if (!(spa_mode_global & FWRITE)) in l2arc_start()7178 if (!(spa_mode_global & FWRITE)) in l2arc_stop()
900 extern int spa_mode_global; /* mode, e.g. FREAD | FWRITE */