Lines Matching defs:objs
76 struct test_obj *objs;
614 if (obj && (tdata->objs[i].value.id == TEST_INSERT_FAIL)) {
617 } else if (!obj && (tdata->objs[i].value.id != TEST_INSERT_FAIL)) {
644 tdata->objs[i].value.id = i;
645 tdata->objs[i].value.tid = tdata->id;
646 err = insert_retry(&ht, &tdata->objs[i], test_rht_params);
668 if (tdata->objs[i].value.id == TEST_INSERT_FAIL)
670 err = rhashtable_remove_fast(&ht, &tdata->objs[i].node,
677 tdata->objs[i].value.id = TEST_INSERT_FAIL;
702 struct test_obj *objs;
713 objs = vzalloc(array_size(sizeof(struct test_obj),
715 if (!objs)
725 memset(objs, 0, test_rht_params.max_size * sizeof(struct test_obj));
734 time = test_rhashtable(&ht, objs, entries);
737 vfree(objs);
746 test_rht_params.max_size, test_rhashtable_max(objs, entries) == 0 ?
748 vfree(objs);
764 objs = vzalloc(array3_size(sizeof(struct test_obj), tcount, entries));
765 if (!objs) {
777 vfree(objs);
783 tdata[i].objs = objs + i * entries;
809 vfree(objs);