/freebsd/tools/regression/geom/ConfCmp/ |
H A D | a1.conf | 6 <geom> 13 <geom><ref>0x80bfd00</ref></geom> 17 </geom> 18 <geom> 25 <geom><ref>0x80bfc80</ref></geom> 29 </geom> 30 <geom> 37 <geom><ref>0x80bfc00</ref></geom> 41 </geom> 42 <geom> [all …]
|
H A D | a1a.conf | 6 <geom> 13 <geom><ref>0x90bfd00</ref></geom> 17 </geom> 18 <geom> 25 <geom><ref>0x90bfc80</ref></geom> 29 </geom> 30 <geom> 37 <geom><ref>0x90bfc00</ref></geom> 41 </geom> 42 <geom> [all …]
|
H A D | a1d.conf | 6 <geom> 13 <geom><ref>0x80bfd00</ref></geom> 17 </geom> 18 <geom> 25 <geom><ref>0x80bfc80</ref></geom> 29 </geom> 30 <geom> 37 <geom><ref>0x80bfc00</ref></geom> 41 </geom> 42 <geom> [all …]
|
H A D | a1b.conf | 6 <geom> 13 <geom><ref>0x80bfd00</ref></geom> 17 </geom> 18 <geom> 25 <geom><ref>0x80bfc80</ref></geom> 29 </geom> 30 <geom> 37 <geom><ref>0x80bfc00</ref></geom> 41 </geom> 42 <geom> [all …]
|
H A D | a1c.conf | 6 <geom> 13 <geom><ref>0x80bfd00</ref></geom> 17 </geom> 18 <geom> 25 <geom><ref>0x80bfc80</ref></geom> 29 </geom> 30 <geom> 37 <geom><ref>0x80bfc00</ref></geom> 41 </geom> 42 <geom> [all …]
|
/freebsd/usr.bin/mkimg/ |
H A D | vhd.c | 113 vhd_geometry(uint64_t image_size, struct vhd_geom *geom) in vhd_geometry() argument 124 geom->cylinders = (ncyls != 0) ? ncyls : in vhd_geometry() 126 geom->heads = nheads; in vhd_geometry() 127 geom->sectors = nsecs; in vhd_geometry() 134 geom->cylinders = imgsz / (16 * 255); in vhd_geometry() 135 geom->heads = 16; in vhd_geometry() 136 geom->sectors = 255; in vhd_geometry() 139 geom->sectors = 17; in vhd_geometry() 141 geom->heads = (cth + 1023) / 1024; in vhd_geometry() 142 if (geom->heads < 4) in vhd_geometry() [all …]
|
/freebsd/sys/geom/ |
H A D | geom_subr.c | 67 SDT_PROVIDER_DEFINE(geom); 162 LIST_INIT(&mp->geom); in g_load_class() 171 LIST_FOREACH(gp, &mp2->geom, geom) { in g_load_class() 192 LIST_FOREACH(gp, &mp->geom, geom) { in g_unload_class() 215 if (!LIST_EMPTY(&mp->geom) && mp->destroy_geom == NULL) { in g_unload_class() 223 LIST_FOREACH(gp, &mp->geom, geom) { in g_unload_class() 232 gp = LIST_FIRST(&mp->geom); in g_unload_class() 292 KASSERT(LIST_EMPTY(&mp->geom), in g_modevent() 325 LIST_FOREACH(gp, &mp2->geom, geom) { in g_retaste_event() 330 if (cp->geom->class == mp && in g_retaste_event() [all …]
|
H A D | geom_dump.c | 92 LIST_FOREACH(gp, &mp->geom, geom) in g_confdot_class() 127 g_conftxt_geom(sb, cp->geom, level + 1); in g_conftxt_geom() 136 LIST_FOREACH(gp, &mp->geom, geom) in g_conftxt_class() 193 sbuf_printf(sb, "\t <geom ref=\"%p\"/>\n", cp->geom); in g_conf_consumer() 198 if (cp->geom->flags & G_GEOM_WITHER) in g_conf_consumer() 200 else if (cp->geom->dumpconf != NULL) { in g_conf_consumer() 202 cp->geom->dumpconf(sb, "\t ", cp->geom, cp, NULL); in g_conf_consumer() 214 sbuf_printf(sb, "\t <geom ref=\"%p\"/>\n", pp->geom); in g_conf_provider() 232 else if (pp->geom->flags & G_GEOM_WITHER) in g_conf_provider() 234 else if (pp->geom->dumpconf != NULL) { in g_conf_provider() [all …]
|
/freebsd/usr.bin/mkimg/tests/ |
H A D | mkimg_test.sh | 32 local blksz bootarg bootsz format geom nhds nsecs partarg pfx scheme 37 geom=$4 41 nsecs=${geom%x*} 42 nhds=${geom#*x} 62 imagename=$pfx-$geom-$blksz-$scheme.$format 98 local blksz format geom scheme 100 geom=$1 107 bsd=`makeimage raw bsd $blksz $geom _tmp` 114 image=`makeimage $format $scheme $blksz $geom img $partinfo`
|
/freebsd/lib/libgeom/ |
H A D | geom_xml2tree.c | 53 struct ggeom *geom; member 103 if (!strcmp(name, "geom") && mt->geom == NULL) { in StartElement() 104 mt->geom = calloc(1, sizeof *mt->geom); in StartElement() 105 if (mt->geom == NULL) { in StartElement() 112 mt->geom->lg_id = id; in StartElement() 113 LIST_INSERT_HEAD(&mt->class->lg_geom, mt->geom, lg_geom); in StartElement() 114 LIST_INIT(&mt->geom->lg_provider); in StartElement() 115 LIST_INIT(&mt->geom->lg_consumer); in StartElement() 116 LIST_INIT(&mt->geom->lg_config); in StartElement() 119 if (!strcmp(name, "class") && mt->geom != NULL) { in StartElement() [all …]
|
/freebsd/targets/pseudo/userland/lib/ |
H A D | Makefile.depend | 11 lib/geom/cache \ 12 lib/geom/concat \ 13 lib/geom/eli \ 14 lib/geom/journal \ 15 lib/geom/label \ 16 lib/geom/mirror \ 17 lib/geom/mountver \ 18 lib/geom/multipath \ 19 lib/geom/nop \ 20 lib/geom/part \ [all …]
|
/freebsd/tests/sys/geom/class/multipath/ |
H A D | failloop.sh | 38 sysctl -n kern.geom.notaste > kern.geom.notaste.txt 49 sysctl kern.geom.notaste=1 70 if [ -f kern.geom.notaste.txt ]; then 71 sysctl kern.geom.notaste=`cat kern.geom.notaste.txt`
|
/freebsd/sbin/geom/ |
H A D | Makefile | 5 PACKAGE=geom 6 PROG= geom 7 SRCS= geom.c subr.c 8 MAN= geom.8 24 .include "${SRCTOP}/lib/geom/Makefile.classes"
|
/freebsd/sys/geom/virstor/ |
H A D | g_virstor.c | 242 sc->geom->name); in virstor_ctl_stop() 246 sc->geom->name, error); in virstor_ctl_stop() 302 "virstor %s", sc->geom->name); in virstor_ctl_add() 303 gctl_error(req, "Virstor %s is incomplete", sc->geom->name); in virstor_ctl_add() 330 cp = g_new_consumer(sc->geom); in virstor_ctl_add() 365 pp->name, sc->geom->name); in virstor_ctl_add() 405 sc->geom->name); in virstor_ctl_add() 441 LIST_FOREACH(gp, &cp->geom, geom) { in virstor_find_geom() 466 sc->geom->name); in update_metadata() 469 sc->geom->class->name, sc->geom->name); in update_metadata() [all …]
|
/freebsd/tests/sys/geom/class/mirror/ |
H A D | conf.sh | 29 geom=$2 36 geom "${gclass}" list "${geom}" | \ 45 geom=$2 52 while [ $(consumerrefs "$gclass" "$geom") != r0w0e0 ]; do
|
/freebsd/sys/geom/raid/ |
H A D | g_raid_ctl.c | 56 LIST_FOREACH(gp, &mp->geom, geom) { in g_raid_find_node() 67 LIST_FOREACH(gp, &mp->geom, geom) { in g_raid_find_node() 83 LIST_FOREACH(gp, &mp->geom, geom) { in g_raid_find_node() 100 struct g_geom *geom; in g_raid_ctl_label() local 121 crstatus = g_raid_create_node_format(format, req, &geom); in g_raid_ctl_label() 127 sc = (struct g_raid_softc *)geom->softc; in g_raid_ctl_label()
|
/freebsd/usr.sbin/bsdconfig/share/ |
H A D | geom.subr | 32 f_dprintf "%s: loading includes..." geom.subr 92 # Parse sysctl(8) `kern.geom.confxml' data into a series of structs. GEOM 97 # is the class number and N is the geom number). 104 eval "$( sysctl -n kern.geom.confxml | awk ' 107 struct_count["geom"] = 0 124 struct = struct ( struct ? "" : "geom" ) 137 struct = struct ( struct ? "" : "geom" ) 163 $1 ~ /^<(class|geom)$/ && mesh { 191 $1 == "</geom>" { 199 set_value("ngeoms", struct_count["geom"]) [all …]
|
/freebsd/tools/kerneldoc/subsys/ |
H A D | Doxyfile-geom | 7 OUTPUT_DIRECTORY = $(DOXYGEN_DEST_PATH)/geom/ 12 INPUT = $(DOXYGEN_SRC_PATH)/geom/ $(NOTREVIEWED) 14 GENERATE_TAGFILE = geom/geom.tag
|
/freebsd/usr.sbin/bsdinstall/partedit/ |
H A D | gpart_ops.c | 552 struct ggeom *geom; in gpart_edit() local 582 geom = NULL; in gpart_edit() 610 if (geom == NULL && strcmp(pp->lg_geom->lg_class->lg_name, "PART") == 0) in gpart_edit() 611 geom = pp->lg_geom; in gpart_edit() 613 if (geom == NULL) { in gpart_edit() 619 LIST_FOREACH(gc, &geom->lg_config, lg_config) { in gpart_edit() 691 gctl_ro_param(r, "arg0", -1, geom->lg_name); in gpart_edit() 854 gpart_max_free(struct ggeom *geom, intmax_t *npartstart) in gpart_max_free() argument 867 LIST_FOREACH(gc, &geom->lg_config, lg_config) { in gpart_max_free() 875 LIST_FOREACH(pp, &geom->lg_provider, lg_provider) in gpart_max_free() [all …]
|
/freebsd/sys/geom/multipath/ |
H A D | g_multipath.c | 64 SDT_PROVIDER_DECLARE(geom); 65 SDT_PROBE_DEFINE2(geom, multipath, config, restore, "char*", "char*"); 66 SDT_PROBE_DEFINE2(geom, multipath, config, remove, "char*", "char*"); 67 SDT_PROBE_DEFINE2(geom, multipath, config, disconnect, "char*", "char*"); 68 SDT_PROBE_DEFINE3(geom, multipath, config, fail, "char*", "char*", "int"); 69 SDT_PROBE_DEFINE2(geom, multipath, config, taste, "char*", "char*"); 70 SDT_PROBE_DEFINE2(geom, multipath, io, restart, "struct bio*", "struct bio*"); 144 gp = cp->geom; in g_multipath_fault() 157 SDT_PROBE2(geom, multipath, config, restore, in g_multipath_fault() 214 gp = cp->geom; in g_mpd() [all …]
|
/freebsd/sys/geom/mountver/ |
H A D | g_mountver.c | 104 gp = cp->geom; in g_mountver_done() 163 gp = bp->bio_to->geom; in g_mountver_queue() 215 gp = bp->bio_to->geom; in g_mountver_start() 252 gp = pp->geom; in g_mountver_access() 288 LIST_FOREACH(gp, &mp->geom, geom) { in g_mountver_create() 433 LIST_FOREACH(gp, &mp->geom, geom) { in g_mountver_find_geom() 497 sc = cp->geom->softc; in g_mountver_orphan() 513 gp = cp->geom; in g_mountver_resize() 571 LIST_FOREACH(gp, &mp->geom, geom) { in g_mountver_taste() 666 LIST_FOREACH_SAFE(gp, &mp->geom, geom, gp2) { in g_mountver_shutdown_pre_sync()
|
/freebsd/tools/test/stress2/misc/ |
H A D | gpt.sh | 38 geom part create -s GPT "$md_unit" 39 geom part add -s 10M -t linux-swap -l tst0 "$md_unit" 40 geom part resize -i 1 -s 20M "$md_unit"
|
H A D | graid1.sh | 50 old=`sysctl -n kern.geom.mirror.debug` 51 sysctl kern.geom.mirror.debug=-1 | grep -q -- -1 || 52 sysctl kern.geom.mirror.debug=$old > /dev/null 56 sleep $((`sysctl -n kern.geom.mirror.timeout` + 1))
|
H A D | graid1_4.sh | 46 old=`sysctl -n kern.geom.mirror.debug` 47 sysctl kern.geom.mirror.debug=-1 | grep -q -- -1 || 48 sysctl kern.geom.mirror.debug=$old > /dev/null 64 sleep $((`sysctl -n kern.geom.mirror.timeout` + 1))
|
/freebsd/share/examples/csh/ |
H A D | dot.cshrc | 45 'n/add/x:-t type [-a alignment] [-b start] [-s size] [-i index] [-l label] -f flags geom/' \ 46 'n/backup/x:geom/' \ 47 'n/bootcode/x:[-b bootcode] [-p partcode -i index] [-f flags] geom/' \ 48 'n/commit/x:geom/' \ 50 'n/delete/x:-i index [-f flags] geom/' \ 51 'n/destroy/x:[-F] [-f flags] geom/' \ 52 'n/modify/x:-i index [-l label] [-t type] [-f flags] geom/' \ 53 'n/recover/x:[-f flags] geom/' \ 54 'n/resize/x:-i index [-a alignment] [-s size] [-f flags] geom/' \ 56 'n/set/x:-a attrib -i index [-f flags] geom/' \ [all …]
|