Lines Matching defs:objs
76 struct test_obj *objs;
599 if (obj && (tdata->objs[i].value.id == TEST_INSERT_FAIL)) {
602 } else if (!obj && (tdata->objs[i].value.id != TEST_INSERT_FAIL)) {
629 tdata->objs[i].value.id = i;
630 tdata->objs[i].value.tid = tdata->id;
631 err = insert_retry(&ht, &tdata->objs[i], test_rht_params);
653 if (tdata->objs[i].value.id == TEST_INSERT_FAIL)
655 err = rhashtable_remove_fast(&ht, &tdata->objs[i].node,
662 tdata->objs[i].value.id = TEST_INSERT_FAIL;
687 struct test_obj *objs;
698 objs = vzalloc(array_size(sizeof(struct test_obj),
700 if (!objs)
710 memset(objs, 0, test_rht_params.max_size * sizeof(struct test_obj));
719 time = test_rhashtable(&ht, objs, entries);
722 vfree(objs);
731 test_rht_params.max_size, test_rhashtable_max(objs, entries) == 0 ?
733 vfree(objs);
749 objs = vzalloc(array3_size(sizeof(struct test_obj), tcount, entries));
750 if (!objs) {
762 vfree(objs);
768 tdata[i].objs = objs + i * entries;
794 vfree(objs);