Home | History | Annotate | Download | only in dos

Lines Matching defs:dev_fd

572 static void move_file(int dev_fd, char *pathname, char *filename)
579 new_name[0] = dev_fd | 0x40;
616 int dev_fd, fd;
657 dev_fd = (opt.device[0] & ~0x20) - 0x40;
658 if (dev_fd < 1 || dev_fd > 26 || opt.device[1] != ':' || opt.device[2])
661 set_lock_device(dev_fd);
664 read_device(dev_fd, sectbuf, 1, 0);
677 ldlinux_name[0] = dev_fd | 0x40;
678 ldlinuxc32_name[0] = dev_fd | 0x40;
703 fs = libfat_open(libfat_xpread, dev_fd);
719 move_file(dev_fd, ldlinux_name, "ldlinux.sys");
720 move_file(dev_fd, ldlinuxc32_name, "ldlinux.c32");
737 write_device(dev_fd, sectbuf, 1, sectors[i]);
743 adjust_mbr(dev_fd, opt.install_mbr, opt.activate_partition);
750 read_device(dev_fd, sectbuf, 1, 0);
762 write_device(dev_fd, sectbuf, 1, 0);