/external/valgrind/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 (void) 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 (void) 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 (void) VALGRIND_MAKE_MEM_NOACCESS(p, SUPERBLOCK_SIZE); in get_superblock() 41 hp_lim = hp + SUPERBLOCK_SIZE - 1; in custom_alloc()
|
/external/valgrind/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/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/lib/ext2fs/ |
D | dupfs.c | 55 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->super); in ext2fs_dup_handle() 58 memcpy(fs->super, src->super, SUPERBLOCK_SIZE); in ext2fs_dup_handle() 60 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->orig_super); in ext2fs_dup_handle() 63 memcpy(fs->orig_super, src->orig_super, SUPERBLOCK_SIZE); in ext2fs_dup_handle()
|
D | closefs.c | 194 retval = io_channel_write_blk64(fs->io, 1, -SUPERBLOCK_SIZE, in write_primary_superblock() 203 for (check_idx = 0; check_idx < SUPERBLOCK_SIZE/2; check_idx++) { in write_primary_superblock() 207 for (check_idx++; check_idx < SUPERBLOCK_SIZE/2; check_idx++) in write_primary_superblock() 223 memcpy(fs->orig_super, super, SUPERBLOCK_SIZE); in write_primary_superblock() 259 return io_channel_write_blk64(fs->io, group_block, -SUPERBLOCK_SIZE, in write_backup_super() 293 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &super_shadow); in ext2fs_flush2()
|
D | openfs.c | 147 retval = io_channel_alloc_buf(fs->io, -SUPERBLOCK_SIZE, &fs->super); in ext2fs_open2() 187 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->orig_super); in ext2fs_open2() 191 retval = io_channel_read_blk(fs->io, superblock, -SUPERBLOCK_SIZE, in ext2fs_open2() 196 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 | 205 memcpy(buf, fs->super, SUPERBLOCK_SIZE); in ext2fs_image_super_write() 268 memcpy(fs->super, buf, SUPERBLOCK_SIZE); in ext2fs_image_super_read()
|
D | initialize.c | 135 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &super); in ext2fs_initialize() 140 memset(super, 0, SUPERBLOCK_SIZE); in ext2fs_initialize()
|
D | undo_io.c | 151 retval = io_channel_read_blk64(channel, 1, -SUPERBLOCK_SIZE, &super); in write_file_system_identity()
|
D | ext2fs.h | 40 #define SUPERBLOCK_SIZE 1024 macro
|
/external/e2fsprogs/misc/ |
D | e2undo.c | 48 retval = io_channel_read_blk64(channel, 1, -SUPERBLOCK_SIZE, &super); in check_filesystem()
|
D | mke2fs.c | 2183 retval = io_channel_read_blk64(channel, 1, -SUPERBLOCK_SIZE, &super); in should_do_undo()
|
/external/e2fsprogs/e2fsck/ |
D | util.c | 540 if (ext2fs_get_mem(SUPERBLOCK_SIZE, &buf)) in get_backup_sb() 551 -SUPERBLOCK_SIZE, buf)) in get_backup_sb()
|
D | super.c | 905 char buf[SUPERBLOCK_SIZE]; in check_backup_super_block() 928 retval = io_channel_read_blk(fs->io, sb, -SUPERBLOCK_SIZE, in check_backup_super_block()
|