Lines Matching defs:disk
117 mpt_lock_physdisk(struct mpt_standalone_disk *disk)
122 snprintf(path, sizeof(path), "%s%s", _PATH_DEV, disk->devname);
126 warn("Unable to lock disk %s", disk->devname);
173 * Mark a standalone disk as being a physical disk.
176 mpt_create_physdisk(int fd, struct mpt_standalone_disk *disk, U8 *PhysDiskNum)
198 config_page->PhysDiskBus = disk->bus;
199 config_page->PhysDiskID = disk->target;
221 * implement it by deleting each array and disk by hand.
229 IOC_3_PHYS_DISK *disk;
289 warn("Failed to delete physical disk %d",
299 disk = ioc3->PhysDisk;
300 for (i = 0; i < ioc3->NumPhysDisks; disk++, i++)
301 if (mpt_delete_physdisk(fd, disk->PhysDiskNum) < 0)
302 warn("Failed to delete physical disk %d",
303 disk->PhysDiskNum);
412 /* See if it is a standalone disk. */
421 /* Lock the disk, we will create phys disk pages later. */
447 "Failed to create physical disk page for %s",
698 warn("Failed to fetch standalone disk list");
922 warn("Failed to fetch standalone disk list");
938 warn("Failed to create physical disk page");
1014 warn("Failed to delete physical disk page");
1050 warn("Failed to fetch standalone disk list");
1065 warn("Failed to create physical disk page");
1118 warn("Failed to delete physical disk page");