Lines Matching refs:test_obj
62 struct test_obj {
76 struct test_obj *objs;
88 const struct test_obj_rhl *test_obj = obj;
91 return test_obj->value.id - val->id;
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,
137 static int __init test_rht_lookup(struct rhashtable *ht, struct test_obj *array,
143 struct test_obj *obj;
208 static s64 __init test_rhashtable(struct rhashtable *ht, struct test_obj *array,
211 struct test_obj *obj;
223 struct test_obj *obj = &array[i];
434 static int __init test_rhashtable_max(struct test_obj *array,
446 struct test_obj *obj = &array[i];
592 struct test_obj *obj;
687 struct test_obj *objs;
698 objs = vzalloc(array_size(sizeof(struct test_obj),
710 memset(objs, 0, test_rht_params.max_size * sizeof(struct test_obj));
749 objs = vzalloc(array3_size(sizeof(struct test_obj), tcount, entries));