Lines Matching refs:BUG_ON
22 #define BUG_ON(condition, description) \ macro
36 BUG_ON(ret <= 0, "read(sock)"); in parent_f()
40 BUG_ON(ret, "msync()"); in parent_f()
43 BUG_ON(ret <= 0, "write(sock)"); in parent_f()
46 BUG_ON(!WIFEXITED(status), "child in unexpected state"); in parent_f()
57 BUG_ON(smap == MAP_FAILED, "mmap()"); in child_f()
59 BUG_ON(*smap != 0xdeadbabe, "MAP_PRIVATE | MAP_POPULATE changed file"); in child_f()
62 BUG_ON(ret <= 0, "write(sock)"); in child_f()
65 BUG_ON(ret <= 0, "read(sock)"); in child_f()
67 BUG_ON(*smap == 0x22222BAD, "MAP_POPULATE didn't COW private page"); in child_f()
68 BUG_ON(*smap != 0xdeadbabe, "mapping was corrupted"); in child_f()
80 BUG_ON(!ftmp, "tmpfile()"); in main()
83 BUG_ON(ret, "ftruncate()"); in main()
87 BUG_ON(smap == MAP_FAILED, "mmap()"); in main()
92 BUG_ON(ret, "msync()"); in main()
95 BUG_ON(ret, "socketpair()"); in main()
98 BUG_ON(child == -1, "fork()"); in main()
102 BUG_ON(ret, "close()"); in main()
108 BUG_ON(ret, "close()"); in main()