Lines Matching refs:type
75 static struct zpool_driver *zpool_get_driver(const char *type) in zpool_get_driver() argument
81 if (!strcmp(driver->type, type)) { in zpool_get_driver()
119 bool zpool_has_pool(char *type) in zpool_has_pool() argument
121 struct zpool_driver *driver = zpool_get_driver(type); in zpool_has_pool()
124 request_module("zpool-%s", type); in zpool_has_pool()
125 driver = zpool_get_driver(type); in zpool_has_pool()
153 struct zpool *zpool_create_pool(const char *type, const char *name, gfp_t gfp, in zpool_create_pool() argument
159 pr_debug("creating pool type %s\n", type); in zpool_create_pool()
161 driver = zpool_get_driver(type); in zpool_create_pool()
164 request_module("zpool-%s", type); in zpool_create_pool()
165 driver = zpool_get_driver(type); in zpool_create_pool()
169 pr_err("no driver for type %s\n", type); in zpool_create_pool()
185 pr_err("couldn't create %s pool\n", type); in zpool_create_pool()
191 pr_debug("created pool type %s\n", type); in zpool_create_pool()
213 pr_debug("destroying pool type %s\n", zpool->driver->type); in zpool_destroy_pool()
235 return zpool->driver->type; in zpool_get_type()