Searched refs:setup_sectors (Results 1 – 3 of 3) sorted by relevance
74 unsigned int i, c, sz, setup_sectors; in main() local132 setup_sectors = (i + 511) / 512; /* Pad unused space with zeros */ in main()134 if (setup_sectors < SETUP_SECTS) in main()135 setup_sectors = SETUP_SECTS; in main()138 while (i < setup_sectors * 512) { in main()139 c = setup_sectors * 512 - i; in main()178 buf[0] = setup_sectors; in main()
117 unsigned char setup_sectors; in main() local216 setup_sectors = (unsigned char)((i + 511) / 512); in main()218 if (setup_sectors < SETUP_SECTS) in main()219 setup_sectors = SETUP_SECTS; in main()223 while (i < setup_sectors * 512) { in main()224 c = setup_sectors * 512 - i; in main()278 if (write(1, &setup_sectors, 1) != 1) in main()