Lines Matching defs:erase
145 static void erase(smedia_handle_t handle, diskaddr_t offset, diskaddr_t size);
1498 * purpose : quick format does not erase the data on Iomega
1502 * erase first 64K of each partition.
1504 * erase first 64k of each slice.
1505 * Then erase the 0th sector (the home for vtoc and fdisk) of the disk.
1544 erase(handle, sol_offset, sol_size);
1552 erase(handle, (diskaddr_t)fdisk.part[i].relsect,
1572 /* No valid vtoc, erase fdisk table. */
1573 erase(handle, (diskaddr_t)0, (diskaddr_t)1);
1588 /* No valid vtoc, erase from 0th sector */
1589 erase(handle, (diskaddr_t)0,
1597 erase(handle, sol_offset + t_vtoc.v_part[i].p_start,
1601 * erase sectors 256, (p_size-256) and psize.
1603 erase(handle,
1606 erase(handle,
1610 erase(handle,
1618 * If x86 fdisk solaris partition, erase the vtoc also.
1622 erase(handle, sol_offset, (diskaddr_t)DK_LABEL_LOC + 2);
1626 * erase the 0th sector, it is not guaranteed to be
1630 erase(handle, (diskaddr_t)0, (diskaddr_t)1);
1634 * void erase(smedia_handle_t handle, uint32_t offset, uint32_t size)
1641 erase(smedia_handle_t handle, diskaddr_t offset, diskaddr_t size)