Searched refs:DEV_BSIZE (Results 1 - 8 of 8) sorted by relevance

/external/grub/stage2/
H A Ddir.h74 #define DIRBLKSIZ DEV_BSIZE
120 #ifndef DEV_BSIZE
121 #define DEV_BSIZE 512 macro
H A Ddefs.h37 #define DEV_BSIZE 512 macro
77 * Note that the disk devices are assumed to have DEV_BSIZE "sectors"
H A Dfsys_minix.c36 /* sizes are always in bytes, BLOCK values are always in DEV_BSIZE (sectors) */
37 #define DEV_BSIZE 512 macro
46 #define SBLOCK (WHICH_SUPER * BLOCK_SIZE / DEV_BSIZE) /* = 2 */
169 (sizeof (struct minix_super_block) / DEV_BSIZE)))
195 return devread (fsblock * (BLOCK_SIZE / DEV_BSIZE), 0,
273 devread (map * (BLOCK_SIZE / DEV_BSIZE),
H A Dfsys_ext2fs.c27 /* sizes are always in bytes, BLOCK values are always in DEV_BSIZE (sectors) */
28 #define DEV_BSIZE 512 macro
35 #define SBLOCK (WHICH_SUPER * BLOCK_SIZE / DEV_BSIZE) /* = 2 */
262 || part_length < (SBLOCK + (sizeof (struct ext2_super_block) / DEV_BSIZE))
278 return devread (fsblock * (EXT2_BLOCK_SIZE (SUPERBLOCK) / DEV_BSIZE), 0,
440 devread (map * (EXT2_BLOCK_SIZE (SUPERBLOCK) / DEV_BSIZE),
486 ea_blocks = INODE->i_file_acl ? EXT2_BLOCK_SIZE (SUPERBLOCK) / DEV_BSIZE : 0;
H A Dfsys_ffs.c87 || part_length < (SBLOCK + (SBSIZE / DEV_BSIZE))
H A Dfsys_ufs2.c95 if (! (part_length < (sblock_try[i] + (SBLOCKSIZE / DEV_BSIZE))
H A Dfs.h74 #define SBLOCK ((mach_daddr_t)(BBLOCK + BBSIZE / DEV_BSIZE))
80 * addressible; these pieces may be DEV_BSIZE, or some multiple of
81 * a DEV_BSIZE unit.
443 * Number of disk sectors per block; assumes DEV_BSIZE byte sector size.
H A Dufs2.h71 #define DEV_BSIZE 512 macro

Completed in 124 milliseconds