Home
last modified time | relevance | path

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

/lib/
Dobjagg.c51 struct objagg_hints *hints; member
229 if (!objagg->hints) { in objagg_obj_root_id_alloc()
241 min = objagg->hints->root_count; in objagg_obj_root_id_alloc()
256 if (!objagg->hints) in objagg_obj_root_id_free()
303 hnode = objagg_hints_lookup(objagg->hints, objagg_obj->obj); in objagg_obj_init_with_hints()
530 objagg->hints = objagg_hints; in objagg_create()
567 if (objagg->hints) in objagg_destroy()
568 objagg_hints_put(objagg->hints); in objagg_destroy()
Dtest_objagg.c912 struct objagg_hints *hints; in test_hints_case() local
941 hints = objagg_hints_get(objagg, OBJAGG_OPT_ALGO_SIMPLE_GREEDY); in test_hints_case()
942 if (IS_ERR(hints)) { in test_hints_case()
943 err = PTR_ERR(hints); in test_hints_case()
947 pr_debug_hints_stats(hints); in test_hints_case()
948 err = check_expect_hints_stats(hints, &hints_case->expect_stats_hints, in test_hints_case()
955 objagg2 = objagg_create(&delta_ops, hints, &world2); in test_hints_case()
982 objagg_hints_put(hints); in test_hints_case()