Lines Matching defs:cb
1768 aux_cbdata_t cb = { 0 };
1881 cb.cb_zhp = NULL;
1882 cb.cb_guid = vdev_guid;
1883 cb.cb_type = ZPOOL_CONFIG_SPARES;
1884 if (zpool_iter(hdl, find_aux, &cb) == 1) {
1885 name = (char *)zpool_get_name(cb.cb_zhp);
1897 cb.cb_zhp = NULL;
1898 cb.cb_guid = vdev_guid;
1899 cb.cb_type = ZPOOL_CONFIG_L2CACHE;
1900 if (zpool_iter(hdl, find_aux, &cb) == 1) {
1901 name = (char *)zpool_get_name(cb.cb_zhp);
1915 if (cb.cb_zhp)
1916 zpool_close(cb.cb_zhp);
1923 if (cb.cb_zhp)
1924 zpool_close(cb.cb_zhp);