Home
last modified time | relevance | path

Searched refs:tdata (Results 1 – 1 of 1) sorted by relevance

/lib/
Dtest_rhashtable.c601 static int thread_lookup_test(struct thread_data *tdata) in thread_lookup_test() argument
603 unsigned int entries = tdata->entries; in thread_lookup_test()
610 .tid = tdata->id, in thread_lookup_test()
614 if (obj && (tdata->objs[i].value.id == TEST_INSERT_FAIL)) { in thread_lookup_test()
617 } else if (!obj && (tdata->objs[i].value.id != TEST_INSERT_FAIL)) { in thread_lookup_test()
634 struct thread_data *tdata = data; in threadfunc() local
639 pr_err(" thread[%d]: interrupted\n", tdata->id); in threadfunc()
643 for (i = 0; i < tdata->entries; i++) { in threadfunc()
644 tdata->objs[i].value.id = i; in threadfunc()
645 tdata->objs[i].value.tid = tdata->id; in threadfunc()
[all …]