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

/freebsd-11-stable/usr.sbin/bsdinstall/partedit/
H A Dgpart_ops.c260 gpart_partition(const char *lg_name, const char *scheme) argument
291 gctl_ro_param(r, "arg0", -1, lg_name);
306 get_part_metadata(lg_name, 1)->bootcode = 1;
324 if (strcmp(gc->lg_name, "scheme") == 0) {
337 if (strcmp(gc->lg_name, "index") == 0) {
345 gctl_ro_param(r, "arg0", -1, pp->lg_geom->lg_name);
358 gpart_set_root(const char *lg_name, const char *attribute) argument
365 gctl_ro_param(r, "arg0", -1, lg_name);
393 if (strcmp(gc->lg_name, "scheme") == 0) {
420 gctl_ro_param(r, "arg0", -1, gp->lg_name);
[all...]
H A Dpart_wizard.c108 if (strcmp(classp->lg_name, "DISK") != 0 &&
109 strcmp(classp->lg_name, "RAID") != 0 &&
110 strcmp(classp->lg_name, "MD") != 0)
120 if (strcmp(gc->lg_name, "type") == 0)
122 if (strcmp(gc->lg_name, "descr") == 0)
127 if (strcmp(classp->lg_name, "MD") == 0 &&
130 if (strncmp(pp->lg_name, "cd", 2) == 0)
134 disks[n-1].name = pp->lg_name;
137 if (strncmp(pp->lg_name, "ad", 2) == 0)
139 else if (strncmp(pp->lg_name, "m
[all...]
H A Dpartedit.c408 if (strcmp(classp->lg_name, "PART") == 0)
412 if (strcmp(classp->lg_name, "PART") != 0) {
419 if (strcmp(gc->lg_name, "scheme") == 0) {
421 } else if (strcmp(gc->lg_name, "modified") == 0) {
429 gpart_set_root(gp->lg_name, "lenovofix");
431 gpart_set_root(gp->lg_name, "active");
451 if (strcmp(classp->lg_name, "DISK") != 0 &&
452 strcmp(classp->lg_name, "MD") != 0)
471 if (strcmp(gp->lg_class->lg_name, "PART") == 0 &&
474 if (strcmp(gc->lg_name, "schem
[all...]
H A Dpartedit.h74 int gpart_partition(const char *lg_name, const char *scheme);
77 void gpart_set_root(const char *lg_name, const char *attribute);
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-11-stable/lib/libgeom/
H A Dlibgeom.h88 char *lg_name; member in struct:gconfig
94 char *lg_name; member in struct:gclass
103 char *lg_name; member in struct:ggeom
123 char *lg_name; member in struct:gprovider
H A Dgeom_xml2tree.c214 mt->provider->lg_name = p;
217 mt->geom->lg_name = p;
220 mt->class->lg_name = p;
281 gc->lg_name = strdup(name);
282 if (gc->lg_name == NULL) {
478 free(cf->lg_name);
500 if (cl->lg_name) free(cl->lg_name);
507 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-11-stable/lib/libefivar/
H A Defivar-dp-xlate.c65 if (strcmp(conf->lg_name, attr) != 0)
84 if (strcasecmp(classp->lg_name, G_PART) == 0)
118 if (strcmp(pp->lg_name, name) == 0)
173 *dev = strdup(pp->lg_name);
230 if (strcmp(provider->lg_name, mnt[i].f_mntfromname + 5) == 0)
239 if (strcmp(pp->lg_geom->lg_class->lg_name, G_LABEL) != 0)
241 if (strcmp(g_device_path(pp->lg_name), mnt[i].f_mntfromname) == 0)
462 if (strcmp(pp->lg_geom->lg_class->lg_name, G_LABEL) == 0) {
464 if (strcmp(cp->lg_provider->lg_geom->lg_class->lg_name, G_PART) == 0) {
470 if (strcmp(pp->lg_geom->lg_class->lg_name, G_PAR
[all...]
/freebsd-11-stable/sbin/geom/core/
H A Dgeom.c670 if (strcmp(classp->lg_name, name) == 0)
682 if (strcmp(gp->lg_name, name) == 0)
694 printf("Name: %s\n", pp->lg_name);
706 printf("%s%s: %s\n", prefix, conf->lg_name, conf->lg_val);
722 printf("Name: %s\n", pp->lg_name);
735 printf("%s%s: %s\n", prefix, conf->lg_name, conf->lg_val);
747 printf("Geom name: %s\n", gp->lg_name);
749 printf("%s: %s\n", conf->lg_name, conf->lg_val);
849 len = strlen(gp->lg_name);
853 if (strcasecmp(conf->lg_name, "stat
[all...]
/freebsd-11-stable/sbin/geom/class/part/
H A Dgeom_part.c204 if (strcmp(classp->lg_name, name) == 0)
219 if (strcmp(gp->lg_name, name) != 0)
235 if (!strcmp(gc->lg_name, "wither"))
247 if (!strcmp(gc->lg_name, cfg))
259 if (!strcmp(gc->lg_name, cfg))
308 if (strcmp(gc->lg_name, "attrib") != 0)
390 gp->lg_name);
543 gp->lg_name);
548 gp->lg_name);
636 errx(EXIT_FAILURE, "Scheme not found for geom %s", gp->lg_name);
[all...]
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_partition_tbl.c361 if (strcmp(classp->lg_name, name) == 0)
379 if (strcmp(gp->lg_name, disk_dev_name) != 0)
387 if (conf->lg_name == NULL ||
389 strcmp(conf->lg_name, "type") != 0)
401 HRDBG("-> MBR PROVIDER Name: %s", pp->lg_name);
407 conf->lg_name, conf->lg_val);
409 handle_chunk(ds_index, pp->lg_name,
430 if (strncmp(gp->lg_name, disk_dev_name,
435 if (pp->lg_name == NULL)
437 handle_chunk(ds_index, pp->lg_name, p
[all...]
/freebsd-11-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-11-stable/usr.sbin/gstat/
H A Dgstat.c292 if ((regexec(&f_re, pp->lg_name, 0, NULL, 0)
388 PRINTMSG(" %s", pp->lg_name);
392 cp->lg_geom->lg_class->lg_name,
393 cp->lg_geom->lg_name,
394 cp->lg_provider->lg_name);
/freebsd-11-stable/sbin/mdconfig/
H A Dmdconfig.c446 if (strcmp(gcl->lg_name, CLASS_NAME_MD) != 0)
449 retcode = md_find(units, pp->lg_name);
466 if (nflag && strncmp(pp->lg_name, MD_NAME, 2) == 0)
467 printf("%s", pp->lg_name + 2);
469 printf("%s", pp->lg_name);
516 if (strcmp(gce->lg_name, name) == 0)
/freebsd-11-stable/sbin/geom/class/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-11-stable/cddl/usr.sbin/zfsd/
H A Dzfsd.cc288 string evString(evStart + pp->lg_name + "\n");
/freebsd-11-stable/usr.sbin/boot0cfg/
H A Dboot0cfg.c361 if (strcmp(class->lg_name, name) == 0) {
/freebsd-11-stable/sbin/fdisk/
H A Dfdisk.c774 if (strcmp(class->lg_name, name) == 0) {
/freebsd-11-stable/sbin/bsdlabel/
H A Dbsdlabel.c368 if (strcmp(class->lg_name, name) == 0) {
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_import.c1320 slice->rn_name = zfs_strdup(hdl, pp->lg_name);

Completed in 148 milliseconds