Lines Matching defs:fibo
19 long fibo = (intptr_t)argv;
23 if (fibo == 0)
25 if (fibo == 1)
29 snprintf(name, sizeof(name), "fibo %ld", fibo - 1);
30 t[0] = thread_create(name, &fibo_thread, (void*)(fibo - 1), DEFAULT_PRIORITY);
32 printf("error creating thread for fibo %ld\n", fibo - 1);
35 snprintf(name, sizeof(name), "fibo %ld", fibo - 2);
36 t[1] = thread_create(name, &fibo_thread, (void*)(fibo - 2), DEFAULT_PRIORITY);
38 printf("error creating thread for fibo %ld\n", fibo - 2);
55 int fibo(int argc, const cmd_args* argv, uint32_t) {
64 thread_t* t = thread_create("fibo", &fibo_thread, (void*)(uintptr_t)argv[1].u, DEFAULT_PRIORITY);
72 printf("fibo %d\n", retcode);