Lines Matching defs:zargs
214 struct zfs_boot_args *zargs;
239 zargs = NULL;
242 zargs = (struct zfs_boot_args *)(kargs + 1);
244 if (zargs != NULL &&
245 zargs->size >= offsetof(struct zfs_boot_args, primary_pool)) {
247 new_currdev.d_kind.zfs.pool_guid = zargs->pool;
248 new_currdev.d_kind.zfs.root_guid = zargs->root;
249 if (zargs->size >= sizeof(*zargs) && zargs->primary_vdev != 0) {
250 sprintf(buf, "%llu", zargs->primary_pool);
252 sprintf(buf, "%llu", zargs->primary_vdev);