/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);
|
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.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...] |
/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...] |
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
|
/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/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/genext2fs/ |
genext2fs.c | 518 } superblock; typedef in typeref:struct:__anon20193 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...] |