Lines Matching refs:rhlt

267 static struct rhltable rhlt;  variable
290 err = rhltable_init(&rhlt, &test_rht_params); in test_rhltable()
298 err = rhltable_insert(&rhlt, &rhl_test_objects[i].list_node, 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()
361 err = rhltable_insert(&rhlt, &rhl_test_objects[i].list_node, in test_rhltable()
376 err = rhltable_remove(&rhlt, &rhl_test_objects[i].list_node, test_rht_params); in test_rhltable()
388 err = rhltable_insert(&rhlt, &rhl_test_objects[i].list_node, test_rht_params); in test_rhltable()
401 err = rhltable_remove(&rhlt, &rhl_test_objects[i].list_node, test_rht_params); in test_rhltable()
406 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()
427 rhltable_destroy(&rhlt); in test_rhltable()
469 static unsigned int __init print_ht(struct rhltable *rhlt) in print_ht() argument
477 ht = &rhlt->ht; in print_ht()
521 struct rhltable *rhlt; in test_insert_dup() local
526 rhlt = kmalloc(sizeof(*rhlt), GFP_KERNEL); in test_insert_dup()
527 if (WARN_ON(!rhlt)) in test_insert_dup()
530 err = rhltable_init(rhlt, &test_rht_params_dup); in test_insert_dup()
532 kfree(rhlt); in test_insert_dup()
538 key = rht_obj(&rhlt->ht, &rhl_test_objects[i].list_node.rhead); in test_insert_dup()
542 err = PTR_ERR(rhashtable_insert_slow(&rhlt->ht, key, in test_insert_dup()
547 err = rhltable_insert(rhlt, in test_insert_dup()
554 ret = print_ht(rhlt); in test_insert_dup()
558 rhltable_destroy(rhlt); in test_insert_dup()
559 kfree(rhlt); in test_insert_dup()