Lines Matching refs:BUG_ON
217 BUG_ON(ret); in bind_to_cpu()
227 BUG_ON(target_cpu < 0 || target_cpu >= g->p.nr_cpus); in bind_to_cpu()
232 BUG_ON(ret); in bind_to_cpu()
244 BUG_ON(cpus_per_node*g->p.nr_nodes != g->p.nr_cpus); in bind_to_node()
245 BUG_ON(!cpus_per_node); in bind_to_node()
248 BUG_ON(ret); in bind_to_node()
259 BUG_ON(cpu_stop > g->p.nr_cpus); in bind_to_node()
266 BUG_ON(ret); in bind_to_node()
276 BUG_ON(ret); in bind_to_cpumask()
285 BUG_ON(ret); in mempol_restore()
296 BUG_ON(g->p.nr_nodes > (int)sizeof(nodemask)); in bind_to_memnode()
302 BUG_ON(ret); in bind_to_memnode()
335 BUG_ON(buf == (void *)-1); in alloc_data()
388 BUG_ON(ret); in free_data()
451 BUG_ON(!str); in parse_setup_cpu_list()
483 BUG_ON(step <= 0 || step >= g->p.nr_cpus); in parse_setup_cpu_list()
495 BUG_ON(bind_len <= 0 || bind_len > g->p.nr_cpus); in parse_setup_cpu_list()
503 BUG_ON(mul <= 0); in parse_setup_cpu_list()
513 BUG_ON(bind_cpu_0 < 0 || bind_cpu_1 < 0); in parse_setup_cpu_list()
514 BUG_ON(bind_cpu_0 > bind_cpu_1); in parse_setup_cpu_list()
538 BUG_ON(cpu < 0 || cpu >= g->p.nr_cpus); in parse_setup_cpu_list()
588 BUG_ON(!str); in parse_setup_node_list()
619 BUG_ON(step <= 0 || step >= g->p.nr_nodes); in parse_setup_node_list()
627 BUG_ON(mul <= 0); in parse_setup_node_list()
637 BUG_ON(bind_node_0 < 0 || bind_node_1 < 0); in parse_setup_node_list()
638 BUG_ON(bind_node_0 > bind_node_1); in parse_setup_node_list()
722 BUG_ON(!data && words); in do_work()
723 BUG_ON(data && !words); in do_work()
964 BUG_ON(nr_min > nr_max); in calc_convergence()
966 BUG_ON(sum > g->p.nr_tasks); in calc_convergence()
1267 BUG_ON(ret); in worker_process()
1272 BUG_ON(ret); in worker_process()
1339 BUG_ON(g->p.nr_nodes > MAX_NR_NODES || g->p.nr_nodes < 0); in init()
1350 BUG_ON(g->p.mb_global < 0); in init()
1355 BUG_ON(g->p.mb_proc < 0); in init()
1360 BUG_ON(g->p.mb_proc_locked < 0); in init()
1361 BUG_ON(g->p.mb_proc_locked > g->p.mb_proc); in init()
1366 BUG_ON(g->p.mb_thread < 0); in init()
1369 BUG_ON(g->p.nr_threads <= 0); in init()
1370 BUG_ON(g->p.nr_proc <= 0); in init()
1458 BUG_ON(pid < 0); in __bench_numa()
1472 BUG_ON(g->nr_tasks_started != g->p.nr_tasks); in __bench_numa()
1507 BUG_ON(wpid < 0); in __bench_numa()
1508 BUG_ON(!WIFEXITED(wait_stat)); in __bench_numa()
1525 BUG_ON(bench_format != BENCH_FORMAT_DEFAULT); in __bench_numa()
1608 BUG_ON(size >= MAX_ARGS); in command_size()
1754 BUG_ON(ret < 0); in bench_all()