Searched refs:ebr_buf (Results 1 – 1 of 1) sorted by relevance
/titanic_50/usr/src/lib/libfdisk/common/ |
H A D | libfdisk.c | 1072 read_modify_write_ebr(ext_part_t *epp, unsigned char *ebr_buf, in read_modify_write_ebr() argument 1083 if (read(epp->dev_fd, ebr_buf, sectsize) < sectsize) { in read_modify_write_ebr() 1087 bzero(&ebr_buf[FDISK_PART_TABLE_START], 4 * sizeof (struct ipart)); in read_modify_write_ebr() 1089 bcopy(ebr_tab, &ebr_buf[FDISK_PART_TABLE_START], in read_modify_write_ebr() 1092 ebr_buf[510] = 0x55; in read_modify_write_ebr() 1093 ebr_buf[511] = 0xAA; in read_modify_write_ebr() 1097 if (write(epp->dev_fd, ebr_buf, sectsize) < sectsize) { in read_modify_write_ebr() 1188 unsigned char *ebr_buf; in fdisk_commit_ext_part() local 1193 if ((ebr_buf = (unsigned char *)malloc(sectsize)) == NULL) { in fdisk_commit_ext_part() 1217 rval = read_modify_write_ebr(epp, ebr_buf, in fdisk_commit_ext_part() [all …]
|