Lines Matching refs:entry
250 struct testdev *entry; in find_testdev() local
268 entry = calloc(1, sizeof *entry); in find_testdev()
269 if (!entry) in find_testdev()
272 entry->name = strdup(name); in find_testdev()
273 if (!entry->name) { in find_testdev()
274 free(entry); in find_testdev()
280 entry->ifnum = ifnum; in find_testdev()
285 speed(entry->speed), entry->name, entry->ifnum); in find_testdev()
287 entry->next = testdevs; in find_testdev()
288 testdevs = entry; in find_testdev()
380 struct testdev *entry; in main() local
496 for (entry = testdevs; entry; entry = entry->next) { in main()
499 entry->param = param; in main()
500 entry->forever = forever; in main()
501 entry->test = test; in main()
504 if (strcmp (entry->name, device)) in main()
506 return handle_testdev (entry) != entry; in main()
508 status = pthread_create (&entry->thread, 0, handle_testdev, entry); in main()
528 for (entry = testdevs; entry; entry = entry->next) { in main()
531 if (pthread_join (entry->thread, &retval)) in main()