Home
last modified time | relevance | path

Searched refs:ldlinux_sectors (Results 1 – 4 of 4) sorted by relevance

/external/syslinux/linux/
Dsyslinux.c270 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/
Dsyslinux.c202 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/
Dsyslinux.c308 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/
Dsyslinux.c622 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()