Lines Matching refs:id

59 	int	id;  member
75 int id; member
84 return (obj->value.id % 10); in my_hashfn()
92 return test_obj->value.id - val->id; in my_cmpfn()
147 .id = i, in test_rht_lookup()
150 if (array[i / 2].value.id == TEST_INSERT_FAIL) in test_rht_lookup()
156 pr_warn("Test failed: Could not find key %u\n", key.id); in test_rht_lookup()
160 key.id); in test_rht_lookup()
163 if (obj->value.id != i) { in test_rht_lookup()
165 obj->value.id, i); in test_rht_lookup()
226 obj->value.id = i * 2; in test_rhashtable()
248 .id = i * 2, in test_rhashtable()
251 if (array[i].value.id != TEST_INSERT_FAIL) { in test_rhashtable()
298 rhl_test_objects[i].value.id = k; in test_rhltable()
315 .id = k, in test_rhltable()
449 obj->value.id = i * 2; in test_rhashtable_max()
501 offset += sprintf(buff + offset, " val %d (tid=%d)%s", p->value.id, p->value.tid, in print_ht()
572 rhl_test_objects[0].value.id = 1; in test_insert_duplicates_run()
573 rhl_test_objects[1].value.id = 21; in test_insert_duplicates_run()
577 rhl_test_objects[2].value.id = rhl_test_objects[0].value.id; in test_insert_duplicates_run()
595 .id = i, in thread_lookup_test()
596 .tid = tdata->id, in thread_lookup_test()
600 if (obj && (tdata->objs[i].value.id == TEST_INSERT_FAIL)) { in thread_lookup_test()
601 pr_err(" found unexpected object %d-%d\n", key.tid, key.id); in thread_lookup_test()
603 } else if (!obj && (tdata->objs[i].value.id != TEST_INSERT_FAIL)) { in thread_lookup_test()
604 pr_err(" object %d-%d not found!\n", key.tid, key.id); in thread_lookup_test()
608 obj->value.tid, obj->value.id, key.tid, key.id); in thread_lookup_test()
625 pr_err(" thread[%d]: interrupted\n", tdata->id); in threadfunc()
630 tdata->objs[i].value.id = i; in threadfunc()
631 tdata->objs[i].value.tid = tdata->id; in threadfunc()
637 tdata->id); in threadfunc()
643 tdata->id, insert_retries); in threadfunc()
648 tdata->id); in threadfunc()
654 if (tdata->objs[i].value.id == TEST_INSERT_FAIL) in threadfunc()
660 tdata->id); in threadfunc()
663 tdata->objs[i].value.id = TEST_INSERT_FAIL; in threadfunc()
670 tdata->id); in threadfunc()
767 tdata[i].id = i; in test_rht_init()