Home | History | Annotate | Download | only in raidframe

Lines Matching defs:component

542  * In order to find the boot wedge, we must iterate on each component, 
581 "component /dev/%s", __func__, devname);
835 is relative to the partition used for the underlying component.
864 Look for a component to dump to. The preference for the
865 component to dump to is as follows:
866 1) the first component
867 2) a used_spare of the first component
868 3) the second component
869 4) a used_spare of the second component
882 At this point we have possibly selected a live component.
883 If we didn't find a live component, we now check to see
884 if there is a relevant spared component.
902 component! We'll take that over
905 component before, since this is a
908 component.) On reboot (with
911 component (component0) of this set.
917 Must be a spared second component.
1231 /* some other component has failed. Let's not make
1410 printf("raid%d: Got component label:\n", raidid);
1484 RF_SingleComponent_t component;
1485 memcpy(&component, componentPtr, sizeof(RF_SingleComponent_t));
1486 component.row = 0; /* we don't support any more */
1487 int column = component.column;
1497 /* some component other than this has failed.
1564 rf_copy_single_component(RF_SingleComponent_t *component, void *data)
1567 memcpy(component, data, sizeof *component);
1568 component->component_name[sizeof(component->component_name) - 1] = '\0';
1581 RF_SingleComponent_t component;
1679 rf_copy_single_component(&component, data);
1680 return rf_add_hot_spare(raidPtr, &component);
1682 /* Remove a non hot-spare component, never implemented in userland */
1684 rf_copy_single_component(&component, data);
1685 return rf_delete_component(raidPtr, &component);
1688 rf_copy_single_component(&component, data);
1689 return rf_remove_component(raidPtr, &component);
1692 rf_copy_single_component(&component, data);
1693 return rf_incorporate_hot_spare(raidPtr, &component);
2232 * ballistic, and mark the component as hosed... */
2451 * Everything in the component label is 4-byte-swapped except the version,
2510 component is not valid.
2511 Don't try to read a component label from it. */
2582 printf("Failed to write RAID component info!\n");
2864 the clean bit on each component label will get
2925 printf("Component on: %s: %llu\n",
3078 rf_part_found = 1; /*There is a raid component on this disk*/
3142 *If there is no raid component on this disk, either in a
3210 * For reasons yet unknown, some old component labels have garbage in
3303 /* which set does this component fit into? */
3455 if (c%2 == 0) { /* even component */
3457 } else { /* odd component. If
3460 component, it's
3472 /* Just did an even component, and we didn't
3474 and go on to the next component.... */
3864 printf("raid%d: get cache for component %s failed\n",
3899 printf("raid%d: cache flush[%d] to component %s failed (%d)\n",