Lines Matching refs:test_obj
62 struct test_obj { struct
76 struct test_obj *objs; argument
88 const struct test_obj_rhl *test_obj = obj; in my_cmpfn() local
91 return test_obj->value.id - val->id; in my_cmpfn()
95 .head_offset = offsetof(struct test_obj, node),
96 .key_offset = offsetof(struct test_obj, value),
115 static int insert_retry(struct rhashtable *ht, struct test_obj *obj, in insert_retry()
137 static int __init test_rht_lookup(struct rhashtable *ht, struct test_obj *array, in test_rht_lookup()
143 struct test_obj *obj; in test_rht_lookup()
208 static s64 __init test_rhashtable(struct rhashtable *ht, struct test_obj *array, in test_rhashtable()
211 struct test_obj *obj; in test_rhashtable()
223 struct test_obj *obj = &array[i]; in test_rhashtable()
448 static int __init test_rhashtable_max(struct test_obj *array, in test_rhashtable_max()
460 struct test_obj *obj = &array[i]; in test_rhashtable_max()
607 struct test_obj *obj; in thread_lookup_test()
702 struct test_obj *objs; in test_rht_init()
713 objs = vzalloc(array_size(sizeof(struct test_obj), in test_rht_init()
725 memset(objs, 0, test_rht_params.max_size * sizeof(struct test_obj)); in test_rht_init()
764 objs = vzalloc(array3_size(sizeof(struct test_obj), tcount, entries)); in test_rht_init()