• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/geom/virstor/

Lines Matching defs:component

256  * "add" verb from userland - add new component(s) to the structure.
269 const char *geom_name; /* geom to add a component to */
396 /* The new component becomes visible when n_components is
404 * a non-updated component is detected first */
407 LOG_MSG(LVL_INFO, "Added %d component(s) to %s", added,
485 * component of virstor
517 * Remove a component from virstor device.
518 * Can only be done if the component is unallocated.
585 LOG_MSG(LVL_ERROR, "No %s component in %s",
611 /* This is the critical section. If a component allocation
615 * Luckily, component allocation happens very rarely and
638 * a non-updated component is detected first */
642 LOG_MSG(LVL_INFO, "Removed %d component(s) from %s", removed,
647 * Clear metadata sector on component
876 * Remove a component (consumer) from geom instance; If it's the first
877 * component being removed, orphan the provider to announce geom's being
1126 struct g_virstor_component *component;
1135 component = &(sc->components[md->no]);
1136 if (component->gcons != NULL)
1170 /* Bring up a new component */
1171 cp->private = component;
1172 component->gcons = cp;
1173 component->sc = sc;
1174 component->index = md->no;
1175 component->chunk_count = md->chunk_count;
1176 component->chunk_next = md->chunk_next;
1177 component->chunk_reserved = md->chunk_reserved;
1178 component->flags = md->flags;
1278 /* find first component with allocatable chunks */
1288 /* not found? set it to the last component and handle it
1350 LOG_MSG(LVL_DEBUG, "%s starting with current component %u, starting "
1389 KASSERT(comp != NULL, ("%s: No component in private part of consumer",
1465 /* For each component */
1772 * Allocate a chunk from a physical provider. Returns physical component,
1773 * chunk index relative to the component and the component's index.
1788 /* This component is full. Allocate next component */
1820 /* Dump a component */