Searched refs:SUPERBLOCK_SIZE (Results 1 - 18 of 18) sorted by relevance

/external/valgrind/main/drd/tests/
H A Dcustom_alloc.c8 #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/main/massif/tests/
H A Dcustom_alloc.c8 #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/main/memcheck/tests/
H A Dcustom_alloc.c8 #define SUPERBLOCK_SIZE 100000 macro
16 void* p = mmap( 0, SUPERBLOCK_SIZE, PROT_READ|PROT_WRITE|PROT_EXEC,
25 VALGRIND_MAKE_MEM_NOACCESS(p, SUPERBLOCK_SIZE);
41 hp_lim = hp + SUPERBLOCK_SIZE - 1;
H A Dmempool.c8 #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 VALGRIND_MAKE_MEM_NOACCESS(p->where, SUPERBLOCK_SIZE);
91 munmap(p->mem, SUPERBLOCK_SIZE);
H A Dmempool2.c13 #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 VALGRIND_MAKE_MEM_NOACCESS(p->where, SUPERBLOCK_SIZE);
94 munmap(p->mem, SUPERBLOCK_SIZE);
/external/e2fsprogs/lib/ext2fs/
H A Ddupfs.c52 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->super);
55 memcpy(fs->super, src->super, SUPERBLOCK_SIZE);
57 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->orig_super);
60 memcpy(fs->orig_super, src->orig_super, SUPERBLOCK_SIZE);
H A Dclosefs.c150 retval = io_channel_write_blk(fs->io, 1, -SUPERBLOCK_SIZE,
159 for (check_idx = 0; check_idx < SUPERBLOCK_SIZE/2; check_idx++) {
163 for (check_idx++; check_idx < SUPERBLOCK_SIZE/2; check_idx++)
179 memcpy(fs->orig_super, super, SUPERBLOCK_SIZE);
215 return io_channel_write_blk(fs->io, group_block, -SUPERBLOCK_SIZE,
244 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &super_shadow);
H A Dopenfs.c134 retval = ext2fs_get_memalign(SUPERBLOCK_SIZE, 512, &fs->super);
174 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->orig_super);
178 retval = io_channel_read_blk(fs->io, superblock, -SUPERBLOCK_SIZE,
183 memcpy(fs->orig_super, fs->super, SUPERBLOCK_SIZE);
H A Dtst_badblocks.c227 fs->super = malloc(SUPERBLOCK_SIZE);
228 memset(fs->super, 0, SUPERBLOCK_SIZE);
H A Dimager.c200 memcpy(buf, fs->super, SUPERBLOCK_SIZE);
263 memcpy(fs->super, buf, SUPERBLOCK_SIZE);
H A Dinitialize.c138 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &super);
143 memset(super, 0, SUPERBLOCK_SIZE);
H A Dundo_io.c143 retval = io_channel_read_blk(channel, 1, -SUPERBLOCK_SIZE, &super);
H A Dext2fs.h42 * superblocks are supposed to be. We define SUPERBLOCK_SIZE because
48 #define SUPERBLOCK_SIZE 1024 macro
/external/e2fsprogs/misc/
H A De2undo.c49 retval = io_channel_read_blk(channel, 1, -SUPERBLOCK_SIZE, &super);
H A Dmke2fs.c1930 retval = io_channel_read_blk(channel, 1, -SUPERBLOCK_SIZE, &super);
/external/e2fsprogs/e2fsck/
H A Dutil.c485 if (ext2fs_get_mem(SUPERBLOCK_SIZE, &buf))
496 -SUPERBLOCK_SIZE, buf))
H A Dsuper.c906 char buf[SUPERBLOCK_SIZE];
930 retval = io_channel_read_blk(fs->io, sb, -SUPERBLOCK_SIZE,
/external/valgrind/main/massif/
H A Dms_main.c601 #define SUPERBLOCK_SIZE (1 << 20) // 1 MB macro
604 hp = (Addr)VG_(am_shadow_alloc)(SUPERBLOCK_SIZE);
607 SUPERBLOCK_SIZE);
608 hp_lim = hp + SUPERBLOCK_SIZE - 1;

Completed in 829 milliseconds