Searched refs:ldlinux_sectors (Results 1 – 4 of 4) sorted by relevance
/external/syslinux/linux/ |
D | syslinux.c | 270 int ldlinux_sectors = (boot_image_len + SECTOR_SIZE - 1) >> SECTOR_SHIFT; in main() local 456 ldlinux_sectors += 2; /* 2 ADV sectors */ in main() 457 sectors = calloc(ldlinux_sectors, sizeof *sectors); in main() 458 if (sectmap(fd, sectors, ldlinux_sectors)) { in main() 502 i = syslinux_patch(sectors, ldlinux_sectors, opt.stupid_mode, in main()
|
/external/syslinux/mtools/ |
D | syslinux.c | 202 int ldlinux_sectors, patch_sectors; in main() local 319 ldlinux_sectors = (syslinux_ldlinux_len + 2 * ADV_SIZE in main() 321 sectors = calloc(ldlinux_sectors, sizeof *sectors); in main() 327 while (s && nsectors < ldlinux_sectors) { in main()
|
/external/syslinux/win/ |
D | syslinux.c | 308 int ldlinux_sectors; in main() local 439 ldlinux_sectors = (syslinux_ldlinux_len + 2 * ADV_SIZE + SECTOR_SIZE - 1) in main() 441 sectors = calloc(ldlinux_sectors, sizeof *sectors); in main() 467 while (len.QuadPart-- && nsectors < ldlinux_sectors) { in main() 479 while (s && nsectors < ldlinux_sectors) { in main()
|
/external/syslinux/dos/ |
D | syslinux.c | 622 int ldlinux_sectors; in main() local 699 ldlinux_sectors = (syslinux_ldlinux_len + 2 * ADV_SIZE in main() 701 sectors = calloc(ldlinux_sectors, sizeof *sectors); in main() 708 while (s && nsectors < ldlinux_sectors) { in main()
|