Lines Matching refs:test_rht_params
94 static struct rhashtable_params test_rht_params = { variable
152 obj = rhashtable_lookup_fast(ht, &key, test_rht_params); in test_rht_lookup()
226 err = insert_retry(ht, obj, test_rht_params); in test_rhashtable()
251 obj = rhashtable_lookup_fast(ht, &key, test_rht_params); in test_rhashtable()
254 rhashtable_remove_fast(ht, &obj->node, test_rht_params); in test_rhashtable()
290 err = rhltable_init(&rhlt, &test_rht_params); in test_rhltable()
299 test_rht_params); in test_rhltable()
319 h = rhltable_lookup(&rhlt, &key, test_rht_params); in test_rhltable()
349 err = rhltable_remove(&rhlt, &rhl_test_objects[i].list_node, test_rht_params); in test_rhltable()
362 test_rht_params); in test_rhltable()
384 err = rhltable_remove(&rhlt, &rhl_test_objects[i].list_node, test_rht_params); in test_rhltable()
400 err = rhltable_insert(&rhlt, &rhl_test_objects[i].list_node, test_rht_params); in test_rhltable()
416 err = rhltable_remove(&rhlt, &rhl_test_objects[i].list_node, test_rht_params); in test_rhltable()
421 err = rhltable_insert(&rhlt, &rhl_test_objects[i].list_node, test_rht_params); in test_rhltable()
430 err = rhltable_remove(&rhlt, &rhl_test_objects[i].list_node, test_rht_params); in test_rhltable()
454 test_rht_params.max_size = roundup_pow_of_two(entries / 8); in test_rhashtable_max()
455 err = rhashtable_init(&ht, &test_rht_params); in test_rhashtable_max()
463 err = insert_retry(&ht, obj, test_rht_params); in test_rhashtable_max()
470 err = insert_retry(&ht, &array[ht.max_elems], test_rht_params); in test_rhashtable_max()
613 obj = rhashtable_lookup_fast(&ht, &key, test_rht_params); in thread_lookup_test()
646 err = insert_retry(&ht, &tdata->objs[i], test_rht_params); in threadfunc()
671 test_rht_params); in threadfunc()
709 test_rht_params.automatic_shrinking = shrinking; in test_rht_init()
710 test_rht_params.max_size = max_size ? : roundup_pow_of_two(entries); in test_rht_init()
711 test_rht_params.nelem_hint = size; in test_rht_init()
714 test_rht_params.max_size + 1)); in test_rht_init()
725 memset(objs, 0, test_rht_params.max_size * sizeof(struct test_obj)); in test_rht_init()
727 err = rhashtable_init(&ht, &test_rht_params); in test_rht_init()
746 test_rht_params.max_size, test_rhashtable_max(objs, entries) == 0 ? in test_rht_init()
770 test_rht_params.max_size = max_size ? : in test_rht_init()
772 err = rhashtable_init(&ht, &test_rht_params); in test_rht_init()