Searched refs:SECTOR_SIZE (Results 1 - 13 of 13) sorted by relevance
/external/grub/stage2/ |
H A D | stage1_5.c | 44 grub_read ((char *) 0x8000, SECTOR_SIZE * 2); 54 ret = grub_read ((char *) 0x8000 + SECTOR_SIZE * 2, -1);
|
H A D | builtins.c | 156 && offset == 0 && last_length == SECTOR_SIZE) 164 if (last_length == SECTOR_SIZE) 429 if (grub_read ((char *) BOOTSEC_LOCATION, SECTOR_SIZE) != SECTOR_SIZE) 1057 size = (len + SECTOR_SIZE - 1) / SECTOR_SIZE; 1068 char mbr[SECTOR_SIZE]; 1069 char ezbios_check[2*SECTOR_SIZE]; 1084 if (! rawread (current_drive, PC_MBR_SECTOR, 0, SECTOR_SIZE, mbr)) 1106 if (! rawread (current_drive, 1, 0, 2 * SECTOR_SIZE, ezbios_chec [all...] |
H A D | disk_io.c | 311 byte_offset &= SECTOR_SIZE - 1; 350 memmove ((char *) SCRATCHADDR, buf, SECTOR_SIZE); 461 if (! rawread (saved_drive, 0, 0, SECTOR_SIZE, mbr)) 604 0, SECTOR_SIZE, buf)) 659 if (! rawread (drive, *offset, 0, SECTOR_SIZE, buf)) 759 char buf[SECTOR_SIZE]; 1134 0, SECTOR_SIZE, (char *) SCRATCHADDR)) 1599 filemax += (tmp * SECTOR_SIZE); 1690 if ((filepos - (BLK_CUR_FILEPOS & ~(SECTOR_SIZE - 1))) 1691 >= SECTOR_SIZE) [all...] |
H A D | fsys_fat.c | 156 || FAT_CVT_U16(bpb.bytes_per_sect) != SECTOR_SIZE 160 || (FAT_SUPER->fat_size * FAT_SUPER->num_clust / (2 * SECTOR_SIZE) 239 FAT_SUPER->cached_fat = (fat_entry & ~(2*SECTOR_SIZE - 1)); 242 + FAT_SUPER->cached_fat / (2*SECTOR_SIZE);
|
H A D | bios.c | 173 geometry->sector_size = SECTOR_SIZE; 288 geometry->sector_size = SECTOR_SIZE; 315 geometry->sector_size = SECTOR_SIZE;
|
H A D | start_eltorito.S | 118 ljmp $0, $(STAGE_ADDR+SECTOR_SIZE) /* jump to main() in asm.S */ 309 . = _start + SECTOR_SIZE - BOOTSEC_LISTSIZE 324 .word (STAGE_ADDR + SECTOR_SIZE) >> 4
|
H A D | boot.c | 268 text_len = filemax - data_len - SECTOR_SIZE; 376 /* It is possible that DATA_LEN + SECTOR_SIZE is greater than 378 if (data_len + SECTOR_SIZE <= MULTIBOOT_SEARCH) 380 data_len + SECTOR_SIZE); 385 data_len + SECTOR_SIZE - MULTIBOOT_SEARCH); 444 grub_seek (data_len + SECTOR_SIZE);
|
H A D | fsys_reiserfs.c | 295 #define FSYSREISER_MIN_BLOCKSIZE SECTOR_SIZE 326 /* SECTOR_SIZE << blocksize_shift == blocksize. */ 627 || (SECTOR_SIZE << INFO->blocksize_shift) != super.s_blocksize)
|
H A D | shared.h | 171 #define SECTOR_SIZE 0x200 macro
|
/external/grub/grub/ |
H A D | asmstub.c | 949 offset = (loff_t) sector * (loff_t) SECTOR_SIZE; 955 off_t offset = (off_t) sector * (off_t) SECTOR_SIZE; 974 if (nread (fd, buf, SECTOR_SIZE) != SECTOR_SIZE) 976 buf += SECTOR_SIZE; 980 if (nread (fd, buf, nsec * SECTOR_SIZE) != nsec * SECTOR_SIZE) 990 hex_dump (buf, nsec * SECTOR_SIZE); 993 if (nwrite (fd, buf, nsec * SECTOR_SIZE) != nsec * SECTOR_SIZE) [all...] |
/external/grub/lib/ |
H A D | device.c | 149 geom->sector_size = SECTOR_SIZE; 884 offset = (loff_t) sector * (loff_t) SECTOR_SIZE; 893 off_t offset = (off_t) sector * (off_t) SECTOR_SIZE; 903 if (write (fd, buf, size * SECTOR_SIZE) != (size * SECTOR_SIZE))
|
/external/qemu/block/ |
H A D | vmdk.c | 105 #define SECTOR_SIZE 512 macro 106 #define DESC_SIZE 20*SECTOR_SIZE // 20 sectors of 512 bytes each 274 gd_offset = header.gd_offset * SECTOR_SIZE; // offset of GD table 275 rgd_offset = header.rgd_offset * SECTOR_SIZE; // offset of RGD table 276 capacity = header.capacity * SECTOR_SIZE; // Extent size 281 gt_size = (int64_t)header.num_gtes_per_gte * header.granularity * SECTOR_SIZE;
|
/external/kernel-headers/original/linux/ |
H A D | msdos_fs.h | 11 #define SECTOR_SIZE 512 /* sector size (bytes) */ macro 12 #define SECTOR_BITS 9 /* log2(SECTOR_SIZE) */ 15 #define MSDOS_DPS (SECTOR_SIZE / sizeof(struct msdos_dir_entry))
|
Completed in 301 milliseconds