Home
last modified time | relevance | path

Searched refs:record_t (Results 1 – 2 of 2) sorted by relevance

/third_party/ltp/utils/benchmark/ebizzy-0.3/
Debizzy.c79 typedef size_t record_t; typedef
80 static unsigned int record_size = sizeof(record_t);
82 static record_t **mem;
293 mem = alloc_mem(chunks * sizeof(record_t *)); in allocate()
296 hole_mem = alloc_mem(chunks * sizeof(record_t *)); in allocate()
299 mem[i] = (record_t *) alloc_mem(chunk_size); in allocate()
320 mem[i][j] = (record_t) j; in write_pattern()
329 static void *linear_search(record_t key, record_t * base, size_t size) in linear_search()
331 record_t *p; in linear_search()
332 record_t *end = base + (size / record_size); in linear_search()
[all …]
/third_party/ltp/testcases/kernel/controllers/memctl/
Dmemctl_test01.c56 typedef size_t record_t; typedef
57 record_t **array_of_chunks;
58 record_t tmp;
170 array_of_chunks = malloc(sizeof(record_t *) * num_of_chunks); in allocate_memory()
188 limit = chunk_size / sizeof(record_t); in allocate_memory()