/external/valgrind/main/memcheck/tests/ |
D | mempool.c | 8 #define SUPERBLOCK_SIZE 100000 macro 39 p->where = p->mem = (char *)mmap(NULL, SUPERBLOCK_SIZE, in make_pool() 44 p->where = p->mem = (char *)malloc(SUPERBLOCK_SIZE); in make_pool() 47 p->size = p->left = SUPERBLOCK_SIZE; in make_pool() 49 VALGRIND_MAKE_MEM_NOACCESS(p->where, SUPERBLOCK_SIZE); in make_pool() 91 munmap(p->mem, SUPERBLOCK_SIZE); in destroy_pool()
|
D | mempool2.c | 13 #define SUPERBLOCK_SIZE 100000 macro 42 p->where = p->mem = (char *)mmap(NULL, SUPERBLOCK_SIZE, in make_pool() 47 p->where = p->mem = (char *)malloc(SUPERBLOCK_SIZE); in make_pool() 50 p->size = p->left = SUPERBLOCK_SIZE; in make_pool() 52 VALGRIND_MAKE_MEM_NOACCESS(p->where, SUPERBLOCK_SIZE); in make_pool() 94 munmap(p->mem, SUPERBLOCK_SIZE); in destroy_pool()
|
D | custom_alloc.c | 8 #define SUPERBLOCK_SIZE 100000 macro 16 void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, in get_superblock() 25 VALGRIND_MAKE_MEM_NOACCESS(p, SUPERBLOCK_SIZE); in get_superblock() 41 hp_lim = hp + SUPERBLOCK_SIZE - 1; in custom_alloc()
|
/external/e2fsprogs/lib/ext2fs/ |
D | dupfs.c | 52 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->super); in ext2fs_dup_handle() 55 memcpy(fs->super, src->super, SUPERBLOCK_SIZE); in ext2fs_dup_handle() 57 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->orig_super); in ext2fs_dup_handle() 60 memcpy(fs->orig_super, src->orig_super, SUPERBLOCK_SIZE); in ext2fs_dup_handle()
|
D | closefs.c | 150 retval = io_channel_write_blk(fs->io, 1, -SUPERBLOCK_SIZE, in write_primary_superblock() 159 for (check_idx = 0; check_idx < SUPERBLOCK_SIZE/2; check_idx++) { in write_primary_superblock() 163 for (check_idx++; check_idx < SUPERBLOCK_SIZE/2; check_idx++) in write_primary_superblock() 179 memcpy(fs->orig_super, super, SUPERBLOCK_SIZE); in write_primary_superblock() 215 return io_channel_write_blk(fs->io, group_block, -SUPERBLOCK_SIZE, in write_backup_super() 244 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &super_shadow); in ext2fs_flush()
|
D | openfs.c | 134 retval = ext2fs_get_memalign(SUPERBLOCK_SIZE, 512, &fs->super); in ext2fs_open2() 174 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->orig_super); in ext2fs_open2() 178 retval = io_channel_read_blk(fs->io, superblock, -SUPERBLOCK_SIZE, in ext2fs_open2() 183 memcpy(fs->orig_super, fs->super, SUPERBLOCK_SIZE); in ext2fs_open2()
|
D | tst_badblocks.c | 227 fs->super = malloc(SUPERBLOCK_SIZE); in file_test_invalid() 228 memset(fs->super, 0, SUPERBLOCK_SIZE); in file_test_invalid()
|
D | imager.c | 200 memcpy(buf, fs->super, SUPERBLOCK_SIZE); in ext2fs_image_super_write() 263 memcpy(fs->super, buf, SUPERBLOCK_SIZE); in ext2fs_image_super_read()
|
D | initialize.c | 138 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &super); in ext2fs_initialize() 143 memset(super, 0, SUPERBLOCK_SIZE); in ext2fs_initialize()
|
D | undo_io.c | 143 retval = io_channel_read_blk(channel, 1, -SUPERBLOCK_SIZE, &super); in write_file_system_identity()
|
D | ext2fs.h | 48 #define SUPERBLOCK_SIZE 1024 macro
|
/external/valgrind/main/massif/tests/ |
D | custom_alloc.c | 8 #define SUPERBLOCK_SIZE 100000 macro 16 void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, in get_superblock() 35 hp_lim = hp + SUPERBLOCK_SIZE - 1; in custom_alloc()
|
/external/valgrind/main/drd/tests/ |
D | custom_alloc.c | 8 #define SUPERBLOCK_SIZE 100000 macro 16 void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC, in get_superblock() 35 hp_lim = hp + SUPERBLOCK_SIZE - 1; in custom_alloc()
|
/external/e2fsprogs/misc/ |
D | e2undo.c | 49 retval = io_channel_read_blk(channel, 1, -SUPERBLOCK_SIZE, &super); in check_filesystem()
|
D | mke2fs.c | 1930 retval = io_channel_read_blk(channel, 1, -SUPERBLOCK_SIZE, &super); in should_do_undo()
|
/external/e2fsprogs/e2fsck/ |
D | util.c | 485 if (ext2fs_get_mem(SUPERBLOCK_SIZE, &buf)) in get_backup_sb() 496 -SUPERBLOCK_SIZE, buf)) in get_backup_sb()
|
D | super.c | 906 char buf[SUPERBLOCK_SIZE]; in check_backup_super_block() 930 retval = io_channel_read_blk(fs->io, sb, -SUPERBLOCK_SIZE, in check_backup_super_block()
|
/external/valgrind/main/massif/ |
D | ms_main.c | 601 #define SUPERBLOCK_SIZE (1 << 20) // 1 MB in perm_malloc() macro 604 hp = (Addr)VG_(am_shadow_alloc)(SUPERBLOCK_SIZE); in perm_malloc() 607 SUPERBLOCK_SIZE); in perm_malloc() 608 hp_lim = hp + SUPERBLOCK_SIZE - 1; in perm_malloc()
|