HomeSort by relevance Sort by last modified time
    Searched refs:superblock (Results 1 - 13 of 13) sorted by null

  /external/e2fsprogs/lib/ext2fs/
openfs.c 49 * the backup group descriptors and superblock --- so use the
62 errcode_t ext2fs_open(const char *name, int flags, int superblock,
66 return ext2fs_open2(name, 0, flags, superblock, block_size,
71 * Note: if superblock is non-zero, block-size must also be non-zero.
72 * Superblock and block_size can be zero to use the default size.
82 int flags, int superblock,
145 superblock = 1;
151 * superblock, then he/she must also specify the block size!
152 * Otherwise, read the master superblock located at offset
155 * Note: we only save a backup copy of the superblock if w
    [all...]
ext2fs.h 42 * Where the master copy of the superblock is located, and how big
44 * the size of the superblock structure is not necessarily trustworthy
45 * (some versions have the padding set up so that the superblock is
202 * EXT2_MKJOURNAL_V1_SUPER Make a (deprecated) V1 journal superblock
891 extern errcode_t ext2fs_open(const char *name, int flags, int superblock,
895 int flags, int superblock,
    [all...]
  /external/e2fsprogs/e2fsck/
util.c 411 blk_t superblock, ret_sb = 8193; local
417 ctx->superblock = ret_sb;
428 ctx->superblock = ret_sb;
431 ctx->superblock = ret_sb;
447 superblock = blocksize*8;
449 superblock++;
451 if (io_channel_read_blk(io, superblock,
460 ret_sb = superblock;
462 ctx->superblock = superblock;
    [all...]
e2fsck.c 155 /* Reset the superblock to the user's requested value */
156 ctx->superblock = ctx->use_superblock;
unix.c 78 _("Usage: %s [-panyrcdfvstDFSV] [-b superblock] [-B blocksize]\n"
92 " -b superblock Use alternative superblock\n"
93 " -B blocksize Force blocksize when looking for superblock\n"
288 reason = _(" primary superblock features different from backup");
945 ctx->superblock = ctx->use_superblock;
959 if (ctx->superblock && ctx->blocksize) {
961 flags, ctx->superblock, ctx->blocksize,
963 } else if (ctx->superblock) {
969 ctx->superblock, blocksize
    [all...]
e2fsck.h 169 #define E2F_FLAG_SB_SPECIFIED 0x0100 /* The superblock was explicitly
204 blk_t superblock; /* sb used to open fs */ member in struct:e2fsck_struct
journal.c 501 _("reading journal superblock\n"));
540 /* If we don't understand the superblock major type, but there
558 _("%s: no valid journal superblock found\n"),
592 /* Leave a valid existing V1 superblock signature alone.
602 /* Zero out everything else beyond the superblock header */
680 * This function makes sure that the superblock fields regarding the
767 if (ctx->superblock)
859 ctx->superblock, blocksize, io_ptr,
872 /* Set the superblock flags */
1003 * This function makes sure the superblock hint for the externa
    [all...]
  /external/e2fsprogs/po/
at-expand.pl 59 "#. %S backup superblock\n",
96 $msg =~ s/\@S/superblock/g;
  /external/grub/stage2/
fsys_reiserfs.c 567 /* check filesystem types and read superblock into memory buffer */
572 int superblock = REISERFS_DISK_OFFSET_IN_BYTES >> SECTOR_BITS; local
574 if (part_length < superblock + (sizeof (super) >> SECTOR_BITS)
575 || ! devread (superblock, 0, sizeof (struct reiserfs_super_block),
585 superblock = REISERFS_OLD_DISK_OFFSET_IN_BYTES >> SECTOR_BITS;
586 if (part_length < superblock + (sizeof (super) >> SECTOR_BITS)
587 || ! devread (superblock, 0, sizeof (struct reiserfs_super_block),
642 block_read (superblock >> INFO->blocksize_shift,
    [all...]
  /external/e2fsprogs/debugfs/
debugfs.c 45 static void open_filesystem(char *device, int open_flags, blk_t superblock,
52 if (superblock != 0 && blocksize == 0) {
53 com_err(device, 0, "if you specify the superblock, you must also specify the block size");
79 retval = ext2fs_open(device, open_flags, superblock, blocksize,
125 blk_t superblock = 0; local
158 superblock = parse_ulong(optarg, argv[0],
159 "superblock number", &err);
173 superblock, blocksize, catastrophic,
178 fprintf(stderr, "%s: Usage: open [-s superblock] [-b blocksize] "
1819 blk_t superblock = 0; local
    [all...]
  /external/e2fsprogs/misc/
dumpe2fs.c 53 fprintf (stderr, _("Usage: %s [-bfhixV] [-ob superblock] "
168 printf (_(" %s superblock at "),
293 /* Get the journal superblock */
296 _("while reading journal superblock"));
304 _("Couldn't find journal superblock magic numbers"));
326 static void parse_extended_opts(const char *opts, blk_t *superblock,
353 if (strcmp(token, "superblock") == 0 ||
360 *superblock = strtoul(arg, &p, 0);
363 _("Invalid superblock parameter: %s\n"),
394 "\tsuperblock=<superblock number>\n
    [all...]
  /external/yaffs2/yaffs2/
yaffs_guts.h 561 void *superBlock;
595 /* Callback to mark the superblock dirsty */
596 void (*markSuperBlockDirty)(void * superblock);
  /external/genext2fs/
genext2fs.c 518 } superblock; typedef in typeref:struct:__anon1917
581 superblock sb; // The superblock
623 swap_sb(superblock *sb)
891 error_msg_and_die("superblock free blocks count == 0 (corrupted fs?)");
936 error_msg_and_die("superblock free blocks count == 0 (corrupted fs?)");
    [all...]

Completed in 2555 milliseconds