Lines Matching refs:bt
48 boot_block_t bt;
62 bt.bb_magic = htonl(0x0052504F);
65 bt.bb_dest = htonl(strtoul(argv[3], NULL, 0));
66 bt.bb_entry_point = htonl(strtoul(argv[4], NULL, 0));
72 bt.bb_num_512blocks = htonl(nblks);
73 bt.bb_debug_flag = 0;
75 bt.bb_checksum = 0;
79 bt.reserved[0] = 0;
80 bt.reserved[1] = 0;
93 cp = (void *)&bt;
94 for (i = 0; i < sizeof(bt) / sizeof(unsigned int); i++)
119 if (write(out_fd, &bt, sizeof(bt)) != sizeof(bt)) {
140 bt.bb_checksum = htonl(cksum);
145 if (write(out_fd, &bt, sizeof(bt)) != sizeof(bt)) {