Deleted Added
full compact
spa.h (236884) spa.h (241286)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 405 unchanged lines hidden (view full) ---

414/* state manipulation functions */
415extern int spa_open(const char *pool, spa_t **, void *tag);
416extern int spa_open_rewind(const char *pool, spa_t **, void *tag,
417 nvlist_t *policy, nvlist_t **config);
418extern int spa_get_stats(const char *pool, nvlist_t **config, char *altroot,
419 size_t buflen);
420extern int spa_create(const char *pool, nvlist_t *config, nvlist_t *props,
421 const char *history_str, nvlist_t *zplprops);
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 405 unchanged lines hidden (view full) ---

414/* state manipulation functions */
415extern int spa_open(const char *pool, spa_t **, void *tag);
416extern int spa_open_rewind(const char *pool, spa_t **, void *tag,
417 nvlist_t *policy, nvlist_t **config);
418extern int spa_get_stats(const char *pool, nvlist_t **config, char *altroot,
419 size_t buflen);
420extern int spa_create(const char *pool, nvlist_t *config, nvlist_t *props,
421 const char *history_str, nvlist_t *zplprops);
422#if defined(sun)
422extern int spa_import_rootpool(char *devpath, char *devid);
423extern int spa_import_rootpool(char *devpath, char *devid);
424#else
425extern int spa_import_rootpool(const char *name);
426#endif
423extern int spa_import(const char *pool, nvlist_t *config, nvlist_t *props,
424 uint64_t flags);
425extern nvlist_t *spa_tryimport(nvlist_t *tryconfig);
426extern int spa_destroy(char *pool);
427extern int spa_export(char *pool, nvlist_t **oldconfig, boolean_t force,
428 boolean_t hardforce);
429extern int spa_reset(char *pool);
430extern void spa_async_request(spa_t *spa, int flag);

--- 291 unchanged lines hidden ---
427extern int spa_import(const char *pool, nvlist_t *config, nvlist_t *props,
428 uint64_t flags);
429extern nvlist_t *spa_tryimport(nvlist_t *tryconfig);
430extern int spa_destroy(char *pool);
431extern int spa_export(char *pool, nvlist_t **oldconfig, boolean_t force,
432 boolean_t hardforce);
433extern int spa_reset(char *pool);
434extern void spa_async_request(spa_t *spa, int flag);

--- 291 unchanged lines hidden ---