Lines Matching refs:mirror

51 #define	ELEMENT_MIRROR			"mirror"
420 * Set the device size (for volume, mirror, stripe, concat) in bytes
442 * Get the device size (for volume, mirror, stripe, concat) in bytes
576 * Set the number of subcomponents in mirror
578 * @param mirror
579 * a devconfig_t representing the mirror to modify
583 * mirror
592 extern int devconfig_set_mirror_nsubs(devconfig_t *mirror, uint16_t nsubs);
595 * Get number of subcomponents in mirror
601 * RETURN: number of subcomponents in mirror
610 extern int devconfig_get_mirror_nsubs(devconfig_t *mirror, uint16_t *nsubs);
613 * Set the read strategy for mirror
615 * @param mirror
616 * a devconfig_t representing the mirror to modify
619 * the value to set as the read strategy for mirror
629 devconfig_t *mirror, mirror_read_strategy_t read);
632 * Get read strategy for mirror
638 * RETURN: read strategy for mirror
648 devconfig_t *mirror, mirror_read_strategy_t *read);
651 * Set the write strategy for mirror
653 * @param mirror
654 * a devconfig_t representing the mirror to modify
657 * the value to set as the write strategy for mirror
667 devconfig_t *mirror, mirror_write_strategy_t write);
670 * Get write strategy for mirror
676 * RETURN: write strategy for mirror
686 devconfig_t *mirror, mirror_write_strategy_t *write);
689 * Set the resync pass for mirror
691 * @param mirror
692 * a devconfig_t representing the mirror to modify
695 * the value to set as the resync pass for mirror
704 extern int devconfig_set_mirror_pass(devconfig_t *mirror, uint16_t pass);
707 * Get resync pass for mirror
713 * RETURN: resync pass for mirror
722 extern int devconfig_get_mirror_pass(devconfig_t *mirror, uint16_t *pass);
843 * If 0, a stripe will be created. If > 0, a mirror with
912 * Set the HSP creation option (for volume, stripe, concat, mirror)
930 * Get HSP creation option (for volume, stripe, concat, mirror)
937 * concat, mirror)
960 * Get the string representation of the mirror's read strategy
971 * Get the string representation of the mirror's write strategy