| /freebsd-12.1/cddl/contrib/opensolaris/lib/libzfs/common/ |
| H A D | libzfs.h | 198 typedef struct zpool_handle zpool_handle_t; typedef 233 extern void zpool_close(zpool_handle_t *); 234 extern const char *zpool_get_name(zpool_handle_t *); 235 extern int zpool_get_state(zpool_handle_t *); 244 typedef int (*zpool_iter_f)(zpool_handle_t *, void *); 254 extern int zpool_add(zpool_handle_t *, nvlist_t *); 271 extern int zpool_reguid(zpool_handle_t *); 272 extern int zpool_reopen(zpool_handle_t *); 378 extern boolean_t zpool_is_bootable(zpool_handle_t *); 423 extern int zpool_upgrade(zpool_handle_t *, uint64_t); [all …]
|
| H A D | libzfs_pool.c | 438 zpool_handle_t *zhp; in zpool_valid_proplist() 997 zpool_handle_t * 1000 zpool_handle_t *zhp; in zpool_open_canfail() 1042 zpool_handle_t *zhp; in zpool_open_silent() 1070 zpool_handle_t * 1073 zpool_handle_t *zhp; in zpool_open() 1092 zpool_close(zpool_handle_t *zhp) in zpool_close() 1894 zpool_handle_t *zhp; in zpool_import_props() 3482 zpool_reguid(zpool_handle_t *zhp) 3502 zpool_reopen(zpool_handle_t *zhp) [all …]
|
| H A D | libzfs_impl.h | 65 zpool_handle_t *libzfs_pool_handles; 93 zpool_handle_t *zpool_hdl; 114 zpool_handle_t *zpool_next; 203 int zpool_open_silent(libzfs_handle_t *, const char *, zpool_handle_t **);
|
| H A D | libzfs_config.c | 220 zpool_get_config(zpool_handle_t *zhp, nvlist_t **oldconfig) in zpool_get_config() 232 zpool_get_features(zpool_handle_t *zhp) in zpool_get_features() 265 zpool_refresh_stats(zpool_handle_t *zhp, boolean_t *missing) in zpool_refresh_stats() 404 zpool_handle_t *zhp; in zpool_iter()
|
| H A D | libzfs_import.c | 354 zpool_handle_t *zhp; in pool_active() 1574 name_or_guid_exists(zpool_handle_t *zhp, void *data) in name_or_guid_exists() 1638 zpool_handle_t *cb_zhp; 1642 find_aux(zpool_handle_t *zhp, void *data) in find_aux() 1682 zpool_handle_t *zhp; in zpool_in_use()
|
| H A D | libzfs_dataset.c | 247 static zpool_handle_t * 251 zpool_handle_t *zph; in zpool_add_handle() 261 static zpool_handle_t * 265 zpool_handle_t *zph = hdl->libzfs_pool_handles; in zpool_find_handle() 278 static zpool_handle_t * 283 zpool_handle_t *zph; in zpool_handle() 300 zpool_handle_t *next, *zph = hdl->libzfs_pool_handles; in zpool_free_handles() 929 zpool_handle_t *zpool_handle = zhp->zpool_hdl; in zfs_spa_version() 965 uint64_t zoned, zfs_handle_t *zhp, zpool_handle_t *zpool_hdl, in zfs_valid_proplist() 3507 zpool_handle_t *zpool_handle; in zfs_create() [all …]
|
| /freebsd-12.1/cddl/usr.sbin/zfsd/ |
| H A D | zpool_list.h | 54 typedef struct zpool_handle zpool_handle_t; typedef 64 typedef bool PoolFilter_t(zpool_handle_t *pool, nvlist_t *poolConfig, 73 class ZpoolList : public std::list<zpool_handle_t *> 119 static int LoadIterator(zpool_handle_t *pool, void *data);
|
| H A D | zpool_list.cc | 68 ZpoolList::ZpoolAll(zpool_handle_t *pool, nvlist_t *poolConfig, void *cbArg) in ZpoolAll() 74 ZpoolList::ZpoolByGUID(zpool_handle_t *pool, nvlist_t *poolConfig, in ZpoolByGUID() 87 ZpoolList::ZpoolByName(zpool_handle_t *pool, nvlist_t *poolConfig, void *cbArg) in ZpoolByName() 96 ZpoolList::LoadIterator(zpool_handle_t *pool, void *data) in LoadIterator()
|
| H A D | vdev.h | 52 typedef struct zpool_handle zpool_handle_t; typedef 80 Vdev(zpool_handle_t *pool, nvlist_t *vdevConfig); 135 std::string Name(zpool_handle_t *, bool verbose) const;
|
| H A D | zfsd_exception.h | 51 typedef struct zpool_handle zpool_handle_t; typedef 84 ZfsdException(zpool_handle_t *pool, const char *, ...);
|
| H A D | vdev_iterator.h | 49 typedef struct zpool_handle zpool_handle_t; typedef 72 VdevIterator(zpool_handle_t *pool);
|
| H A D | zfsd.h | 65 typedef struct zpool_handle zpool_handle_t; typedef 73 typedef int LeafIterFunc(zpool_handle_t *, nvlist_t *, void *);
|
| H A D | case_file.h | 350 Vdev BeingReplacedBy(zpool_handle_t *zhp); 394 nvlist_t *CaseVdev(zpool_handle_t *zhp) const;
|
| H A D | case_file.cc | 224 zpool_handle_t *casePool(zpl.empty() ? NULL : zpl.front()); in RefreshVdevState() 241 zpool_handle_t *pool(zpl.empty() ? NULL : zpl.front()); in ReEvaluate() 498 zpool_handle_t *zhp(zpl.empty() ? NULL : zpl.front()); in ActivateSpare() 950 zpool_handle_t *zhp(zpl.empty() ? NULL : zpl.front()); in OnGracePeriodEnded() 1011 CaseFile::BeingReplacedBy(zpool_handle_t *zhp) { in BeingReplacedBy() 1061 zpool_handle_t *zhp(zpl.empty() ? NULL : zpl.front()); in Replace() 1163 CaseFile::CaseVdev(zpool_handle_t *zhp) const in CaseVdev()
|
| H A D | zfsd_event.cc | 392 zpool_handle_t* hdl; in CleanupSpares() 448 zpool_handle_t *hdl(static_cast<zpool_handle_t*>(cbArg)); in TryDetach()
|
| H A D | vdev.cc | 106 Vdev::Vdev(zpool_handle_t *pool, nvlist_t *config) in Vdev() 329 Vdev::Name(zpool_handle_t *zhp, bool verbose) const in Name()
|
| H A D | zfsd_event.h | 58 typedef struct zpool_handle zpool_handle_t; typedef
|
| H A D | zfsd_exception.cc | 75 ZfsdException::ZfsdException(zpool_handle_t *pool, const char *fmt, ...) in ZfsdException()
|
| H A D | vdev_iterator.cc | 63 VdevIterator::VdevIterator(zpool_handle_t *pool) in VdevIterator()
|
| /freebsd-12.1/cddl/contrib/opensolaris/cmd/zpool/ |
| H A D | zpool_iter.c | 48 zpool_handle_t *zn_handle; 64 zpool_handle_t *l = ((zpool_node_t *)larg)->zn_handle; in zpool_compare() 65 zpool_handle_t *r = ((zpool_node_t *)rarg)->zn_handle; in zpool_compare() 77 add_pool(zpool_handle_t *zhp, void *data) in add_pool() 134 zpool_handle_t *zhp; in pool_list_get() 186 pool_list_remove(zpool_list_t *zlp, zpool_handle_t *zhp) in pool_list_remove()
|
| H A D | zpool_util.h | 46 nvlist_t *make_root_vdev(zpool_handle_t *zhp, int force, int check_rep, 49 nvlist_t *split_mirror_vdev(zpool_handle_t *zhp, char *newname, 65 void pool_list_remove(zpool_list_t *, zpool_handle_t *);
|
| H A D | zpool_main.c | 534 zpool_handle_t *zhp; in zpool_do_add() 637 zpool_handle_t *zhp; in zpool_do_remove() 1286 zpool_handle_t *zhp; in zpool_do_destroy() 1359 zpool_handle_t *zhp; in zpool_do_export() 2093 zpool_handle_t *zhp; in do_import() 2179 zpool_handle_t *zhp; in zpool_do_checkpoint() 3548 zpool_handle_t *zhp; in zpool_do_attach_or_replace() 3682 zpool_handle_t *zhp; in zpool_do_detach() 3750 zpool_handle_t *zhp; in zpool_do_split() 3870 zpool_handle_t *zhp; in zpool_do_online() [all …]
|
| /freebsd-12.1/cddl/usr.sbin/zfsd/tests/ |
| H A D | libmocks.h | 45 typedef struct zpool_handle zpool_handle_t; typedef 46 typedef int (*zpool_iter_f)(zpool_handle_t *, void *);
|
| H A D | zfsd_unittest.cc | 84 zpool_handle_t *zpool_next; 231 zpool_handle_t poolHandle;
|
| /freebsd-12.1/lib/libbe/ |
| H A D | be_impl.h | 43 zpool_handle_t *active_phandle;
|