Home
last modified time | relevance | path

Searched refs:SUPERBLOCK (Results 1 – 5 of 5) sorted by relevance

/xen/tools/libfsimage/ufs/
A Dfsys_ufs.c52 MAXBSIZE < SUPERBLOCK->fs_bsize) in ufs_mount()
113 size = SUPERBLOCK->fs_bsize; in ufs_read()
156 dblk = fsbtodb(SUPERBLOCK, itod(SUPERBLOCK, inode)); in openi()
182 bound = UFS_NINDIR(SUPERBLOCK); in sbmap()
186 bound *= UFS_NINDIR(SUPERBLOCK); in sbmap()
198 blkno = fsbtodb(SUPERBLOCK, nb); in sbmap()
204 bound /= UFS_NINDIR(SUPERBLOCK); in sbmap()
211 blkno = fsbtodb(SUPERBLOCK, nb); in sbmap()
217 bound /= UFS_NINDIR(SUPERBLOCK); in sbmap()
241 off = blkoff(SUPERBLOCK, loc); in dlook()
[all …]
/xen/tools/libfsimage/ext2fs/
A Dfsys_ext2fs.c286 #define SUPERBLOCK \ macro
334 (char *) SUPERBLOCK) in ext2fs_mount()
335 || SUPERBLOCK->s_magic != EXT2_SUPER_MAGIC) in ext2fs_mount()
349 EXT2_BLOCK_SIZE (SUPERBLOCK), (char *) buffer); in ext2_rdfsb()
544 size = EXT2_BLOCK_SIZE (SUPERBLOCK); in ext2fs_read()
660 EXT2_DESC_PER_BLOCK (SUPERBLOCK)); in ext2fs_dir()
670 inodes_per_block = EXT2_BLOCK_SIZE (SUPERBLOCK) / EXT2_INODE_SIZE(SUPERBLOCK); in ext2fs_dir()
686 EXT2_INODE_SIZE (SUPERBLOCK)); in ext2fs_dir()
689 EXT2_INODES_PER_BLOCK (SUPERBLOCK), EXT2_INODE_SIZE (SUPERBLOCK)); in ext2fs_dir()
846 blk = loc >> EXT2_BLOCK_SIZE_BITS (SUPERBLOCK); in ext2fs_dir()
[all …]
/xen/stubdom/grub.patches/
A D40ext3_256byte_inode.diff66 +#define EXT2_INODE_SIZE(s) (SUPERBLOCK->s_inode_size)
91 (((current_ino - 1) % (SUPERBLOCK->s_inodes_per_group))
92 - >> log2 (EXT2_BLOCK_SIZE (SUPERBLOCK) / sizeof (struct ext2_inode)));
93 + >> log2 (EXT2_INODES_PER_BLOCK (SUPERBLOCK)));
103 - & (EXT2_BLOCK_SIZE (SUPERBLOCK) / sizeof (struct ext2_inode) - 1));
105 + ((current_ino - 1) & (EXT2_INODES_PER_BLOCK (SUPERBLOCK) - 1)) *
106 + EXT2_INODE_SIZE (SUPERBLOCK));
109 - (EXT2_BLOCK_SIZE (SUPERBLOCK) / sizeof (struct ext2_inode)),
111 + EXT2_INODES_PER_BLOCK (SUPERBLOCK), EXT2_INODE_SIZE (SUPERBLOCK));
A D60ext4.diff247 [logical_block & (EXT2_ADDR_PER_BLOCK (SUPERBLOCK) - 1)];
371 logical_block = filepos >> EXT2_BLOCK_SIZE_BITS (SUPERBLOCK);
372 offset = filepos & (EXT2_BLOCK_SIZE (SUPERBLOCK) - 1);
374 + if (EXT4_HAS_INCOMPAT_FEATURE(SUPERBLOCK,EXT4_FEATURE_INCOMPAT_EXTENTS)
397 + desc * EXT2_DESC_SIZE(SUPERBLOCK));
398 + if (EXT4_HAS_INCOMPAT_FEATURE(SUPERBLOCK, EXT4_FEATURE_INCOMPAT_64BIT)
405 (((current_ino - 1) % (SUPERBLOCK->s_inodes_per_group))
406 >> log2 (EXT2_INODES_PER_BLOCK (SUPERBLOCK)));
450 blk = loc >> EXT2_BLOCK_SIZE_BITS (SUPERBLOCK);
456 + if (EXT4_HAS_INCOMPAT_FEATURE(SUPERBLOCK,EXT4_FEATURE_INCOMPAT_EXTENTS)
A D50fs_fulldisk.diff36 || !devread (SBLOCK, 0, SBSIZE, (char *) SUPERBLOCK)

Completed in 7 milliseconds