Searched refs:cfix (Results 1 – 3 of 3) sorted by relevance
| /src/contrib/processor-trace/libipt/test/src/ |
| H A D | ptunit-image_section_cache.c | 547 static struct ptunit_result dfix_init(struct iscache_fixture *cfix) in dfix_init() argument 551 ptu_test(ptunit_thrd_init, &cfix->thrd); in dfix_init() 553 memset(cfix->section, 0, sizeof(cfix->section)); in dfix_init() 565 cfix->section[idx] = section; in dfix_init() 571 static struct ptunit_result cfix_init(struct iscache_fixture *cfix) in cfix_init() argument 575 ptu_test(dfix_init, cfix); in cfix_init() 577 errcode = pt_iscache_init(&cfix->iscache, NULL); in cfix_init() 583 static struct ptunit_result sfix_init(struct iscache_fixture *cfix) in sfix_init() argument 587 ptu_test(cfix_init, cfix); in sfix_init() 589 cfix->iscache.limit = 0x7800; in sfix_init() [all …]
|
| H A D | ptunit-block_cache.c | 337 struct bcache_fixture bfix, cfix; in main() local 343 cfix.init = cfix_init; in main() 344 cfix.fini = bfix_fini; in main() 355 ptu_run_f(suite, alloc, cfix); in main() 356 ptu_run_f(suite, alloc_min, cfix); in main() 357 ptu_run_f(suite, alloc_too_big, cfix); in main() 358 ptu_run_f(suite, alloc_zero, cfix); in main()
|
| H A D | ptunit-msec_cache.c | 383 struct test_fixture sfix, ifix, cfix, cifix; in main() local 391 cfix.init = cfix_init; in main() 392 cfix.fini = NULL; in main() 406 ptu_run_f(suite, invalidate, cfix); in main() 410 ptu_run_f(suite, read_nomap, cfix); in main() 414 ptu_run_f(suite, fill_nomap, cfix); in main()
|