HelenOS sources
mem_block_t 77 uspace/app/tester/mm/common.c mem_block_t *block = list_get_instance(link, mem_block_t, link);
mem_block_t 87 uspace/app/tester/mm/common.c static bool overlap_match(mem_block_t *block, void *addr, size_t size)
mem_block_t 91 uspace/app/tester/mm/common.c uint8_t *mend = (uint8_t *) block + sizeof(mem_block_t);
mem_block_t 126 uspace/app/tester/mm/common.c list_foreach(mem_blocks, link, mem_block_t, block) {
mem_block_t 194 uspace/app/tester/mm/common.c mem_block_t *alloc_block(size_t size)
mem_block_t 201 uspace/app/tester/mm/common.c mem_block_t *block =
mem_block_t 202 uspace/app/tester/mm/common.c (mem_block_t *) checked_malloc(sizeof(mem_block_t));
mem_block_t 220 uspace/app/tester/mm/common.c mem_allocated += size + sizeof(mem_block_t);
mem_block_t 234 uspace/app/tester/mm/common.c void free_block(mem_block_t *block)
mem_block_t 238 uspace/app/tester/mm/common.c mem_allocated -= block->size + sizeof(mem_block_t);
mem_block_t 257 uspace/app/tester/mm/common.c static inline uint8_t block_expected_value(mem_block_t *block, uint8_t *pos)
mem_block_t 269 uspace/app/tester/mm/common.c void fill_block(mem_block_t *block)
mem_block_t 286 uspace/app/tester/mm/common.c void check_block(mem_block_t *block)
mem_block_t 306 uspace/app/tester/mm/common.c mem_block_t *get_random_block(void)
mem_block_t 320 uspace/app/tester/mm/common.c return list_get_instance(entry, mem_block_t, link);
mem_block_t 119 uspace/app/tester/mm/common.h extern mem_block_t *alloc_block(size_t);
mem_block_t 120 uspace/app/tester/mm/common.h extern void free_block(mem_block_t *);
mem_block_t 121 uspace/app/tester/mm/common.h extern void fill_block(mem_block_t *);
mem_block_t 122 uspace/app/tester/mm/common.h extern void check_block(mem_block_t *);
mem_block_t 123 uspace/app/tester/mm/common.h extern mem_block_t *get_random_block(void);
mem_block_t 232 uspace/app/tester/mm/malloc1.c mem_block_t *blk = alloc_block(alloc);
mem_block_t 248 uspace/app/tester/mm/malloc1.c mem_block_t *blk = get_random_block();
mem_block_t 224 uspace/app/tester/mm/malloc3.c mem_block_t *blk = alloc_block(alloc);
mem_block_t 252 uspace/app/tester/mm/malloc3.c mem_block_t *blk = get_random_block();
HelenOS homepage, sources at GitHub