Lines Matching refs:BUG_ON
255 BUG_ON(!cpumask); in node_has_cpus()
275 BUG_ON(ret); in bind_to_cpu()
285 BUG_ON(target_cpu < 0 || target_cpu >= g->p.nr_cpus); in bind_to_cpu()
290 BUG_ON(ret); in bind_to_cpu()
302 BUG_ON(ret); in bind_to_node()
312 BUG_ON(!cpumask); in bind_to_node()
323 BUG_ON(ret); in bind_to_node()
333 BUG_ON(ret); in bind_to_cpumask()
342 BUG_ON(ret); in mempol_restore()
353 BUG_ON(g->p.nr_nodes > (int)sizeof(nodemask)*8); in bind_to_memnode()
359 BUG_ON(ret); in bind_to_memnode()
394 BUG_ON(buf == (void *)-1); in alloc_data()
447 BUG_ON(ret); in free_data()
522 BUG_ON(!str); in parse_setup_cpu_list()
554 BUG_ON(step <= 0 || step >= g->p.nr_cpus); in parse_setup_cpu_list()
566 BUG_ON(bind_len <= 0 || bind_len > g->p.nr_cpus); in parse_setup_cpu_list()
574 BUG_ON(mul <= 0); in parse_setup_cpu_list()
584 BUG_ON(bind_cpu_0 < 0 || bind_cpu_1 < 0); in parse_setup_cpu_list()
585 BUG_ON(bind_cpu_0 > bind_cpu_1); in parse_setup_cpu_list()
609 BUG_ON(cpu < 0 || cpu >= g->p.nr_cpus); in parse_setup_cpu_list()
659 BUG_ON(!str); in parse_setup_node_list()
690 BUG_ON(step <= 0 || step >= g->p.nr_nodes); in parse_setup_node_list()
698 BUG_ON(mul <= 0); in parse_setup_node_list()
708 BUG_ON(bind_node_0 < 0 || bind_node_1 < 0); in parse_setup_node_list()
709 BUG_ON(bind_node_0 > bind_node_1); in parse_setup_node_list()
791 BUG_ON(!data && words); in do_work()
792 BUG_ON(data && !words); in do_work()
1034 BUG_ON(nr_min > nr_max); in calc_convergence()
1036 BUG_ON(sum > g->p.nr_tasks); in calc_convergence()
1344 BUG_ON(ret); in worker_process()
1349 BUG_ON(ret); in worker_process()
1416 BUG_ON(g->p.nr_nodes > MAX_NR_NODES || g->p.nr_nodes < 0); in init()
1427 BUG_ON(g->p.mb_global < 0); in init()
1432 BUG_ON(g->p.mb_proc < 0); in init()
1437 BUG_ON(g->p.mb_proc_locked < 0); in init()
1438 BUG_ON(g->p.mb_proc_locked > g->p.mb_proc); in init()
1443 BUG_ON(g->p.mb_thread < 0); in init()
1446 BUG_ON(g->p.nr_threads <= 0); in init()
1447 BUG_ON(g->p.nr_proc <= 0); in init()
1533 BUG_ON(pid < 0); in __bench_numa()
1593 BUG_ON(wpid < 0); in __bench_numa()
1594 BUG_ON(!WIFEXITED(wait_stat)); in __bench_numa()
1611 BUG_ON(bench_format != BENCH_FORMAT_DEFAULT); in __bench_numa()
1694 BUG_ON(size >= MAX_ARGS); in command_size()
1840 BUG_ON(ret < 0); in bench_all()