Searched refs:lg_name (Results 1 - 21 of 21) sorted by relevance

/freebsd-13-stable/usr.sbin/bsdinstall/partedit/
H A Dgpart_ops.c256 gpart_partition(const char *lg_name, const char *scheme) argument
287 gctl_ro_param(r, "arg0", -1, lg_name);
302 get_part_metadata(lg_name, 1)->bootcode = 1;
320 if (strcmp(gc->lg_name, "scheme") == 0) {
332 if (strcmp(gc->lg_name, "index") == 0) {
340 gctl_ro_param(r, "arg0", -1, pp->lg_geom->lg_name);
353 gpart_set_root(const char *lg_name, const char *attribute) argument
360 gctl_ro_param(r, "arg0", -1, lg_name);
388 if (strcmp(gc->lg_name, "scheme") == 0) {
415 gctl_ro_param(r, "arg0", -1, gp->lg_name);
[all...]
H A Dpart_wizard.c107 if (strcmp(classp->lg_name, "DISK") != 0 &&
108 strcmp(classp->lg_name, "RAID") != 0 &&
109 strcmp(classp->lg_name, "MD") != 0)
119 if (strcmp(gc->lg_name, "type") == 0)
121 if (strcmp(gc->lg_name, "descr") == 0)
126 if (strcmp(classp->lg_name, "MD") == 0 &&
129 if (strncmp(pp->lg_name, "cd", 2) == 0)
133 disks[n-1].name = pp->lg_name;
136 if (strncmp(pp->lg_name, "ad", 2) == 0)
138 else if (strncmp(pp->lg_name, "m
[all...]
H A Dpartedit.h76 int gpart_partition(const char *lg_name, const char *scheme);
79 void gpart_set_root(const char *lg_name, const char *attribute);
H A Dpartedit.c449 if (strcmp(classp->lg_name, "PART") == 0)
453 if (strcmp(classp->lg_name, "PART") != 0) {
460 if (strcmp(gc->lg_name, "scheme") == 0) {
462 } else if (strcmp(gc->lg_name, "modified") == 0) {
470 gpart_set_root(gp->lg_name, "lenovofix");
472 gpart_set_root(gp->lg_name, "active");
492 if (strcmp(classp->lg_name, "DISK") != 0 &&
493 strcmp(classp->lg_name, "MD") != 0)
512 if (strcmp(gp->lg_class->lg_name, "PART") == 0 &&
515 if (strcmp(gc->lg_name, "schem
[all...]
H A Dscripted.c55 if (strcmp(pp->lg_name, name) == 0)
88 if (strcmp(classp->lg_name, "PART") == 0)
92 if (strcmp(gpart->lg_name, disk) == 0)
/freebsd-13-stable/lib/libgeom/
H A Dlibgeom.h90 char *lg_name; member in struct:gconfig
96 char *lg_name; member in struct:gclass
105 char *lg_name; member in struct:ggeom
125 char *lg_name; member in struct:gprovider
H A Dgeom_xml2tree.c216 mt->provider->lg_name = p;
219 mt->geom->lg_name = p;
222 mt->class->lg_name = p;
283 gc->lg_name = strdup(name);
284 if (gc->lg_name == NULL) {
480 free(cf->lg_name);
502 if (cl->lg_name) free(cl->lg_name);
509 if (ge->lg_name) free(ge->lg_name);
[all...]
H A Dgeom_util.c239 fd = g_open(pp->lg_name, dowrite);
252 if (name != NULL && strlcpy(name, pp->lg_name,
/freebsd-13-stable/lib/libefivar/
H A Defivar-dp-xlate.c67 if (strcmp(conf->lg_name, attr) != 0)
86 if (strcasecmp(classp->lg_name, G_PART) == 0)
120 if (strcmp(pp->lg_name, name) == 0)
177 *dev = strdup(pp->lg_name);
234 if (strcmp(provider->lg_name, mnt[i].f_mntfromname + 5) == 0)
243 if (strcmp(pp->lg_geom->lg_class->lg_name, G_LABEL) != 0)
245 if (strcmp(g_device_path(pp->lg_name), mnt[i].f_mntfromname) == 0)
470 if (strcmp(pp->lg_geom->lg_class->lg_name, G_LABEL) == 0) {
472 if (strcmp(cp->lg_provider->lg_geom->lg_class->lg_name, G_PART) == 0) {
478 if (strcmp(pp->lg_geom->lg_class->lg_name, G_PAR
[all...]
/freebsd-13-stable/sbin/geom/core/
H A Dgeom.c671 if (strcmp(pp->lg_name, name) == 0)
689 max_width = width = indent + strlen(gp->lg_name);
742 width - indent, width - indent, gp->lg_name,
743 GEOM_CLASS_WIDTH, GEOM_CLASS_WIDTH, gp->lg_class->lg_name);
749 width - indent, width - indent, gp->lg_name,
750 GEOM_CLASS_WIDTH, GEOM_CLASS_WIDTH, gp->lg_class->lg_name,
751 pp->lg_name);
855 if (strcmp(classp->lg_name, name) == 0)
870 if (strcmp(gp->lg_name, name) == 0)
882 printf("Name: %s\n", pp->lg_name);
[all...]
/freebsd-13-stable/lib/geom/part/
H A Dgeom_part.c206 if (strcmp(classp->lg_name, name) == 0)
221 if (strcmp(gp->lg_name, name) != 0)
237 if (!strcmp(gc->lg_name, "wither"))
249 if (!strcmp(gc->lg_name, cfg))
261 if (!strcmp(gc->lg_name, cfg))
310 if (strcmp(gc->lg_name, "attrib") != 0)
392 gp->lg_name);
545 gp->lg_name);
550 gp->lg_name);
638 errx(EXIT_FAILURE, "Scheme not found for geom %s", gp->lg_name);
[all...]
/freebsd-13-stable/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_partition_tbl.c357 if (strcmp(classp->lg_name, name) == 0)
375 if (strcmp(gp->lg_name, disk_dev_name) != 0)
383 if (conf->lg_name == NULL ||
385 strcmp(conf->lg_name, "type") != 0)
397 HRDBG("-> MBR PROVIDER Name: %s", pp->lg_name);
403 conf->lg_name, conf->lg_val);
405 handle_chunk(ds_index, pp->lg_name,
426 if (strncmp(gp->lg_name, disk_dev_name,
431 if (pp->lg_name == NULL)
433 handle_chunk(ds_index, pp->lg_name, p
[all...]
/freebsd-13-stable/sbin/ggate/shared/
H A Dggate.c318 if (strcmp(class->lg_name, name) == 0)
330 if (strcmp(conf->lg_name, name) == 0)
346 printf("%s\n", pp->lg_name);
349 printf(" NAME: %s\n", pp->lg_name);
386 if (unit != -1 && strcmp(gp->lg_name, name) != 0)
/freebsd-13-stable/sys/contrib/openzfs/lib/libzutil/os/freebsd/
H A Dzutil_import_os.c214 if (skip_zvols && strcmp(mp->lg_name, "ZFS::ZVOL") == 0)
218 strlcpy(end, pp->lg_name, pathleft);
/freebsd-13-stable/usr.sbin/gstat/
H A Dgstat.c339 if ((regexec(&f_re, pp->lg_name, 0, NULL, 0)
390 pp->lg_name);
395 cp->lg_geom->lg_class->lg_name,
396 cp->lg_geom->lg_name,
397 cp->lg_provider->lg_name);
/freebsd-13-stable/sbin/mdconfig/
H A Dmdconfig.c465 if (strcmp(gcl->lg_name, CLASS_NAME_MD) != 0)
468 retcode = md_find(units, pp->lg_name);
486 if (nflag && strncmp(pp->lg_name, MD_NAME, 2) == 0)
487 printf("%s", pp->lg_name + 2);
489 printf("%s", pp->lg_name);
540 if (strcmp(gce->lg_name, name) == 0)
/freebsd-13-stable/lib/geom/mirror/
H A Dgeom_mirror.c415 if (strcmp(classp->lg_name, name) == 0)
427 if (strcmp(gp->lg_name, name) == 0)
489 pp->lg_name);
/freebsd-13-stable/cddl/usr.sbin/zfsd/
H A Dzfsd.cc290 string evString(evStart + pp->lg_name + "\n");
/freebsd-13-stable/usr.sbin/boot0cfg/
H A Dboot0cfg.c361 if (strcmp(class->lg_name, name) == 0) {
/freebsd-13-stable/sbin/fdisk/
H A Dfdisk.c777 if (strcmp(class->lg_name, name) == 0) {
/freebsd-13-stable/sbin/bsdlabel/
H A Dbsdlabel.c369 if (strcmp(class->lg_name, name) == 0) {

Completed in 121 milliseconds