Searched refs:zfs_pools (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | zfs.c | 589 spa = STAILQ_FIRST(&zfs_pools); in zfs_dev_init() 594 STAILQ_REMOVE_HEAD(&zfs_pools, spa_link); in zfs_dev_init() 596 STAILQ_REMOVE_AFTER(&zfs_pools, prev, spa_link); in zfs_dev_init() 1468 if (STAILQ_EMPTY(&zfs_pools)) in zfs_dev_print() 1478 STAILQ_FOREACH(spa, &zfs_pools, spa_link) { in zfs_dev_print() 1673 spa = STAILQ_FIRST(&zfs_pools); in zfs_fmtdev()
|
H A D | zfsimpl.c | 137 static spa_list_t zfs_pools; variable 162 STAILQ_INIT(&zfs_pools); in zfs_init() 1356 STAILQ_FOREACH(spa, &zfs_pools, spa_link) in spa_find_by_guid() 1368 STAILQ_FOREACH(spa, &zfs_pools, spa_link) in spa_find_by_name() 1383 return (STAILQ_FIRST(&zfs_pools)); in spa_find_by_dev() 1407 STAILQ_INSERT_TAIL(&zfs_pools, spa, spa_link); in spa_create() 1546 STAILQ_FOREACH(spa, &zfs_pools, spa_link) { in spa_all_status()
|