Searched refs:fs_bsize (Results 1 - 7 of 7) sorted by relevance
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_ffs.c | 111 if (MAPBUF_LEN < SUPERBLOCK->fs_bsize) 116 if (offset + MAPBUF_LEN > SUPERBLOCK->fs_bsize) 117 offset = (SUPERBLOCK->fs_bsize - MAPBUF_LEN) / sizeof (int); 121 bsize = SUPERBLOCK->fs_bsize; 213 fsmax = (NDADDR + NINDIR (SUPERBLOCK)) * SUPERBLOCK->fs_bsize;
|
H A D | fsys_ufs2.c | 136 if (MAPBUF_LEN < SUPERBLOCK->fs_bsize) 141 if (offset + MAPBUF_LEN > SUPERBLOCK->fs_bsize) 142 offset = (SUPERBLOCK->fs_bsize - MAPBUF_LEN) / sizeof (int); 146 bsize = SUPERBLOCK->fs_bsize; 238 fsmax = (NDADDR + NINDIR (SUPERBLOCK)) * SUPERBLOCK->fs_bsize;
|
H A D | fsys_ufs.c | 114 size = SUPERBLOCK->fs_bsize; 199 if (!devread(blkno, 0, SUPERBLOCK->fs_bsize, 212 if (!devread(blkno, 0, SUPERBLOCK->fs_bsize, 252 if (!devread(dblk, 0, SUPERBLOCK->fs_bsize,
|
H A D | fs.h | 160 int fs_bsize; /* size of basic blocks in fs */ member in struct:fs 401 #define blkoff(fs, loc) /* calculates (loc % fs->fs_bsize) */ \ 405 #define lblkno(fs, loc) /* calculates (loc / fs->fs_bsize) */ \ 409 #define blkroundup(fs, size) /* calculates roundup(size, fs->fs_bsize) */ \ 410 (((size) + (fs)->fs_bsize - 1) & (fs)->fs_bmask) 435 ? (fs)->fs_bsize \ 439 ? (fs)->fs_bsize \
|
H A D | ufs2.h | 257 grub_int32_t fs_bsize; /* size of basic blocks in fs */ member in struct:fs 327 grub_int32_t fs_save_cgsize; /* save real cg size to use fs_bsize */ 384 #define blkoff(fs, loc) /* calculates (loc % fs->fs_bsize) */ \ 388 #define smalllblktosize(fs, blk) /* calculates (blk * fs->fs_bsize) */ \ 392 #define lblkno(fs, loc) /* calculates (loc / fs->fs_bsize) */ \ 412 ? (fs)->fs_bsize \ 416 ? (fs)->fs_bsize \
|
H A D | ufs.h | 75 grub_int32_t fs_bsize; /* size of basic blocks in fs */ member in struct:fs
|
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ufs/ |
H A D | ufs.c | 72 uint32_t fs_bsize; /* size of basic blocks in fs */ member in struct:ufs_super_block 192 PedSector block_size = PED_BE32_TO_CPU(sb->fs_bsize) / 512; 198 PedSector block_size = PED_LE32_TO_CPU(sb->fs_bsize) / 512; 226 block_size = PED_BE32_TO_CPU(sb->fs_bsize) / 512; 237 block_size = PED_LE32_TO_CPU(sb->fs_bsize) / 512;
|
Completed in 32 milliseconds