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.c52 * the backup group descriptors and superblock --- so use the
70 errcode_t ext2fs_open(const char *name, int flags, int superblock, argument
74 return ext2fs_open2(name, 0, flags, superblock, block_size,
79 * Note: if superblock is non-zero, block-size must also be non-zero.
93 int flags, int superblock,
162 superblock = 1;
168 * superblock, then he/she must also specify the block size!
169 * Otherwise, read the master superblock located at offset
172 * Note: we only save a backup copy of the superblock if we
173 * are reading the superblock fro
92 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.h33 * Where the master copy of the superblock is located, and how big
35 * the size of the superblock structure is not necessarily trustworthy
36 * (some versions have the padding set up so that the superblock is
204 #define EXT2_MKJOURNAL_V1_SUPER 0x0000001 /* create V1 superblock (deprecated) */
1371 extern errcode_t ext2fs_open(const char *name, int flags, int superblock,
1375 int flags, int superblock,
1603 * Mark a filesystem superblock as dirty
/external/e2fsprogs/e2fsck/
H A Dutil.c510 blk64_t superblock, ret_sb = 8193; local
516 ctx->superblock = ret_sb;
527 ctx->superblock = ret_sb;
530 ctx->superblock = ret_sb;
546 superblock = blocksize*8;
548 superblock++;
550 if (io_channel_read_blk64(io, superblock,
559 ret_sb = superblock;
561 ctx->superblock = superblock;
[all...]
H A Dunix.c77 _("Usage: %s [-panyrcdfvtDFV] [-b superblock] [-B blocksize]\n"
91 " -b superblock Use alternative superblock\n"
92 " -B blocksize Force blocksize when looking for superblock\n"
368 reason = _(" primary superblock features different from backup");
1049 if (ctx->superblock && ctx->blocksize) {
1051 flags, ctx->superblock, ctx->blocksize,
1053 } else if (ctx->superblock) {
1063 ctx->superblock, blocksize,
1108 * check_interval from the superblock
[all...]
H A De2fsck.c165 /* Reset the superblock to the user's requested value */
166 ctx->superblock = ctx->use_superblock;
H A De2fsck.h185 #define E2F_FLAG_SB_SPECIFIED 0x0100 /* The superblock was explicitly
229 blk64_t superblock; /* sb used to open fs */ member in struct:e2fsck_struct
H A Djournal.c524 _("reading journal superblock\n"));
563 /* If we don't understand the superblock major type, but there
581 _("%s: no valid journal superblock found\n"),
615 /* Leave a valid existing V1 superblock signature alone.
625 /* Zero out everything else beyond the superblock header */
703 * This function makes sure that the superblock fields regarding the
790 if (ctx->superblock)
907 ctx->superblock, blocksize, io_ptr,
920 /* Set the superblock flags */
925 * the EXT2_ERROR_FS flag in the fs superblock i
[all...]
/external/e2fsprogs/po/
H A Dat-expand.pl59 "#. %S backup superblock\n",
97 $msg =~ s/\@S/superblock/g;
/external/e2fsprogs/debugfs/
H A Ddebugfs.c60 static void open_filesystem(char *device, int open_flags, blk64_t superblock, argument
67 if (superblock != 0 && blocksize == 0) {
68 com_err(device, 0, "if you specify the superblock, you must also specify the block size");
96 retval = ext2fs_open(device, open_flags, superblock, blocksize,
143 blk64_t superblock = 0; local
183 err = strtoblk(argv[0], optarg, &superblock);
197 superblock, blocksize, catastrophic,
202 fprintf(stderr, "%s: Usage: open [-s superblock] [-b blocksize] "
2401 "Usage: %s [-b blocksize] [-s superblock] [-f cmd_file] "
2412 blk64_t superblock local
[all...]
/external/e2fsprogs/misc/
H A Ddumpe2fs.c54 fprintf (stderr, _("Usage: %s [-bfhixV] [-o superblock=<num>] "
212 printf (_(" %s superblock at "),
363 _("Journal superblock magic number invalid!\n"));
409 /* Get the journal superblock */
414 _("while reading journal superblock"));
422 _("Couldn't find journal superblock magic numbers"));
444 static void parse_extended_opts(const char *opts, blk64_t *superblock, argument
471 if (strcmp(token, "superblock") == 0 ||
478 *superblock = strtoul(arg, &p, 0);
481 _("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:__anon21583
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
/external/chromium_org/third_party/cython/src/Cython/Debugger/
H A Dlibpython.py1482 block = block.superblock

Completed in 339 milliseconds