Home | History | Annotate | Download | only in libdiskconfig

Lines Matching refs:item

74     struct write_list *item;
82 if (!(item = alloc_wl(sizeof(struct pc_partition)))) {
91 item->offset = (loff_t)((uintptr_t)((uint8_t *)(&mbr->ptable[pnum])));
94 pentry = (struct pc_partition *) &item->data;
129 return item;
144 struct write_list *item;
148 if (!(item = alloc_wl(sizeof(struct pc_boot_record)))) {
155 item->offset = ((loff_t)(*lba)) * dinfo->sect_size;
158 ebr = (struct pc_boot_record *) &item->data;
203 return item;
206 free_wl(item);
214 struct write_list *item;
215 if (!(item = alloc_wl(sizeof(uint16_t)))) {
224 item->offset = (loff_t)((uintptr_t)((uint8_t *)(&mbr->mbr_sig)));
227 *((uint16_t*)item->data) = PC_BIOS_BOOT_SIG;
228 return item;