Lines Matching refs:err
116 unsigned int err, total = 0, chain_len = 0; in test_bucket_stats() local
120 err = rhashtable_walk_init(ht, &hti); in test_bucket_stats()
121 if (err) { in test_bucket_stats()
126 err = rhashtable_walk_start(&hti); in test_bucket_stats()
127 if (err && err != -EAGAIN) { in test_bucket_stats()
128 pr_warn("Test failed: iterator failed: %d\n", err); in test_bucket_stats()
159 int err; in test_rhashtable() local
174 err = rhashtable_insert_fast(ht, &obj->node, test_rht_params); in test_rhashtable()
175 if (err == -ENOMEM || err == -EBUSY) { in test_rhashtable()
179 } else if (err) { in test_rhashtable()
180 return err; in test_rhashtable()
221 int i, err = 0; in thread_lookup_test() local
230 err++; in thread_lookup_test()
233 err++; in thread_lookup_test()
237 err++; in thread_lookup_test()
240 return err; in thread_lookup_test()
245 int i, step, err = 0, insert_fails = 0; in threadfunc() local
254 err = rhashtable_insert_fast(&ht, &tdata->objs[i].node, in threadfunc()
256 if (err == -ENOMEM || err == -EBUSY) { in threadfunc()
259 } else if (err) { in threadfunc()
269 err = thread_lookup_test(tdata); in threadfunc()
270 if (err) { in threadfunc()
280 err = rhashtable_remove_fast(&ht, &tdata->objs[i].node, in threadfunc()
282 if (err) { in threadfunc()
289 err = thread_lookup_test(tdata); in threadfunc()
290 if (err) { in threadfunc()
301 return err; in threadfunc()
306 int i, err, started_threads = 0, failed_threads = 0; in test_rht_init() local
325 err = rhashtable_init(&ht, &test_rht_params); in test_rht_init()
326 if (err < 0) { in test_rht_init()
328 err); in test_rht_init()
360 err = rhashtable_init(&ht, &test_rht_params); in test_rht_init()
361 if (err < 0) { in test_rht_init()
363 err); in test_rht_init()
385 if ((err = kthread_stop(tdata[i].task))) { in test_rht_init()
387 i, err); in test_rht_init()