Lines Matching defs:bt
47 boot_block_t bt;
61 bt.bb_magic = htonl(0x0052504F);
64 bt.bb_dest = htonl(strtoul(argv[3], NULL, 0));
65 bt.bb_entry_point = htonl(strtoul(argv[4], NULL, 0));
71 bt.bb_num_512blocks = htonl(nblks);
72 bt.bb_debug_flag = 0;
74 bt.bb_checksum = 0;
78 bt.reserved[0] = 0;
79 bt.reserved[1] = 0;
92 cp = (void *)&bt;
93 for (i = 0; i < sizeof(bt) / sizeof(unsigned int); i++)
118 if (write(out_fd, &bt, sizeof(bt)) != sizeof(bt)) {
139 bt.bb_checksum = htonl(cksum);
144 if (write(out_fd, &bt, sizeof(bt)) != sizeof(bt)) {