/external/valgrind/memcheck/tests/ |
H A D | 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);
|
H A D | 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)
|
H A D | mempool2.c | 167 // to mark the superblock noaccess. 168 char superblock[100]; local 170 VALGRIND_CREATE_MEMPOOL(superblock, REDZONE_SIZE, 0); 171 // User should mark the superblock no access to benefit 175 VALGRIND_MEMPOOL_ALLOC(superblock, superblock+30, 10); 177 res += superblock[30]; // valid 178 res += superblock[39]; // valid 181 "\n------ 2 invalid access in 'no no-access superblock' ---\n\n"); 182 res += superblock[2 [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A D | openfs.c | 60 * the backup group descriptors and superblock --- so use the 74 * backup superblock (or lack thereof). 89 errcode_t ext2fs_open(const char *name, int flags, int superblock, argument 93 return ext2fs_open2(name, 0, flags, superblock, block_size, 104 * Note: if superblock is non-zero, block-size must also be non-zero. 118 int flags, int superblock, 194 superblock = 1; 200 * superblock, then he/she must also specify the block size! 201 * Otherwise, read the master superblock located at offset 204 * Note: we only save a backup copy of the superblock i 117 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...] |
/external/e2fsprogs/e2fsck/ |
H A D | util.c | 544 blk64_t superblock, ret_sb = 8193; local 550 ctx->superblock = ret_sb; 561 ctx->superblock = ret_sb; 564 ctx->superblock = ret_sb; 580 superblock = blocksize*8; 582 superblock++; 584 if (io_channel_read_blk64(io, superblock, 593 ret_sb = superblock; 595 ctx->superblock = superblock; [all...] |
H A D | e2fsck.h | 187 #define E2F_FLAG_SB_SPECIFIED 0x0100 /* The superblock was explicitly 233 blk64_t superblock; /* sb used to open fs */ member in struct:e2fsck_struct
|
/external/e2fsprogs/misc/ |
H A D | dumpe2fs.c | 56 fprintf(stderr, _("Usage: %s [-bfghixV] [-o superblock=<num>] " 233 printf (_(" %s superblock at "), 404 _("Journal superblock magic number invalid!\n")); 461 /* Get the journal superblock */ 466 _("while reading journal superblock")); 474 _("Couldn't find journal superblock magic numbers")); 519 static void parse_extended_opts(const char *opts, blk64_t *superblock, argument 546 if (strcmp(token, "superblock") == 0 || 553 *superblock = strtoul(arg, &p, 0); 556 _("Invalid superblock paramete [all...] |
/external/e2fsprogs/debugfs/ |
H A D | debugfs.c | 133 static void open_filesystem(char *device, int open_flags, blk64_t superblock, argument 141 if (superblock != 0 && blocksize == 0) { 142 com_err(device, 0, "if you specify the superblock, you must also specify the block size"); 176 retval = ext2fs_open(device, open_flags, superblock, blocksize, 224 blk64_t superblock = 0; local 266 "superblock block number", &superblock); 283 superblock, blocksize, catastrophic, 288 fprintf(stderr, "%s: Usage: open [-s superblock] [-b blocksize] " 2412 "Usage: %s [-b blocksize] [-s superblock] [ 2423 blk64_t superblock = 0; local [all...] |