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

  /external/valgrind/main/memcheck/tests/
clireq_nofill.c 9 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);
mempool2.c 163 // 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[29]; // invali
    [all...]
custom_alloc.c 60 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)
mempool2.stderr.exp 80 ------ 2 invalid access in 'no no-access superblock' ---
  /external/e2fsprogs/lib/ext2fs/
openfs.c 48 * the backup group descriptors and superblock --- so use the
61 errcode_t ext2fs_open(const char *name, int flags, int superblock,
65 return ext2fs_open2(name, 0, flags, superblock, block_size,
70 * Note: if superblock is non-zero, block-size must also be non-zero.
71 * Superblock and block_size can be zero to use the default size.
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 w
    [all...]
ext2fs.h 41 * 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
    [all...]
  /external/e2fsprogs/e2fsck/
util.c 455 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...]
unix.c 80 _("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 = ctx->use_superblock
    [all...]
e2fsck.c 165 /* Reset the superblock to the user's requested value */
166 ctx->superblock = ctx->use_superblock;
e2fsck.h 174 #define E2F_FLAG_SB_SPECIFIED 0x0100 /* The superblock was explicitly
215 blk_t superblock; /* sb used to open fs */ member in struct:e2fsck_struct
journal.c 508 _("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 if needed
    [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 48 static void open_filesystem(char *device, int open_flags, blk_t superblock,
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] "
2151 blk_t superblock = 0; local
    [all...]
  /external/e2fsprogs/misc/
dumpe2fs.c 53 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,
437 if (strcmp(token, "superblock") == 0 ||
444 *superblock = strtoul(arg, &p, 0);
447 _("Invalid superblock parameter: %s\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:__anon20194
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 381 milliseconds