Lines Matching refs:objs
63 struct test_obj *objs; member
228 if (obj && (tdata->objs[i].value == TEST_INSERT_FAIL)) { in thread_lookup_test()
231 } else if (!obj && (tdata->objs[i].value != TEST_INSERT_FAIL)) { in thread_lookup_test()
253 tdata->objs[i].value = (tdata->id << 16) | i; in threadfunc()
254 err = rhashtable_insert_fast(&ht, &tdata->objs[i].node, in threadfunc()
257 tdata->objs[i].value = TEST_INSERT_FAIL; in threadfunc()
278 if (tdata->objs[i].value == TEST_INSERT_FAIL) in threadfunc()
280 err = rhashtable_remove_fast(&ht, &tdata->objs[i].node, in threadfunc()
287 tdata->objs[i].value = TEST_INSERT_FAIL; in threadfunc()
309 struct test_obj *objs; in test_rht_init() local
354 objs = vzalloc(tcount * entries * sizeof(struct test_obj)); in test_rht_init()
355 if (!objs) { in test_rht_init()
365 vfree(objs); in test_rht_init()
370 tdata[i].objs = objs + i * entries; in test_rht_init()
395 vfree(objs); in test_rht_init()