Lines Matching refs:mesh

60 geom_pp_attr(struct gmesh *mesh, struct gprovider *pp, const char *attr)
73 find_provider_by_efimedia(struct gmesh *mesh, const char *efimedia)
83 LIST_FOREACH(classp, &mesh->lg_class, lg_class) {
97 val = geom_pp_attr(mesh, pp, "efimedia");
109 find_provider_by_name(struct gmesh *mesh, const char *name)
115 LIST_FOREACH(classp, &mesh->lg_class, lg_class) {
129 efi_hd_to_unix(struct gmesh *mesh, const_efidp dp, char **dev, char **relpath, char **abspath)
167 pp = find_provider_by_efimedia(mesh, buf);
284 * If we find a media descriptor, we search through the geom mesh to see if we
285 * can find a matching node. If no match is found in the mesh that matches,
318 struct gmesh mesh;
360 * geom mesh here since it's safer than doing it in each sub-function
363 if (geom_gettree(&mesh))
368 rv = efi_hd_to_unix(&mesh, walker, dev, relpath, abspath);
371 rv = efi_cdrom_to_unix(&mesh, walker, dev, relpath, abspath);
373 rv = efi_floppy_to_unix(&mesh, walker, dev, relpath, abspath);
375 rv = efi_zpool_to_unix(&mesh, walker, dev, relpath, abspath);
377 geom_deletetree(&mesh);
436 find_geom_efi_on_root(struct gmesh *mesh)
454 pp = find_provider_by_name(mesh, dev);
497 type = geom_pp_attr(mesh, pp, "type");
502 efimedia = geom_pp_attr(mesh, pp, "efimedia");
513 find_geom_efimedia(struct gmesh *mesh, const char *dev)
518 pp = find_provider_by_name(mesh, dev);
521 efimedia = geom_pp_attr(mesh, pp, "efimedia");
577 efipart_to_dp(struct gmesh *mesh, char *path, efidp *dp)
582 efimedia = find_geom_efi_on_root(mesh);
602 dev_path_to_dp(struct gmesh *mesh, char *path, efidp *dp)
615 efimedia = find_geom_efimedia(mesh, dev);
633 path_to_dp(struct gmesh *mesh, char *path, efidp *dp)
655 efimedia = find_geom_efimedia(mesh, dev);
681 struct gmesh mesh;
690 * We'll need the goem mesh to grovel through it to find the
695 if (geom_gettree(&mesh))
710 rv = efipart_to_dp(&mesh, modpath, dp);
712 rv = dev_path_to_dp(&mesh, modpath, dp);
714 rv = path_to_dp(&mesh, modpath, dp);
717 geom_deletetree(&mesh);