Lines Matching defs:volume
47 MPT_TABLE(top, volume);
77 warnx("name: volume and name required");
95 warnc(error, "Invalid volume: %s", av[1]);
102 warn("Failed to fetch volume names");
113 printf("mpt%u changing volume %s name from \"%s\" to \"%s\"\n",
121 warn("Failed to set volume name");
145 warnx("volume status: %s", ac > 2 ? "extra arguments" :
146 "volume required");
159 warnc(error, "Invalid volume: %s", av[1]);
168 warnc(error, "Fetching volume status failed");
201 MPT_COMMAND(volume, status, volume_status);
206 CONFIG_PAGE_RAID_VOL_0 *volume;
213 warnx("volume cache: %s", ac > 3 ? "extra arguments" :
222 warnx("volume cache: invalid flag, must be 'enable' or 'disable'\n");
235 warnc(error, "Invalid volume: %s", av[1]);
240 volume = mpt_vol_info(fd, VolumeBus, VolumeID, NULL);
241 if (volume == NULL) {
246 Settings = volume->VolumeSettings.Settings;
255 warnx("volume cache unchanged");
256 free(volume);
261 volume->VolumeSettings.Settings = NewSettings;
263 VolumeBus, VolumeID, 0, *(U32 *)&volume->VolumeSettings, NULL, 0,
266 warnc(error, "volume cache change failed");
271 MPT_COMMAND(volume, cache, volume_cache);