Lines Matching refs:type
21 char *type; member
103 static struct zpool_driver *zpool_get_driver(char *type) in zpool_get_driver() argument
109 if (!strcmp(driver->type, type)) { in zpool_get_driver()
144 struct zpool *zpool_create_pool(char *type, char *name, gfp_t gfp, in zpool_create_pool() argument
150 pr_info("creating pool type %s\n", type); in zpool_create_pool()
152 driver = zpool_get_driver(type); in zpool_create_pool()
155 request_module("zpool-%s", type); in zpool_create_pool()
156 driver = zpool_get_driver(type); in zpool_create_pool()
160 pr_err("no driver for type %s\n", type); in zpool_create_pool()
171 zpool->type = driver->type; in zpool_create_pool()
177 pr_err("couldn't create %s pool\n", type); in zpool_create_pool()
183 pr_info("created %s pool\n", type); in zpool_create_pool()
205 pr_info("destroying pool type %s\n", zpool->type); in zpool_destroy_pool()
227 return zpool->type; in zpool_get_type()