Home
last modified time | relevance | path

Searched refs:zpool_handle_t (Results 1 – 25 of 33) sorted by relevance

12

/freebsd-12.1/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs.h198 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 Dlibzfs_pool.c438 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 Dlibzfs_impl.h65 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 Dlibzfs_config.c220 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 Dlibzfs_import.c354 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 Dlibzfs_dataset.c247 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 Dzpool_list.h54 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 Dzpool_list.cc68 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 Dvdev.h52 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 Dzfsd_exception.h51 typedef struct zpool_handle zpool_handle_t; typedef
84 ZfsdException(zpool_handle_t *pool, const char *, ...);
H A Dvdev_iterator.h49 typedef struct zpool_handle zpool_handle_t; typedef
72 VdevIterator(zpool_handle_t *pool);
H A Dzfsd.h65 typedef struct zpool_handle zpool_handle_t; typedef
73 typedef int LeafIterFunc(zpool_handle_t *, nvlist_t *, void *);
H A Dcase_file.h350 Vdev BeingReplacedBy(zpool_handle_t *zhp);
394 nvlist_t *CaseVdev(zpool_handle_t *zhp) const;
H A Dcase_file.cc224 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 Dzfsd_event.cc392 zpool_handle_t* hdl; in CleanupSpares()
448 zpool_handle_t *hdl(static_cast<zpool_handle_t*>(cbArg)); in TryDetach()
H A Dvdev.cc106 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 Dzfsd_event.h58 typedef struct zpool_handle zpool_handle_t; typedef
H A Dzfsd_exception.cc75 ZfsdException::ZfsdException(zpool_handle_t *pool, const char *fmt, ...) in ZfsdException()
H A Dvdev_iterator.cc63 VdevIterator::VdevIterator(zpool_handle_t *pool) in VdevIterator()
/freebsd-12.1/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_iter.c48 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 Dzpool_util.h46 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 Dzpool_main.c534 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 Dlibmocks.h45 typedef struct zpool_handle zpool_handle_t; typedef
46 typedef int (*zpool_iter_f)(zpool_handle_t *, void *);
H A Dzfsd_unittest.cc84 zpool_handle_t *zpool_next;
231 zpool_handle_t poolHandle;
/freebsd-12.1/lib/libbe/
H A Dbe_impl.h43 zpool_handle_t *active_phandle;

12