Searched refs:blocklist (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/boot/installgrub/
H A Dpcfs_glue.c38 * It's main functionality is to get the stage file blocklist. It's
50 static unsigned int *blocklist; variable
61 if (i >= 0 && (blocklist[i] + blocklist[i + 1] == blocknum)) {
62 blocklist[i + 1] += nblk;
71 blocklist[i] = blocknum;
72 blocklist[i + 1] = nblk;
161 * Get the blocklist for stage2
184 blocklist = blkbuf;
197 for (i = 0; blocklist[
[all...]
H A Dinstallgrub.c1389 uint32_t blocklist[SECTOR_SIZE / sizeof (uint32_t)]; local
1394 bzero(blocklist, sizeof (blocklist));
1395 if (read_stage2_blocklist(device->part_fd, blocklist) != 0) {
1397 "stage2 blocklist\n"));
1402 stage2->first_sector = device->start_sector + blocklist[0];
1403 stage2->pcfs_first_sectors[0] = blocklist[0];
1407 if (blocklist[1] > 1) {
1408 blocklist[0]++;
1409 blocklist[
[all...]

Completed in 59 milliseconds