Lines Matching refs:BUG_ON
212 BUG_ON(ret); in bind_to_cpu()
222 BUG_ON(target_cpu < 0 || target_cpu >= g->p.nr_cpus); in bind_to_cpu()
227 BUG_ON(ret); in bind_to_cpu()
239 BUG_ON(cpus_per_node*g->p.nr_nodes != g->p.nr_cpus); in bind_to_node()
240 BUG_ON(!cpus_per_node); in bind_to_node()
243 BUG_ON(ret); in bind_to_node()
254 BUG_ON(cpu_stop > g->p.nr_cpus); in bind_to_node()
261 BUG_ON(ret); in bind_to_node()
271 BUG_ON(ret); in bind_to_cpumask()
280 BUG_ON(ret); in mempol_restore()
291 BUG_ON(g->p.nr_nodes > (int)sizeof(nodemask)); in bind_to_memnode()
297 BUG_ON(ret); in bind_to_memnode()
330 BUG_ON(buf == (void *)-1); in alloc_data()
383 BUG_ON(ret); in free_data()
446 BUG_ON(!str); in parse_setup_cpu_list()
478 BUG_ON(step <= 0 || step >= g->p.nr_cpus); in parse_setup_cpu_list()
490 BUG_ON(bind_len <= 0 || bind_len > g->p.nr_cpus); in parse_setup_cpu_list()
498 BUG_ON(mul <= 0); in parse_setup_cpu_list()
508 BUG_ON(bind_cpu_0 < 0 || bind_cpu_1 < 0); in parse_setup_cpu_list()
509 BUG_ON(bind_cpu_0 > bind_cpu_1); in parse_setup_cpu_list()
533 BUG_ON(cpu < 0 || cpu >= g->p.nr_cpus); in parse_setup_cpu_list()
583 BUG_ON(!str); in parse_setup_node_list()
614 BUG_ON(step <= 0 || step >= g->p.nr_nodes); in parse_setup_node_list()
622 BUG_ON(mul <= 0); in parse_setup_node_list()
632 BUG_ON(bind_node_0 < 0 || bind_node_1 < 0); in parse_setup_node_list()
633 BUG_ON(bind_node_0 > bind_node_1); in parse_setup_node_list()
717 BUG_ON(!data && words); in do_work()
718 BUG_ON(data && !words); in do_work()
959 BUG_ON(nr_min > nr_max); in calc_convergence()
961 BUG_ON(sum > g->p.nr_tasks); in calc_convergence()
1254 BUG_ON(ret); in worker_process()
1259 BUG_ON(ret); in worker_process()
1326 BUG_ON(g->p.nr_nodes > MAX_NR_NODES || g->p.nr_nodes < 0); in init()
1337 BUG_ON(g->p.mb_global < 0); in init()
1342 BUG_ON(g->p.mb_proc < 0); in init()
1347 BUG_ON(g->p.mb_proc_locked < 0); in init()
1348 BUG_ON(g->p.mb_proc_locked > g->p.mb_proc); in init()
1353 BUG_ON(g->p.mb_thread < 0); in init()
1356 BUG_ON(g->p.nr_threads <= 0); in init()
1357 BUG_ON(g->p.nr_proc <= 0); in init()
1445 BUG_ON(pid < 0); in __bench_numa()
1459 BUG_ON(g->nr_tasks_started != g->p.nr_tasks); in __bench_numa()
1494 BUG_ON(wpid < 0); in __bench_numa()
1495 BUG_ON(!WIFEXITED(wait_stat)); in __bench_numa()
1512 BUG_ON(bench_format != BENCH_FORMAT_DEFAULT); in __bench_numa()
1577 BUG_ON(size >= MAX_ARGS); in command_size()
1723 BUG_ON(ret < 0); in bench_all()