| /tools/testing/selftests/mm/ |
| A D | mremap_dontunmap.c | 30 #define BUG_ON(condition, description) \ macro 71 BUG_ON(size & (page_size - 1), in check_region_contains_byte() 114 BUG_ON(check_region_contains_byte in mremap_dontunmap_simple() 117 BUG_ON(check_region_contains_byte in mremap_dontunmap_simple() 134 BUG_ON(mem_fd < 0, "memfd_create"); in mremap_dontunmap_simple_shmem() 144 BUG_ON(close(mem_fd) < 0, "close"); in mremap_dontunmap_simple_shmem() 163 BUG_ON(check_region_contains_byte in mremap_dontunmap_simple_shmem() 169 BUG_ON(check_region_contains_byte in mremap_dontunmap_simple_shmem() 211 BUG_ON(check_region_contains_byte in mremap_dontunmap_simple_fixed() 216 BUG_ON(check_region_contains_byte in mremap_dontunmap_simple_fixed() [all …]
|
| A D | map_populate.c | 40 BUG_ON(ret <= 0, "read(sock)"); in parent_f() 44 BUG_ON(ret, "msync()"); in parent_f() 47 BUG_ON(ret <= 0, "write(sock)"); in parent_f() 70 BUG_ON(ret <= 0, "read(sock)"); in child_f() 89 BUG_ON(!ftmp, "tmpfile()"); in main() 95 BUG_ON(ret, "ftruncate()"); in main() 104 BUG_ON(ret, "msync()"); in main() 107 BUG_ON(ret, "socketpair()"); in main() 110 BUG_ON(child == -1, "fork()"); in main() 114 BUG_ON(ret, "close()"); in main() [all …]
|
| /tools/testing/radix-tree/ |
| A D | idr-test.c | 175 BUG_ON(id < 0); in idr_u32_cb() 176 BUG_ON(ptr != DUMMY_PTR); in idr_u32_cb() 188 BUG_ON(id != handle); in idr_u32_test1() 190 BUG_ON(id != handle); in idr_u32_test1() 195 BUG_ON(ptr != NULL); in idr_u32_test1() 196 BUG_ON(sid != 0); in idr_u32_test1() 198 BUG_ON(ptr != DUMMY_PTR); in idr_u32_test1() 199 BUG_ON(sid != id); in idr_u32_test1() 207 BUG_ON(!idr_is_empty(idr)); in idr_u32_test1() 259 BUG_ON(!idr_is_empty(idr)); in idr_align_test() [all …]
|
| A D | regression2.c | 120 BUG_ON(!radix_tree_empty(&mt_tree)); in regression2_test()
|
| /tools/perf/bench/ |
| A D | numa.c | 315 BUG_ON(-1); in bind_to_cpu() 369 BUG_ON(-1); in bind_to_node() 381 BUG_ON(ret); in bind_to_cpumask() 391 BUG_ON(ret); in mempol_restore() 412 BUG_ON(ret); in bind_to_memnode() 501 BUG_ON(ret); in free_data() 603 BUG_ON(!str); in parse_setup_cpu_list() 751 BUG_ON(!str); in parse_setup_node_list() 1094 BUG_ON(!nodes); in calc_convergence() 1447 BUG_ON(ret); in worker_process() [all …]
|
| A D | sched-pipe.c | 202 BUG_ON(td->epoll_fd < 0); in worker_thread() 203 BUG_ON(epoll_ctl(td->epoll_fd, EPOLL_CTL_ADD, td->pipe_read, &td->epoll_ev) < 0); in worker_thread() 208 BUG_ON(ret != sizeof(int)); in worker_thread() 210 BUG_ON(ret != sizeof(int)); in worker_thread() 239 BUG_ON(pipe2(pipe_1, flags)); in bench_sched_pipe() 240 BUG_ON(pipe2(pipe_2, flags)); in bench_sched_pipe() 263 BUG_ON(ret); in bench_sched_pipe() 270 BUG_ON(ret); in bench_sched_pipe()
|
| A D | mem-functions.c | 89 BUG_ON(ret != sizeof(u64)); in get_cycles() 163 BUG_ON(1); in __bench_mem_function() 262 BUG_ON(gettimeofday(&tv_start, NULL)); in do_memcpy_gettimeofday() 265 BUG_ON(gettimeofday(&tv_end, NULL)); in do_memcpy_gettimeofday() 336 BUG_ON(gettimeofday(&tv_start, NULL)); in do_memset_gettimeofday() 339 BUG_ON(gettimeofday(&tv_end, NULL)); in do_memset_gettimeofday()
|
| A D | futex-wake.c | 110 BUG_ON(!cpuset); in block_threads()
|
| A D | futex-hash.c | 184 BUG_ON(!cpuset); in bench_futex_hash()
|
| A D | futex-lock-pi.c | 134 BUG_ON(!cpuset); in create_threads()
|
| A D | futex-requeue.c | 137 BUG_ON(!cpuset); in block_threads()
|
| A D | futex-wake-parallel.c | 161 BUG_ON(!cpuset); in block_threads()
|
| /tools/include/linux/ |
| A D | kernel.h | 49 #ifndef BUG_ON 51 #define BUG_ON(cond) do { if (cond) {} } while (0) macro 53 #define BUG_ON(cond) assert(!(cond)) macro 56 #define BUG() BUG_ON(1)
|
| A D | refcount.h | 48 #define REFCOUNT_WARN(cond, str) BUG_ON(cond)
|
| /tools/virtio/linux/ |
| A D | scatterlist.h | 38 BUG_ON((unsigned long) page & 0x03); in sg_assign_page() 40 BUG_ON(sg_is_chain(sg)); in sg_assign_page() 70 BUG_ON(sg_is_chain(sg)); in sg_page()
|
| A D | bug.h | 7 #define BUG_ON(__BUG_ON_cond) assert(!(__BUG_ON_cond)) macro
|
| /tools/lib/perf/ |
| A D | lib.c | 29 BUG_ON((size_t)(buf - buf_start) != n); in ion()
|
| /tools/perf/ |
| A D | builtin-sched.c | 526 BUG_ON(ret); in perf_sched__process_event() 534 BUG_ON(1); in perf_sched__process_event() 545 BUG_ON(err); in get_cpu_usage_nsec_parent() 631 BUG_ON(ret); in thread_func() 645 BUG_ON(ret); in thread_func() 663 BUG_ON(err); in create_tasks() 666 BUG_ON(err); in create_tasks() 679 BUG_ON(err); in create_tasks() 697 BUG_ON(err); in destroy_tasks() 718 BUG_ON(ret); in wait_for_tasks() [all …]
|
| A D | builtin-diff.c | 361 BUG_ON(1); in formula_fprintf() 730 BUG_ON(1); in hists__precompute() 780 BUG_ON(1); in __hist_entry__cmp_compute() 1442 BUG_ON(1); in __hpp__color_compare() 1633 BUG_ON(1); in hpp__entry_pair() 1679 BUG_ON(!dfmt->header); in hpp__header() 1690 BUG_ON(dfmt->header_width <= 0); in hpp__width() 1702 BUG_ON(dfmt->idx >= PERF_HPP_DIFF__MAX_INDEX); in init_header() 1707 BUG_ON(!header); in init_header() 1861 BUG_ON(1); in ui_init()
|
| A D | builtin-lock.c | 104 BUG_ON("inserting invalid thread_stat\n"); in thread_stat_insert() 631 BUG_ON("Unknown state of lock sequence found!\n"); in report_lock_acquire_event() 695 BUG_ON("Unknown state of lock sequence found!\n"); in report_lock_acquired_event() 753 BUG_ON("Unknown state of lock sequence found!\n"); in report_lock_contended_event() 799 BUG_ON(seq->read_count < 0); in report_lock_release_event() 815 BUG_ON("Unknown state of lock sequence found!\n"); in report_lock_release_event() 1117 BUG_ON("Unknown state of lock sequence found!\n"); in report_lock_contention_begin_event() 1181 BUG_ON("Unknown state of lock sequence found!\n"); in report_lock_contention_end_event() 2218 BUG_ON(i != rec_argc); in __cmd_record()
|
| A D | builtin-bench.c | 222 BUG_ON(!name); in run_bench()
|
| /tools/perf/util/ |
| A D | target.c | 117 BUG_ON(buflen == 0); in target__strerror()
|
| A D | bpf_counter_cgroup.c | 67 BUG_ON(evlist->core.nr_entries % nr_cgroups != 0); in bperf_load_program()
|
| /tools/perf/ui/browsers/ |
| A D | header.c | 120 BUG_ON(i != argc + 1); in tui__header_window()
|
| /tools/testing/scatterlist/linux/ |
| A D | mm.h | 15 #define BUG_ON(x) assert(!(x)) macro
|