tag | line | file | source code |
bootblock | 22 | arch/alpha/boot/tools/build.c | unsigned long bootblock[64]; |
bootblock | 77 | arch/alpha/boot/tools/build.c | memcpy(bootblock, "Linux Test", 10); |
bootblock | 78 | arch/alpha/boot/tools/build.c | bootblock[60] = BOOT_SIZE / 512; /* count */ |
bootblock | 79 | arch/alpha/boot/tools/build.c | bootblock[61] = 1; /* starting LBM */ |
bootblock | 80 | arch/alpha/boot/tools/build.c | bootblock[62] = 0; /* flags */ |
bootblock | 83 | arch/alpha/boot/tools/build.c | tmp += bootblock[i]; |
bootblock | 84 | arch/alpha/boot/tools/build.c | bootblock[63] = tmp; |
bootblock | 85 | arch/alpha/boot/tools/build.c | if (write(1, (char *) bootblock, 512) != 512) { |
bootblock | 86 | arch/alpha/boot/tools/mkbb.c | bootblock bootblock_from_disk; |
bootblock | 87 | arch/alpha/boot/tools/mkbb.c | bootblock bootloader_image; |
bootblock | 114 | arch/alpha/boot/tools/mkbb.c | nread = read(fd, &bootloader_image, sizeof(bootblock)); |
bootblock | 115 | arch/alpha/boot/tools/mkbb.c | if(nread != sizeof(bootblock)) { |
bootblock | 117 | arch/alpha/boot/tools/mkbb.c | fprintf(stderr, "expected %d, got %d\n", sizeof(bootblock), nread); |
bootblock | 122 | arch/alpha/boot/tools/mkbb.c | nread = read(dev, &bootblock_from_disk, sizeof(bootblock)); |
bootblock | 123 | arch/alpha/boot/tools/mkbb.c | if(nread != sizeof(bootblock)) { |
bootblock | 125 | arch/alpha/boot/tools/mkbb.c | fprintf(stderr, "expected %d, got %d\n", sizeof(bootblock), nread); |
bootblock | 141 | arch/alpha/boot/tools/mkbb.c | if(write(dev, &bootloader_image, sizeof(bootblock)) != sizeof(bootblock)) { |
bootblock | 337 | fs/hpfs/hpfs_fs.c | struct hpfs_boot_block *bootblock; |
bootblock | 379 | fs/hpfs/hpfs_fs.c | bootblock = map_sector(dev, 0, &bh0); |
bootblock | 380 | fs/hpfs/hpfs_fs.c | if (!bootblock) |
bootblock | 396 | fs/hpfs/hpfs_fs.c | if (bootblock->magic != 0xaa55 |
bootblock | 399 | fs/hpfs/hpfs_fs.c | || bootblock->sig_28h != 0x28 |
bootblock | 400 | fs/hpfs/hpfs_fs.c | || memcmp(&bootblock->sig_hpfs, "HPFS ", 8) |
bootblock | 401 | fs/hpfs/hpfs_fs.c | || little_ushort(bootblock->bytes_per_sector) != 512) { |