Home
last modified time | relevance | path

Searched refs:ctrl_props (Results 1 – 1 of 1) sorted by relevance

/freebsd/usr.sbin/mfiutil/
H A Dmfi_properties.c72 struct mfi_ctrl_props ctrl_props; in mfi_ctrl_rebuild_rate() local
86 error = mfi_ctrl_get_properties(fd, &ctrl_props); in mfi_ctrl_rebuild_rate()
97 ctrl_props.rebuild_rate = atoi(av[ac - 1]); in mfi_ctrl_rebuild_rate()
98 error = mfi_ctrl_set_properties(fd, &ctrl_props); in mfi_ctrl_rebuild_rate()
106 error = mfi_ctrl_get_properties(fd, &ctrl_props); in mfi_ctrl_rebuild_rate()
115 ctrl_props.rebuild_rate); in mfi_ctrl_rebuild_rate()
124 struct mfi_ctrl_props ctrl_props; in mfi_ctrl_alarm_enable() local
138 error = mfi_ctrl_get_properties(fd, &ctrl_props); in mfi_ctrl_alarm_enable()
146 (ctrl_props.alarm_enable ? "enabled" : "disabled")); in mfi_ctrl_alarm_enable()
149 ctrl_props.alarm_enable = atoi(av[ac - 1]); in mfi_ctrl_alarm_enable()
[all …]