Lines Matching refs:test_obj
63 struct test_obj { struct
77 struct test_obj *objs; argument
89 const struct test_obj_rhl *test_obj = obj; in my_cmpfn() local
92 return test_obj->value.id - val->id; in my_cmpfn()
96 .head_offset = offsetof(struct test_obj, node),
97 .key_offset = offsetof(struct test_obj, value),
116 static int insert_retry(struct rhashtable *ht, struct test_obj *obj, in insert_retry()
138 static int __init test_rht_lookup(struct rhashtable *ht, struct test_obj *array, in test_rht_lookup()
144 struct test_obj *obj; in test_rht_lookup()
209 static s64 __init test_rhashtable(struct rhashtable *ht, struct test_obj *array, in test_rhashtable()
212 struct test_obj *obj; in test_rhashtable()
224 struct test_obj *obj = &array[i]; in test_rhashtable()
435 static int __init test_rhashtable_max(struct test_obj *array, in test_rhashtable_max()
447 struct test_obj *obj = &array[i]; in test_rhashtable_max()
593 struct test_obj *obj; in thread_lookup_test()
688 struct test_obj *objs; in test_rht_init()
699 objs = vzalloc(array_size(sizeof(struct test_obj), in test_rht_init()
711 memset(objs, 0, test_rht_params.max_size * sizeof(struct test_obj)); in test_rht_init()
750 objs = vzalloc(array3_size(sizeof(struct test_obj), tcount, entries)); in test_rht_init()