/external/valgrind/drd/tests/ |
H A D | custom_alloc.c | 8 #define SUPERBLOCK_SIZE 100000 macro 16 void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, 35 hp_lim = hp + SUPERBLOCK_SIZE - 1;
|
/external/valgrind/massif/tests/ |
H A D | custom_alloc.c | 8 #define SUPERBLOCK_SIZE 100000 macro 16 void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, 35 hp_lim = hp + SUPERBLOCK_SIZE - 1;
|
/external/valgrind/memcheck/tests/ |
H A D | mempool.c | 8 #define SUPERBLOCK_SIZE 100000 macro 39 p->where = p->mem = (char *)mmap(NULL, SUPERBLOCK_SIZE, 44 p->where = p->mem = (char *)malloc(SUPERBLOCK_SIZE); 47 p->size = p->left = SUPERBLOCK_SIZE; 49 (void) VALGRIND_MAKE_MEM_NOACCESS(p->where, SUPERBLOCK_SIZE); 91 munmap(p->mem, SUPERBLOCK_SIZE);
|
H A D | custom_alloc.c | 8 #define SUPERBLOCK_SIZE 100000 macro 16 void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, 25 (void) VALGRIND_MAKE_MEM_NOACCESS(p, SUPERBLOCK_SIZE); 41 hp_lim = hp + SUPERBLOCK_SIZE - 1;
|
H A D | mempool2.c | 13 #define SUPERBLOCK_SIZE 100000 macro 42 p->where = p->mem = (char *)mmap(NULL, SUPERBLOCK_SIZE, 47 p->where = p->mem = (char *)malloc(SUPERBLOCK_SIZE); 50 p->size = p->left = SUPERBLOCK_SIZE; 52 (void) VALGRIND_MAKE_MEM_NOACCESS(p->where, SUPERBLOCK_SIZE); 94 munmap(p->mem, SUPERBLOCK_SIZE);
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | dupfs.c | 56 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->super); 59 memcpy(fs->super, src->super, SUPERBLOCK_SIZE); 61 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->orig_super); 64 memcpy(fs->orig_super, src->orig_super, SUPERBLOCK_SIZE);
|
H A D | closefs.c | 202 retval = io_channel_write_blk64(fs->io, 1, -SUPERBLOCK_SIZE, 211 for (check_idx = 0; check_idx < SUPERBLOCK_SIZE/2; check_idx++) { 215 for (check_idx++; check_idx < SUPERBLOCK_SIZE/2; check_idx++) 231 memcpy(fs->orig_super, super, SUPERBLOCK_SIZE); 271 return io_channel_write_blk64(fs->io, group_block, -SUPERBLOCK_SIZE, 322 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &super_shadow);
|
H A D | openfs.c | 179 retval = io_channel_alloc_buf(fs->io, -SUPERBLOCK_SIZE, &fs->super); 219 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->orig_super); 223 retval = io_channel_read_blk(fs->io, superblock, -SUPERBLOCK_SIZE, 228 memcpy(fs->orig_super, fs->super, SUPERBLOCK_SIZE);
|
H A D | tst_badblocks.c | 228 fs->super = malloc(SUPERBLOCK_SIZE); 229 memset(fs->super, 0, SUPERBLOCK_SIZE);
|
H A D | mkjournal.c | 375 char buf[SUPERBLOCK_SIZE]; 390 -SUPERBLOCK_SIZE, 417 -SUPERBLOCK_SIZE, buf)))
|
H A D | imager.c | 206 memcpy(buf, fs->super, SUPERBLOCK_SIZE); 269 memcpy(fs->super, buf, SUPERBLOCK_SIZE);
|
H A D | undo_io.c | 224 retval = io_channel_read_blk64(channel, 1, -SUPERBLOCK_SIZE, &super); 227 sb_crc = ext2fs_crc32c_le(~0, (unsigned char *)&super, SUPERBLOCK_SIZE); 258 -SUPERBLOCK_SIZE, &super); 507 retval = io_channel_read_blk64(channel, 1, -SUPERBLOCK_SIZE, &super); 519 -SUPERBLOCK_SIZE, buf); 528 sb_crc = ext2fs_crc32c_le(~0, (unsigned char *)buf, SUPERBLOCK_SIZE);
|
H A D | initialize.c | 148 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &super); 153 memset(super, 0, SUPERBLOCK_SIZE);
|
H A D | ext2fs.h | 40 * superblocks are supposed to be. We define SUPERBLOCK_SIZE because 46 #define SUPERBLOCK_SIZE 1024 macro
|
/external/e2fsprogs/misc/ |
H A D | e2undo.c | 163 retval = io_channel_read_blk64(channel, 1, -SUPERBLOCK_SIZE, &super); 180 -SUPERBLOCK_SIZE, buf); 192 sb_crc = ext2fs_crc32c_le(~0, (unsigned char *)buf, SUPERBLOCK_SIZE);
|
H A D | tune2fs.c | 198 static int get_journal_sb(ext2_filsys jfs, char buf[SUPERBLOCK_SIZE]) 209 ext2fs_journal_sb_start(jfs->blocksize), -SUPERBLOCK_SIZE, buf))) { 244 char buf[SUPERBLOCK_SIZE] __attribute__ ((aligned(8))); 305 -SUPERBLOCK_SIZE, buf); 2678 char buf[SUPERBLOCK_SIZE] __attribute__ ((aligned(8))); 2721 retval = io_channel_write_blk64(jfs->io, start, -SUPERBLOCK_SIZE, buf); 3035 char buf[SUPERBLOCK_SIZE] __attribute__ ((aligned(8))); 3107 -SUPERBLOCK_SIZE, buf)))
|
H A D | mke2fs.c | 2528 retval = io_channel_read_blk64(channel, 1, -SUPERBLOCK_SIZE, &super);
|
/external/e2fsprogs/e2fsck/ |
H A D | super.c | 967 char buf[SUPERBLOCK_SIZE]; 990 retval = io_channel_read_blk(fs->io, sb, -SUPERBLOCK_SIZE,
|
H A D | util.c | 574 if (ext2fs_get_mem(SUPERBLOCK_SIZE, &buf)) 585 -SUPERBLOCK_SIZE, buf))
|