Searched refs:superblock (Results 1 - 17 of 17) sorted by relevance

/external/valgrind/main/memcheck/tests/
H A Dclireq_nofill.c9 static struct super superblock = { 12345 }; variable in typeref:struct:super
15 VALGRIND_CREATE_MEMPOOL(&superblock, /*rzB=*/0, /*is_zeroed=*/0);
20 VALGRIND_MEMPOOL_ALLOC(&superblock, s, 40);
22 VALGRIND_MEMPOOL_FREE(&superblock, s);
24 VALGRIND_MEMPOOL_ALLOC(&superblock, s, 40);
27 VALGRIND_DESTROY_MEMPOOL(&superblock);
H A Dmempool2.c163 // to mark the superblock noaccess.
164 char superblock[100]; local
166 VALGRIND_CREATE_MEMPOOL(superblock, REDZONE_SIZE, 0);
167 // User should mark the superblock no access to benefit
171 VALGRIND_MEMPOOL_ALLOC(superblock, superblock+30, 10);
173 res += superblock[30]; // valid
174 res += superblock[39]; // valid
177 "\n------ 2 invalid access in 'no no-access superblock' ---\n\n");
178 res += superblock[2
[all...]
H A Dcustom_alloc.c60 is detected when the superblock was not marked as no access. */
61 char superblock[1 + RZ + 20 + RZ + 1]; local
62 char *p = 1 + RZ + superblock;
65 // Indicate we have allocated p from our superblock:
79 // Now, indicate we have re-allocated p from our superblock
117 array[10] = 10; // invalid write (ok w/o MALLOCLIKE -- in superblock)
H A Dmempool2.stderr.exp80 ------ 2 invalid access in 'no no-access superblock' ---
/external/e2fsprogs/lib/ext2fs/
H A Dopenfs.c48 * the backup group descriptors and superblock --- so use the
61 errcode_t ext2fs_open(const char *name, int flags, int superblock, argument
65 return ext2fs_open2(name, 0, flags, superblock, block_size,
70 * Note: if superblock is non-zero, block-size must also be non-zero.
81 int flags, int superblock,
149 superblock = 1;
155 * superblock, then he/she must also specify the block size!
156 * Otherwise, read the master superblock located at offset
159 * Note: we only save a backup copy of the superblock if we
160 * are reading the superblock fro
80 ext2fs_open2(const char *name, const char *io_options, int flags, int superblock, unsigned int block_size, io_manager manager, ext2_filsys *ret_fs) argument
[all...]
H A Dext2fs.h41 * Where the master copy of the superblock is located, and how big
43 * the size of the superblock structure is not necessarily trustworthy
44 * (some versions have the padding set up so that the superblock is
195 * EXT2_MKJOURNAL_V1_SUPER Make a (deprecated) V1 journal superblock
1086 extern errcode_t ext2fs_open(const char *name, int flags, int superblock,
1090 int flags, int superblock,
1284 * Mark a filesystem superblock as dirty
/external/e2fsprogs/e2fsck/
H A Dutil.c455 blk_t superblock, ret_sb = 8193; local
461 ctx->superblock = ret_sb;
472 ctx->superblock = ret_sb;
475 ctx->superblock = ret_sb;
491 superblock = blocksize*8;
493 superblock++;
495 if (io_channel_read_blk(io, superblock,
504 ret_sb = superblock;
506 ctx->superblock = superblock;
[all...]
H A Dunix.c80 _("Usage: %s [-panyrcdfvtDFV] [-b superblock] [-B blocksize]\n"
94 " -b superblock Use alternative superblock\n"
95 " -B blocksize Force blocksize when looking for superblock\n"
326 reason = _(" primary superblock features different from backup");
941 if (ctx->superblock && ctx->blocksize) {
943 flags, ctx->superblock, ctx->blocksize,
945 } else if (ctx->superblock) {
955 ctx->superblock, blocksize,
1037 ctx->superblock
[all...]
H A De2fsck.c165 /* Reset the superblock to the user's requested value */
166 ctx->superblock = ctx->use_superblock;
H A De2fsck.h174 #define E2F_FLAG_SB_SPECIFIED 0x0100 /* The superblock was explicitly
215 blk_t superblock; /* sb used to open fs */ member in struct:e2fsck_struct
H A Djournal.c508 _("reading journal superblock\n"));
547 /* If we don't understand the superblock major type, but there
565 _("%s: no valid journal superblock found\n"),
599 /* Leave a valid existing V1 superblock signature alone.
609 /* Zero out everything else beyond the superblock header */
687 * This function makes sure that the superblock fields regarding the
774 if (ctx->superblock)
889 ctx->superblock, blocksize, io_ptr,
902 /* Set the superblock flags */
907 * the EXT2_ERROR_FS flag in the fs superblock i
[all...]
/external/e2fsprogs/po/
H A Dat-expand.pl59 "#. %S backup superblock\n",
96 $msg =~ s/\@S/superblock/g;
/external/grub/stage2/
H A Dfsys_reiserfs.c567 /* 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,
/external/e2fsprogs/debugfs/
H A Ddebugfs.c48 static void open_filesystem(char *device, int open_flags, blk_t superblock, argument
55 if (superblock != 0 && blocksize == 0) {
56 com_err(device, 0, "if you specify the superblock, you must also specify the block size");
82 retval = ext2fs_open(device, open_flags, superblock, blocksize,
128 blk_t superblock = 0; local
164 superblock = parse_ulong(optarg, argv[0],
165 "superblock number", &err);
179 superblock, blocksize, catastrophic,
184 fprintf(stderr, "%s: Usage: open [-s superblock] [-b blocksize] "
2145 const char *usage = "Usage: %s [-b blocksize] [-s superblock] [
2151 blk_t superblock = 0; local
[all...]
/external/e2fsprogs/misc/
H A Ddumpe2fs.c53 fprintf (stderr, _("Usage: %s [-bfhixV] [-o superblock=<num>] "
192 printf (_(" %s superblock at "),
334 "Journal superblock magic number invalid!\n");
377 /* Get the journal superblock */
380 _("while reading journal superblock"));
388 _("Couldn't find journal superblock magic numbers"));
410 static void parse_extended_opts(const char *opts, blk_t *superblock, argument
437 if (strcmp(token, "superblock") == 0 ||
444 *superblock = strtoul(arg, &p, 0);
447 _("Invalid superblock paramete
[all...]
/external/yaffs2/yaffs2/
H A Dyaffs_guts.h595 /* Callback to mark the superblock dirsty */
596 void (*markSuperBlockDirty)(void * superblock);
/external/genext2fs/
H A Dgenext2fs.c518 } superblock; typedef in typeref:struct:__anon17798
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?)");
2009 // create the superblock for an empty filesystem

Completed in 295 milliseconds