Lines Matching defs:test_obj
63 struct test_obj {
77 struct test_obj *objs;
89 const struct test_obj_rhl *test_obj = obj;
92 return test_obj->value.id - val->id;
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,
138 static int __init test_rht_lookup(struct rhashtable *ht, struct test_obj *array,
144 struct test_obj *obj;
209 static s64 __init test_rhashtable(struct rhashtable *ht, struct test_obj *array,
212 struct test_obj *obj;
224 struct test_obj *obj = &array[i];
435 static int __init test_rhashtable_max(struct test_obj *array,
447 struct test_obj *obj = &array[i];
593 struct test_obj *obj;
688 struct test_obj *objs;
699 objs = vzalloc(array_size(sizeof(struct test_obj),
711 memset(objs, 0, test_rht_params.max_size * sizeof(struct test_obj));
750 objs = vzalloc(array3_size(sizeof(struct test_obj), tcount, entries));