Home
last modified time | relevance | path

Searched refs:pool (Results 1 – 25 of 267) sorted by last modified time

1234567891011

/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac.c8336 pool_t *pool; in mac_pset_find() local
8353 if ((pool = pool_lookup_pool_by_name(mrp->mrp_pool)) == NULL) { in mac_pset_find()
8358 pool = pool_default; in mac_pset_find()
8363 pool = pool_default; in mac_pset_find()
8368 if ((cpupart = cpupart_find(pool->pool_pset->pset_id)) == NULL) { in mac_pset_find()
8370 pool->pool_pset->pset_id); in mac_pset_find()
8523 pool_t *pool; in mac_pool_event_cb() local
8536 pool = pool_lookup_pool_by_id(id); in mac_pool_event_cb()
8537 if (pool == NULL) { in mac_pool_event_cb()
8542 pool_get_name(pool, &poolname); in mac_pool_event_cb()
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_kproto.h826 int smb_idpool_constructor(smb_idpool_t *pool);
827 void smb_idpool_destructor(smb_idpool_t *pool);
828 int smb_idpool_alloc(smb_idpool_t *pool, uint16_t *id);
829 void smb_idpool_free(smb_idpool_t *pool, uint16_t id);
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_solaris.c2939 pool = pool->pool_next; in emlxs_fca_ub_alloc()
3224 pool = ub_priv->pool; in emlxs_fca_ub_release()
3236 pool->pool_nentries, pool->pool_available, in emlxs_fca_ub_release()
3237 pool->pool_free, pool->pool_free_resv); in emlxs_fca_ub_release()
3241 (pool->pool_free + pool->pool_free_resv == in emlxs_fca_ub_release()
3322 pool = ub_priv->pool; in emlxs_fca_ub_free()
3327 pool->pool_available - 1, pool->pool_free, in emlxs_fca_ub_free()
3396 pool->pool_type, pool->pool_buf_size, pool->pool_nentries); in emlxs_ub_destroy()
10557 pool = pool->pool_next; in emlxs_ub_find()
10643 pool->pool_available, pool->pool_free, in emlxs_ub_get()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_ioctl.c6073 zfs_ioc_hold(const char *pool, nvlist_t *args, nvlist_t *errlist) in zfs_ioc_hold() argument
6144 zfs_ioc_release(const char *pool, nvlist_t *holds, nvlist_t *errlist) in zfs_ioc_release() argument
6445 zfs_ioc_pool_sync(const char *pool, nvlist_t *innvl, nvlist_t *onvl) in zfs_ioc_pool_sync() argument
6451 if ((err = spa_open(pool, &spa, FTAG)) != 0) in zfs_ioc_pool_sync()
H A Dspa_misc.c1005 spa_aux_exists(uint64_t guid, uint64_t *pool, int *refcnt, avl_tree_t *avl) in spa_aux_exists() argument
1012 if (pool) { in spa_aux_exists()
1014 *pool = found->aux_pool; in spa_aux_exists()
1016 *pool = 0ULL; in spa_aux_exists()
1127 spa_spare_exists(uint64_t guid, uint64_t *pool, int *refcnt) in spa_spare_exists() argument
1132 found = spa_aux_exists(guid, pool, refcnt, &spa_spare_avl); in spa_spare_exists()
1180 spa_l2cache_exists(uint64_t guid, uint64_t *pool) in spa_l2cache_exists() argument
1185 found = spa_aux_exists(guid, pool, NULL, &spa_l2cache_avl); in spa_l2cache_exists()
/illumos-gate/usr/src/uts/common/sys/
H A DMakefile467 pool.h \
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h720 extern int spa_open(const char *pool, spa_t **, void *tag);
721 extern int spa_open_rewind(const char *pool, spa_t **, void *tag,
725 extern int spa_create(const char *pool, nvlist_t *nvroot, nvlist_t *props,
729 extern int spa_import(const char *pool, nvlist_t *config, nvlist_t *props,
732 extern int spa_destroy(char *pool);
733 extern int spa_checkpoint(const char *pool);
734 extern int spa_checkpoint_discard(const char *pool);
735 extern int spa_export(char *pool, nvlist_t **oldconfig, boolean_t force,
737 extern int spa_reset(char *pool);
743 extern spa_t *spa_inject_addref(char *pool);
[all …]
/illumos-gate/usr/src/uts/common/
H A DMakefile.files279 pool.o \
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c940 pool == NULL ? ztest_opts.zo_pool : pool, in make_vdev_file()
946 pool == NULL ? ztest_opts.zo_pool : pool, vdev); in make_vdev_file()
968 make_vdev_raidz(char *path, char *aux, char *pool, size_t size, in make_vdev_raidz() argument
975 return (make_vdev_file(path, aux, pool, size, ashift)); in make_vdev_raidz()
979 child[c] = make_vdev_file(path, aux, pool, size, ashift); in make_vdev_raidz()
1005 return (make_vdev_raidz(path, aux, pool, size, ashift, r)); in make_vdev_mirror()
1010 child[c] = make_vdev_raidz(path, aux, pool, size, ashift, r); in make_vdev_mirror()
1041 child[c] = make_vdev_mirror(path, aux, pool, size, ashift, in make_vdev_root()
6239 ztest_run_zdb(char *pool) in ztest_run_zdb() argument
6252 pool); in ztest_run_zdb()
[all …]
/illumos-gate/usr/src/uts/intel/
H A DMakefile.intel294 DRV_KMODS += pool
/illumos-gate/usr/src/lib/udapl/udapl_tavor/include/
H A Ddapl.h290 DAPL_COOKIE *pool; member
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c1452 if (pool != NULL) { in zpool_do_create()
1454 ret = zfs_shareall(pool); in zpool_do_create()
1455 zfs_close(pool); in zpool_do_create()
1487 char *pool; in zpool_do_destroy() local
1517 pool = argv[0]; in zpool_do_destroy()
2705 char *pool; in zpool_do_checkpoint() local
2740 pool = argv[0]; in zpool_do_checkpoint()
6065 char *pool, *device; in zpool_do_clear() local
6118 pool = argv[0]; in zpool_do_clear()
6193 char *pool; in zpool_do_reopen() local
[all …]
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c2039 char *pool, int poollen, char *pset, int psetlen, uint_t *cputype) in zsd_get_zone_pool_pset() argument
2136 (void) strlcpy(pool, poolname, poollen); in zsd_get_zone_pool_pset()
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c4693 uu_avl_pool_t *pool; in who_perm_init() local
4694 pool = fsperm->fsp_set->fsps_deleg_perm_avl_pool; in who_perm_init()
4698 if ((who_perm->who_deleg_perm_avl = uu_avl_create(pool, NULL, in who_perm_init()
6841 uu_avl_pool_t *pool; in unshare_unmount() local
6852 if (((pool = uu_avl_pool_create("unmount_pool", in unshare_unmount()
6856 ((tree = uu_avl_create(pool, NULL, UU_DEFAULT)) == NULL)) in unshare_unmount()
6920 uu_avl_node_init(node, &node->un_avlnode, pool); in unshare_unmount()
6987 uu_avl_pool_destroy(pool); in unshare_unmount()
/illumos-gate/usr/src/cmd/pools/poolstat/
H A Dpoolstat.c787 pool_t *pool; in get_resources() local
788 if ((pool = pool_get_pool(conf, pool_name)) == NULL) in get_resources()
791 conf, pool, nelem, pvals)) == NULL) in get_resources()
936 pool_t **pool; in prt_pool_stats() local
942 pool = pool_query_pools(conf, &nelem, pvals); in prt_pool_stats()
948 pool = pool_query_pools(conf, &nelem, pvals); in prt_pool_stats()
950 if (pool == NULL) in prt_pool_stats()
952 pools[i] = pool[0]; in prt_pool_stats()
953 FREE(pool); in prt_pool_stats()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kutil.c229 bcopy(pool->id_pool, new_pool, pool->id_size / 8); in smb_idpool_increment()
230 kmem_free(pool->id_pool, pool->id_size / 8); in smb_idpool_increment()
232 pool->id_free_counter += new_size - pool->id_size; in smb_idpool_increment()
233 pool->id_max_free_counter += new_size - pool->id_size; in smb_idpool_increment()
238 pool->id_pool[pool->id_idx_msk] = 0x80; in smb_idpool_increment()
288 ASSERT(pool->id_free_counter == pool->id_max_free_counter); in smb_idpool_destructor()
291 kmem_free(pool->id_pool, (size_t)(pool->id_size / 8)); in smb_idpool_destructor()
321 byte = pool->id_pool[pool->id_idx]; in smb_idpool_alloc()
328 pool->id_pool[pool->id_idx] |= bit; in smb_idpool_alloc()
341 pool->id_idx &= pool->id_idx_msk; in smb_idpool_alloc()
[all …]
/illumos-gate/usr/src/test/zfs-tests/include/
H A Dlibtest.shlib446 typeset pool=""
934 "$pool"
1200 [[ -d /$pool ]] && rm -rf /$pool
1563 # Given a pool, and this function list all disks in the pool
1817 # $1 pool name
2203 # $1 pool name
2359 nawk -v device=$disk -v pool=$pool -v field=$field \
2611 # $1 pool
2615 # vdevs is not in the pool, and 2 if pool name is missing.
2713 # $1 pool name
[all …]
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-header.p5m1198 file path=usr/include/sys/pool.h
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c414 int len = strlen(pool); in bootfs_name_valid()
421 if (strncmp(pool, bootfs, len) == 0 && in bootfs_name_valid()
951 ret = pool_namecheck(pool, &why, &what); in zpool_name_valid()
960 (strncmp(pool, "mirror", 6) == 0 || in zpool_name_valid()
961 strncmp(pool, "raidz", 5) == 0 || in zpool_name_valid()
962 strncmp(pool, "spare", 5) == 0 || in zpool_name_valid()
963 strcmp(pool, "log") == 0)) { in zpool_name_valid()
1046 if (!zpool_name_valid(hdl, B_TRUE, pool)) { in zpool_open_canfail()
1049 pool); in zpool_open_canfail()
1202 "cannot create '%s'"), pool); in zpool_create()
[all …]
H A Dlibzfs_dataset.c2502 char pool[ZFS_MAX_DATASET_NAME_LEN]; in zfs_get_clones_nvl() local
2503 char *cp = pool; in zfs_get_clones_nvl()
2506 (void) strlcpy(pool, zhp->zfs_name, sizeof (pool)); in zfs_get_clones_nvl()
2508 root = zfs_open(zhp->zfs_hdl, pool, in zfs_get_clones_nvl()
4113 char pool[ZFS_MAX_DATASET_NAME_LEN]; in zfs_snapshot_nvl() local
4115 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); in zfs_snapshot_nvl()
4116 pool[strcspn(pool, "/@")] = '\0'; in zfs_snapshot_nvl()
4117 zpool_handle_t *zpool_hdl = zpool_open(hdl, pool); in zfs_snapshot_nvl()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgcore.c1759 mdb_pool_t pool; in Ppsinfo_gcore() local
1799 if (mdb_ctf_vread(&pool, "pool_t", "mdb_pool_t", p->p_pool, 0) == -1) { in Ppsinfo_gcore()
1802 psp->pr_poolid = pool.pool_id; in Ppsinfo_gcore()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/pool_checkpoint/
H A Dpool_checkpoint.kshlib348 typeset pool="$1"
351 status=$(zpool status $pool | grep "checkpoint:")
354 status=$(zpool status $pool | grep "checkpoint:")
/illumos-gate/usr/src/test/zfs-tests/tests/functional/trim/
H A Dtrim.kshlib36 typeset pool="${1-:$TESTPOOL}"
43 rval=$(zpool iostat -pr $pool | awk \
48 rval=$(zpool iostat -pr $pool | awk \
63 typeset pool="${1:-$TESTPOOL}"
68 ios=$(get_trim_io $pool $type)
71 log_note "Issued $ios $type trim IOs for pool $pool"
82 typeset pool="${1-:$TESTPOOL}"
99 typeset ios=$(get_trim_io $pool $type)
131 typeset pool="$1"
140 if [[ "$(trim_progress $pool $vdev)" -lt "100" ]]; then
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/removal/
H A Dremoval.kshlib28 typeset pool=$1
31 while is_pool_removing $pool; do
41 log_must is_pool_removed $pool
60 typeset pool=$1
67 log_must zpool remove $pool $disk
73 sync_pool $pool
74 log_must is_pool_removing $pool
82 log_must is_pool_removing $pool
86 log_must wait_for_removal $pool
87 log_mustnot vdevs_in_pool $pool $disk
[all …]
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c4231 pool_t *pool; in create_tmp_pool() local
4314 if (pool != NULL) { in get_running_tmp_pset()
4315 pe = pool_to_elem(pconf, pool); in get_running_tmp_pset()
4364 pool_t *pool; in verify_del_tmp_pool() local
4409 if (pool != NULL && in verify_del_tmp_pool()
4435 pool_t *pool; in zonecfg_destroy_tmp_pool() local
4468 if (pool != NULL && pool_destroy(pconf, pool) != PO_SUCCESS) { in zonecfg_destroy_tmp_pool()
4574 pool_t *pool; in zonecfg_bind_pool() local
4618 if (pool == NULL) in zonecfg_bind_pool()
4737 pool_t *pool; in get_pool_sched_class() local
[all …]

1234567891011