1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
/* automatically generated by rust-bindgen */

#[repr(C)]
pub struct __BindgenUnionField<T>(::std::marker::PhantomData<T>);
impl <T> __BindgenUnionField<T> {
    #[inline]
    pub fn new() -> Self { __BindgenUnionField(::std::marker::PhantomData) }
    #[inline]
    pub unsafe fn as_ref(&self) -> &T { ::std::mem::transmute(self) }
    #[inline]
    pub unsafe fn as_mut(&mut self) -> &mut T { ::std::mem::transmute(self) }
}
impl <T> ::std::default::Default for __BindgenUnionField<T> {
    #[inline]
    fn default() -> Self { Self::new() }
}
impl <T> ::std::clone::Clone for __BindgenUnionField<T> {
    #[inline]
    fn clone(&self) -> Self { Self::new() }
}
impl <T> ::std::marker::Copy for __BindgenUnionField<T> { }
impl <T> ::std::fmt::Debug for __BindgenUnionField<T> {
    fn fmt(&self, fmt: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
        fmt.write_str("__BindgenUnionField")
    }
}
pub const __GNUC_VA_LIST: ::std::os::raw::c_uint = 1;
pub const _SYS_TYPES_H: ::std::os::raw::c_uint = 1;
pub const _FEATURES_H: ::std::os::raw::c_uint = 1;
pub const _DEFAULT_SOURCE: ::std::os::raw::c_uint = 1;
pub const __USE_ISOC11: ::std::os::raw::c_uint = 1;
pub const __USE_ISOC99: ::std::os::raw::c_uint = 1;
pub const __USE_ISOC95: ::std::os::raw::c_uint = 1;
pub const __USE_POSIX_IMPLICITLY: ::std::os::raw::c_uint = 1;
pub const _POSIX_SOURCE: ::std::os::raw::c_uint = 1;
pub const _POSIX_C_SOURCE: ::std::os::raw::c_uint = 200809;
pub const __USE_POSIX: ::std::os::raw::c_uint = 1;
pub const __USE_POSIX2: ::std::os::raw::c_uint = 1;
pub const __USE_POSIX199309: ::std::os::raw::c_uint = 1;
pub const __USE_POSIX199506: ::std::os::raw::c_uint = 1;
pub const __USE_XOPEN2K: ::std::os::raw::c_uint = 1;
pub const __USE_XOPEN2K8: ::std::os::raw::c_uint = 1;
pub const _ATFILE_SOURCE: ::std::os::raw::c_uint = 1;
pub const __USE_MISC: ::std::os::raw::c_uint = 1;
pub const __USE_ATFILE: ::std::os::raw::c_uint = 1;
pub const __USE_FORTIFY_LEVEL: ::std::os::raw::c_uint = 0;
pub const _STDC_PREDEF_H: ::std::os::raw::c_uint = 1;
pub const __STDC_IEC_559__: ::std::os::raw::c_uint = 1;
pub const __STDC_IEC_559_COMPLEX__: ::std::os::raw::c_uint = 1;
pub const __STDC_ISO_10646__: ::std::os::raw::c_uint = 201605;
pub const __STDC_NO_THREADS__: ::std::os::raw::c_uint = 1;
pub const __GNU_LIBRARY__: ::std::os::raw::c_uint = 6;
pub const __GLIBC__: ::std::os::raw::c_uint = 2;
pub const __GLIBC_MINOR__: ::std::os::raw::c_uint = 24;
pub const _SYS_CDEFS_H: ::std::os::raw::c_uint = 1;
pub const __WORDSIZE: ::std::os::raw::c_uint = 64;
pub const __WORDSIZE_TIME64_COMPAT32: ::std::os::raw::c_uint = 1;
pub const __SYSCALL_WORDSIZE: ::std::os::raw::c_uint = 64;
pub const _BITS_TYPES_H: ::std::os::raw::c_uint = 1;
pub const _BITS_TYPESIZES_H: ::std::os::raw::c_uint = 1;
pub const __OFF_T_MATCHES_OFF64_T: ::std::os::raw::c_uint = 1;
pub const __INO_T_MATCHES_INO64_T: ::std::os::raw::c_uint = 1;
pub const __FD_SETSIZE: ::std::os::raw::c_uint = 1024;
pub const __clock_t_defined: ::std::os::raw::c_uint = 1;
pub const __time_t_defined: ::std::os::raw::c_uint = 1;
pub const __clockid_t_defined: ::std::os::raw::c_uint = 1;
pub const __timer_t_defined: ::std::os::raw::c_uint = 1;
pub const __BIT_TYPES_DEFINED__: ::std::os::raw::c_uint = 1;
pub const _ENDIAN_H: ::std::os::raw::c_uint = 1;
pub const __LITTLE_ENDIAN: ::std::os::raw::c_uint = 1234;
pub const __BIG_ENDIAN: ::std::os::raw::c_uint = 4321;
pub const __PDP_ENDIAN: ::std::os::raw::c_uint = 3412;
pub const __BYTE_ORDER: ::std::os::raw::c_uint = 1234;
pub const __FLOAT_WORD_ORDER: ::std::os::raw::c_uint = 1234;
pub const LITTLE_ENDIAN: ::std::os::raw::c_uint = 1234;
pub const BIG_ENDIAN: ::std::os::raw::c_uint = 4321;
pub const PDP_ENDIAN: ::std::os::raw::c_uint = 3412;
pub const BYTE_ORDER: ::std::os::raw::c_uint = 1234;
pub const _BITS_BYTESWAP_H: ::std::os::raw::c_uint = 1;
pub const _SYS_SELECT_H: ::std::os::raw::c_uint = 1;
pub const __FD_ZERO_STOS: &'static [u8; 6usize] = b"stosq\x00";
pub const _SIGSET_H_types: ::std::os::raw::c_uint = 1;
pub const __timespec_defined: ::std::os::raw::c_uint = 1;
pub const _STRUCT_TIMEVAL: ::std::os::raw::c_uint = 1;
pub const FD_SETSIZE: ::std::os::raw::c_uint = 1024;
pub const _SYS_SYSMACROS_H: ::std::os::raw::c_uint = 1;
pub const _BITS_PTHREADTYPES_H: ::std::os::raw::c_uint = 1;
pub const __SIZEOF_PTHREAD_ATTR_T: ::std::os::raw::c_uint = 56;
pub const __SIZEOF_PTHREAD_MUTEX_T: ::std::os::raw::c_uint = 40;
pub const __SIZEOF_PTHREAD_MUTEXATTR_T: ::std::os::raw::c_uint = 4;
pub const __SIZEOF_PTHREAD_COND_T: ::std::os::raw::c_uint = 48;
pub const __SIZEOF_PTHREAD_CONDATTR_T: ::std::os::raw::c_uint = 4;
pub const __SIZEOF_PTHREAD_RWLOCK_T: ::std::os::raw::c_uint = 56;
pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: ::std::os::raw::c_uint = 8;
pub const __SIZEOF_PTHREAD_BARRIER_T: ::std::os::raw::c_uint = 32;
pub const __SIZEOF_PTHREAD_BARRIERATTR_T: ::std::os::raw::c_uint = 4;
pub const __have_pthread_attr_t: ::std::os::raw::c_uint = 1;
pub const __PTHREAD_MUTEX_HAVE_PREV: ::std::os::raw::c_uint = 1;
pub const __PTHREAD_RWLOCK_INT_FLAGS_SHARED: ::std::os::raw::c_uint = 1;
pub const _STDINT_H: ::std::os::raw::c_uint = 1;
pub const _BITS_WCHAR_H: ::std::os::raw::c_uint = 1;
pub const INT8_MIN: ::std::os::raw::c_int = -128;
pub const INT16_MIN: ::std::os::raw::c_int = -32768;
pub const INT32_MIN: ::std::os::raw::c_int = -2147483648;
pub const INT8_MAX: ::std::os::raw::c_uint = 127;
pub const INT16_MAX: ::std::os::raw::c_uint = 32767;
pub const INT32_MAX: ::std::os::raw::c_uint = 2147483647;
pub const UINT8_MAX: ::std::os::raw::c_uint = 255;
pub const UINT16_MAX: ::std::os::raw::c_uint = 65535;
pub const UINT32_MAX: ::std::os::raw::c_uint = 4294967295;
pub const INT_LEAST8_MIN: ::std::os::raw::c_int = -128;
pub const INT_LEAST16_MIN: ::std::os::raw::c_int = -32768;
pub const INT_LEAST32_MIN: ::std::os::raw::c_int = -2147483648;
pub const INT_LEAST8_MAX: ::std::os::raw::c_uint = 127;
pub const INT_LEAST16_MAX: ::std::os::raw::c_uint = 32767;
pub const INT_LEAST32_MAX: ::std::os::raw::c_uint = 2147483647;
pub const UINT_LEAST8_MAX: ::std::os::raw::c_uint = 255;
pub const UINT_LEAST16_MAX: ::std::os::raw::c_uint = 65535;
pub const UINT_LEAST32_MAX: ::std::os::raw::c_uint = 4294967295;
pub const INT_FAST8_MIN: ::std::os::raw::c_int = -128;
pub const INT_FAST16_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const INT_FAST32_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const INT_FAST8_MAX: ::std::os::raw::c_uint = 127;
pub const INT_FAST16_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const INT_FAST32_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const UINT_FAST8_MAX: ::std::os::raw::c_uint = 255;
pub const UINT_FAST16_MAX: ::std::os::raw::c_int = -1;
pub const UINT_FAST32_MAX: ::std::os::raw::c_int = -1;
pub const INTPTR_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const INTPTR_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const UINTPTR_MAX: ::std::os::raw::c_int = -1;
pub const PTRDIFF_MIN: ::std::os::raw::c_longlong = -9223372036854775808;
pub const PTRDIFF_MAX: ::std::os::raw::c_ulonglong = 9223372036854775807;
pub const SIG_ATOMIC_MIN: ::std::os::raw::c_int = -2147483648;
pub const SIG_ATOMIC_MAX: ::std::os::raw::c_uint = 2147483647;
pub const SIZE_MAX: ::std::os::raw::c_int = -1;
pub const WINT_MIN: ::std::os::raw::c_uint = 0;
pub const WINT_MAX: ::std::os::raw::c_uint = 4294967295;
pub const __BITS_PER_LONG: ::std::os::raw::c_uint = 64;
pub const _IOC_NRBITS: ::std::os::raw::c_uint = 8;
pub const _IOC_TYPEBITS: ::std::os::raw::c_uint = 8;
pub const _IOC_SIZEBITS: ::std::os::raw::c_uint = 14;
pub const _IOC_DIRBITS: ::std::os::raw::c_uint = 2;
pub const _IOC_NRMASK: ::std::os::raw::c_uint = 255;
pub const _IOC_TYPEMASK: ::std::os::raw::c_uint = 255;
pub const _IOC_SIZEMASK: ::std::os::raw::c_uint = 16383;
pub const _IOC_DIRMASK: ::std::os::raw::c_uint = 3;
pub const _IOC_NRSHIFT: ::std::os::raw::c_uint = 0;
pub const _IOC_TYPESHIFT: ::std::os::raw::c_uint = 8;
pub const _IOC_SIZESHIFT: ::std::os::raw::c_uint = 16;
pub const _IOC_DIRSHIFT: ::std::os::raw::c_uint = 30;
pub const _IOC_NONE: ::std::os::raw::c_uint = 0;
pub const _IOC_WRITE: ::std::os::raw::c_uint = 1;
pub const _IOC_READ: ::std::os::raw::c_uint = 2;
pub const IOC_IN: ::std::os::raw::c_uint = 1073741824;
pub const IOC_OUT: ::std::os::raw::c_uint = 2147483648;
pub const IOC_INOUT: ::std::os::raw::c_uint = 3221225472;
pub const IOCSIZE_MASK: ::std::os::raw::c_uint = 1073676288;
pub const IOCSIZE_SHIFT: ::std::os::raw::c_uint = 16;
pub const DRM_NAME: &'static [u8; 4usize] = b"drm\x00";
pub const DRM_MIN_ORDER: ::std::os::raw::c_uint = 5;
pub const DRM_MAX_ORDER: ::std::os::raw::c_uint = 22;
pub const DRM_RAM_PERCENT: ::std::os::raw::c_uint = 10;
pub const _DRM_LOCK_HELD: ::std::os::raw::c_uint = 2147483648;
pub const _DRM_LOCK_CONT: ::std::os::raw::c_uint = 1073741824;
pub const _DRM_VBLANK_HIGH_CRTC_SHIFT: ::std::os::raw::c_uint = 1;
pub const _DRM_PRE_MODESET: ::std::os::raw::c_uint = 1;
pub const _DRM_POST_MODESET: ::std::os::raw::c_uint = 2;
pub const DRM_CAP_DUMB_BUFFER: ::std::os::raw::c_uint = 1;
pub const DRM_CAP_VBLANK_HIGH_CRTC: ::std::os::raw::c_uint = 2;
pub const DRM_CAP_DUMB_PREFERRED_DEPTH: ::std::os::raw::c_uint = 3;
pub const DRM_CAP_DUMB_PREFER_SHADOW: ::std::os::raw::c_uint = 4;
pub const DRM_CAP_PRIME: ::std::os::raw::c_uint = 5;
pub const DRM_PRIME_CAP_IMPORT: ::std::os::raw::c_uint = 1;
pub const DRM_PRIME_CAP_EXPORT: ::std::os::raw::c_uint = 2;
pub const DRM_CAP_TIMESTAMP_MONOTONIC: ::std::os::raw::c_uint = 6;
pub const DRM_CAP_ASYNC_PAGE_FLIP: ::std::os::raw::c_uint = 7;
pub const DRM_CAP_CURSOR_WIDTH: ::std::os::raw::c_uint = 8;
pub const DRM_CAP_CURSOR_HEIGHT: ::std::os::raw::c_uint = 9;
pub const DRM_CAP_ADDFB2_MODIFIERS: ::std::os::raw::c_uint = 16;
pub const DRM_CAP_PAGE_FLIP_TARGET: ::std::os::raw::c_uint = 17;
pub const DRM_CLIENT_CAP_STEREO_3D: ::std::os::raw::c_uint = 1;
pub const DRM_CLIENT_CAP_UNIVERSAL_PLANES: ::std::os::raw::c_uint = 2;
pub const DRM_CLIENT_CAP_ATOMIC: ::std::os::raw::c_uint = 3;
pub const DRM_DISPLAY_INFO_LEN: ::std::os::raw::c_uint = 32;
pub const DRM_CONNECTOR_NAME_LEN: ::std::os::raw::c_uint = 32;
pub const DRM_DISPLAY_MODE_LEN: ::std::os::raw::c_uint = 32;
pub const DRM_PROP_NAME_LEN: ::std::os::raw::c_uint = 32;
pub const DRM_MODE_TYPE_BUILTIN: ::std::os::raw::c_uint = 1;
pub const DRM_MODE_TYPE_CLOCK_C: ::std::os::raw::c_uint = 3;
pub const DRM_MODE_TYPE_CRTC_C: ::std::os::raw::c_uint = 5;
pub const DRM_MODE_TYPE_PREFERRED: ::std::os::raw::c_uint = 8;
pub const DRM_MODE_TYPE_DEFAULT: ::std::os::raw::c_uint = 16;
pub const DRM_MODE_TYPE_USERDEF: ::std::os::raw::c_uint = 32;
pub const DRM_MODE_TYPE_DRIVER: ::std::os::raw::c_uint = 64;
pub const DRM_MODE_FLAG_PHSYNC: ::std::os::raw::c_uint = 1;
pub const DRM_MODE_FLAG_NHSYNC: ::std::os::raw::c_uint = 2;
pub const DRM_MODE_FLAG_PVSYNC: ::std::os::raw::c_uint = 4;
pub const DRM_MODE_FLAG_NVSYNC: ::std::os::raw::c_uint = 8;
pub const DRM_MODE_FLAG_INTERLACE: ::std::os::raw::c_uint = 16;
pub const DRM_MODE_FLAG_DBLSCAN: ::std::os::raw::c_uint = 32;
pub const DRM_MODE_FLAG_CSYNC: ::std::os::raw::c_uint = 64;
pub const DRM_MODE_FLAG_PCSYNC: ::std::os::raw::c_uint = 128;
pub const DRM_MODE_FLAG_NCSYNC: ::std::os::raw::c_uint = 256;
pub const DRM_MODE_FLAG_HSKEW: ::std::os::raw::c_uint = 512;
pub const DRM_MODE_FLAG_BCAST: ::std::os::raw::c_uint = 1024;
pub const DRM_MODE_FLAG_PIXMUX: ::std::os::raw::c_uint = 2048;
pub const DRM_MODE_FLAG_DBLCLK: ::std::os::raw::c_uint = 4096;
pub const DRM_MODE_FLAG_CLKDIV2: ::std::os::raw::c_uint = 8192;
pub const DRM_MODE_FLAG_3D_MASK: ::std::os::raw::c_uint = 507904;
pub const DRM_MODE_FLAG_3D_NONE: ::std::os::raw::c_uint = 0;
pub const DRM_MODE_FLAG_3D_FRAME_PACKING: ::std::os::raw::c_uint = 16384;
pub const DRM_MODE_FLAG_3D_FIELD_ALTERNATIVE: ::std::os::raw::c_uint = 32768;
pub const DRM_MODE_FLAG_3D_LINE_ALTERNATIVE: ::std::os::raw::c_uint = 49152;
pub const DRM_MODE_FLAG_3D_SIDE_BY_SIDE_FULL: ::std::os::raw::c_uint = 65536;
pub const DRM_MODE_FLAG_3D_L_DEPTH: ::std::os::raw::c_uint = 81920;
pub const DRM_MODE_FLAG_3D_L_DEPTH_GFX_GFX_DEPTH: ::std::os::raw::c_uint =
    98304;
pub const DRM_MODE_FLAG_3D_TOP_AND_BOTTOM: ::std::os::raw::c_uint = 114688;
pub const DRM_MODE_FLAG_3D_SIDE_BY_SIDE_HALF: ::std::os::raw::c_uint = 131072;
pub const DRM_MODE_DPMS_ON: ::std::os::raw::c_uint = 0;
pub const DRM_MODE_DPMS_STANDBY: ::std::os::raw::c_uint = 1;
pub const DRM_MODE_DPMS_SUSPEND: ::std::os::raw::c_uint = 2;
pub const DRM_MODE_DPMS_OFF: ::std::os::raw::c_uint = 3;
pub const DRM_MODE_SCALE_NONE: ::std::os::raw::c_uint = 0;
pub const DRM_MODE_SCALE_FULLSCREEN: ::std::os::raw::c_uint = 1;
pub const DRM_MODE_SCALE_CENTER: ::std::os::raw::c_uint = 2;
pub const DRM_MODE_SCALE_ASPECT: ::std::os::raw::c_uint = 3;
pub const DRM_MODE_PICTURE_ASPECT_NONE: ::std::os::raw::c_uint = 0;
pub const DRM_MODE_PICTURE_ASPECT_4_3: ::std::os::raw::c_uint = 1;
pub const DRM_MODE_PICTURE_ASPECT_16_9: ::std::os::raw::c_uint = 2;
pub const DRM_MODE_DITHERING_OFF: ::std::os::raw::c_uint = 0;
pub const DRM_MODE_DITHERING_ON: ::std::os::raw::c_uint = 1;
pub const DRM_MODE_DITHERING_AUTO: ::std::os::raw::c_uint = 2;
pub const DRM_MODE_DIRTY_OFF: ::std::os::raw::c_uint = 0;
pub const DRM_MODE_DIRTY_ON: ::std::os::raw::c_uint = 1;
pub const DRM_MODE_DIRTY_ANNOTATE: ::std::os::raw::c_uint = 2;
pub const DRM_MODE_PRESENT_TOP_FIELD: ::std::os::raw::c_uint = 1;
pub const DRM_MODE_PRESENT_BOTTOM_FIELD: ::std::os::raw::c_uint = 2;
pub const DRM_MODE_ENCODER_NONE: ::std::os::raw::c_uint = 0;
pub const DRM_MODE_ENCODER_DAC: ::std::os::raw::c_uint = 1;
pub const DRM_MODE_ENCODER_TMDS: ::std::os::raw::c_uint = 2;
pub const DRM_MODE_ENCODER_LVDS: ::std::os::raw::c_uint = 3;
pub const DRM_MODE_ENCODER_TVDAC: ::std::os::raw::c_uint = 4;
pub const DRM_MODE_ENCODER_VIRTUAL: ::std::os::raw::c_uint = 5;
pub const DRM_MODE_ENCODER_DSI: ::std::os::raw::c_uint = 6;
pub const DRM_MODE_ENCODER_DPMST: ::std::os::raw::c_uint = 7;
pub const DRM_MODE_ENCODER_DPI: ::std::os::raw::c_uint = 8;
pub const DRM_MODE_SUBCONNECTOR_Automatic: ::std::os::raw::c_uint = 0;
pub const DRM_MODE_SUBCONNECTOR_Unknown: ::std::os::raw::c_uint = 0;
pub const DRM_MODE_SUBCONNECTOR_DVID: ::std::os::raw::c_uint = 3;
pub const DRM_MODE_SUBCONNECTOR_DVIA: ::std::os::raw::c_uint = 4;
pub const DRM_MODE_SUBCONNECTOR_Composite: ::std::os::raw::c_uint = 5;
pub const DRM_MODE_SUBCONNECTOR_SVIDEO: ::std::os::raw::c_uint = 6;
pub const DRM_MODE_SUBCONNECTOR_Component: ::std::os::raw::c_uint = 8;
pub const DRM_MODE_SUBCONNECTOR_SCART: ::std::os::raw::c_uint = 9;
pub const DRM_MODE_CONNECTOR_Unknown: ::std::os::raw::c_uint = 0;
pub const DRM_MODE_CONNECTOR_VGA: ::std::os::raw::c_uint = 1;
pub const DRM_MODE_CONNECTOR_DVII: ::std::os::raw::c_uint = 2;
pub const DRM_MODE_CONNECTOR_DVID: ::std::os::raw::c_uint = 3;
pub const DRM_MODE_CONNECTOR_DVIA: ::std::os::raw::c_uint = 4;
pub const DRM_MODE_CONNECTOR_Composite: ::std::os::raw::c_uint = 5;
pub const DRM_MODE_CONNECTOR_SVIDEO: ::std::os::raw::c_uint = 6;
pub const DRM_MODE_CONNECTOR_LVDS: ::std::os::raw::c_uint = 7;
pub const DRM_MODE_CONNECTOR_Component: ::std::os::raw::c_uint = 8;
pub const DRM_MODE_CONNECTOR_9PinDIN: ::std::os::raw::c_uint = 9;
pub const DRM_MODE_CONNECTOR_DisplayPort: ::std::os::raw::c_uint = 10;
pub const DRM_MODE_CONNECTOR_HDMIA: ::std::os::raw::c_uint = 11;
pub const DRM_MODE_CONNECTOR_HDMIB: ::std::os::raw::c_uint = 12;
pub const DRM_MODE_CONNECTOR_TV: ::std::os::raw::c_uint = 13;
pub const DRM_MODE_CONNECTOR_eDP: ::std::os::raw::c_uint = 14;
pub const DRM_MODE_CONNECTOR_VIRTUAL: ::std::os::raw::c_uint = 15;
pub const DRM_MODE_CONNECTOR_DSI: ::std::os::raw::c_uint = 16;
pub const DRM_MODE_CONNECTOR_DPI: ::std::os::raw::c_uint = 17;
pub const DRM_MODE_PROP_PENDING: ::std::os::raw::c_uint = 1;
pub const DRM_MODE_PROP_RANGE: ::std::os::raw::c_uint = 2;
pub const DRM_MODE_PROP_IMMUTABLE: ::std::os::raw::c_uint = 4;
pub const DRM_MODE_PROP_ENUM: ::std::os::raw::c_uint = 8;
pub const DRM_MODE_PROP_BLOB: ::std::os::raw::c_uint = 16;
pub const DRM_MODE_PROP_BITMASK: ::std::os::raw::c_uint = 32;
pub const DRM_MODE_PROP_LEGACY_TYPE: ::std::os::raw::c_uint = 58;
pub const DRM_MODE_PROP_EXTENDED_TYPE: ::std::os::raw::c_uint = 65472;
pub const DRM_MODE_PROP_ATOMIC: ::std::os::raw::c_uint = 2147483648;
pub const DRM_MODE_OBJECT_CRTC: ::std::os::raw::c_uint = 3435973836;
pub const DRM_MODE_OBJECT_CONNECTOR: ::std::os::raw::c_uint = 3233857728;
pub const DRM_MODE_OBJECT_ENCODER: ::std::os::raw::c_uint = 3772834016;
pub const DRM_MODE_OBJECT_MODE: ::std::os::raw::c_uint = 3739147998;
pub const DRM_MODE_OBJECT_PROPERTY: ::std::os::raw::c_uint = 2964369584;
pub const DRM_MODE_OBJECT_FB: ::std::os::raw::c_uint = 4227595259;
pub const DRM_MODE_OBJECT_BLOB: ::std::os::raw::c_uint = 3149642683;
pub const DRM_MODE_OBJECT_PLANE: ::std::os::raw::c_uint = 4008636142;
pub const DRM_MODE_OBJECT_ANY: ::std::os::raw::c_uint = 0;
pub const DRM_MODE_FB_INTERLACED: ::std::os::raw::c_uint = 1;
pub const DRM_MODE_FB_MODIFIERS: ::std::os::raw::c_uint = 2;
pub const DRM_MODE_FB_DIRTY_ANNOTATE_COPY: ::std::os::raw::c_uint = 1;
pub const DRM_MODE_FB_DIRTY_ANNOTATE_FILL: ::std::os::raw::c_uint = 2;
pub const DRM_MODE_FB_DIRTY_FLAGS: ::std::os::raw::c_uint = 3;
pub const DRM_MODE_FB_DIRTY_MAX_CLIPS: ::std::os::raw::c_uint = 256;
pub const DRM_MODE_CURSOR_BO: ::std::os::raw::c_uint = 1;
pub const DRM_MODE_CURSOR_MOVE: ::std::os::raw::c_uint = 2;
pub const DRM_MODE_CURSOR_FLAGS: ::std::os::raw::c_uint = 3;
pub const DRM_MODE_PAGE_FLIP_EVENT: ::std::os::raw::c_uint = 1;
pub const DRM_MODE_PAGE_FLIP_ASYNC: ::std::os::raw::c_uint = 2;
pub const DRM_MODE_PAGE_FLIP_TARGET_ABSOLUTE: ::std::os::raw::c_uint = 4;
pub const DRM_MODE_PAGE_FLIP_TARGET_RELATIVE: ::std::os::raw::c_uint = 8;
pub const DRM_MODE_PAGE_FLIP_TARGET: ::std::os::raw::c_uint = 12;
pub const DRM_MODE_PAGE_FLIP_FLAGS: ::std::os::raw::c_uint = 15;
pub const DRM_MODE_ATOMIC_TEST_ONLY: ::std::os::raw::c_uint = 256;
pub const DRM_MODE_ATOMIC_NONBLOCK: ::std::os::raw::c_uint = 512;
pub const DRM_MODE_ATOMIC_ALLOW_MODESET: ::std::os::raw::c_uint = 1024;
pub const DRM_MODE_ATOMIC_FLAGS: ::std::os::raw::c_uint = 1795;
pub const DRM_IOCTL_BASE: u8 = b'd';
pub const DRM_COMMAND_BASE: ::std::os::raw::c_uint = 64;
pub const DRM_COMMAND_END: ::std::os::raw::c_uint = 160;
pub const DRM_EVENT_VBLANK: ::std::os::raw::c_uint = 1;
pub const DRM_EVENT_FLIP_COMPLETE: ::std::os::raw::c_uint = 2;
pub const DRM_MAX_MINOR: ::std::os::raw::c_uint = 16;
pub const DRM_IOC_VOID: ::std::os::raw::c_uint = 0;
pub const DRM_IOC_READ: ::std::os::raw::c_uint = 2;
pub const DRM_IOC_WRITE: ::std::os::raw::c_uint = 1;
pub const DRM_IOC_READWRITE: ::std::os::raw::c_uint = 3;
pub const DRM_DEV_UID: ::std::os::raw::c_uint = 0;
pub const DRM_DEV_GID: ::std::os::raw::c_uint = 0;
pub const DRM_DIR_NAME: &'static [u8; 9usize] = b"/dev/dri\x00";
pub const DRM_DEV_NAME: &'static [u8; 10usize] = b"%s/card%d\x00";
pub const DRM_CONTROL_DEV_NAME: &'static [u8; 14usize] = b"%s/controlD%d\x00";
pub const DRM_RENDER_DEV_NAME: &'static [u8; 13usize] = b"%s/renderD%d\x00";
pub const DRM_PROC_NAME: &'static [u8; 11usize] = b"/proc/dri/\x00";
pub const DRM_ERR_NO_DEVICE: ::std::os::raw::c_int = -1001;
pub const DRM_ERR_NO_ACCESS: ::std::os::raw::c_int = -1002;
pub const DRM_ERR_NOT_ROOT: ::std::os::raw::c_int = -1003;
pub const DRM_ERR_INVALID: ::std::os::raw::c_int = -1004;
pub const DRM_ERR_NO_FD: ::std::os::raw::c_int = -1005;
pub const DRM_AGP_NO_HANDLE: ::std::os::raw::c_uint = 0;
pub const DRM_VBLANK_HIGH_CRTC_SHIFT: ::std::os::raw::c_uint = 1;
pub const DRM_LOCK_HELD: ::std::os::raw::c_uint = 2147483648;
pub const DRM_LOCK_CONT: ::std::os::raw::c_uint = 1073741824;
pub const DRM_NODE_PRIMARY: ::std::os::raw::c_uint = 0;
pub const DRM_NODE_CONTROL: ::std::os::raw::c_uint = 1;
pub const DRM_NODE_RENDER: ::std::os::raw::c_uint = 2;
pub const DRM_NODE_MAX: ::std::os::raw::c_uint = 3;
pub const DRM_EVENT_CONTEXT_VERSION: ::std::os::raw::c_uint = 2;
pub const DRM_BUS_PCI: ::std::os::raw::c_uint = 0;
pub type va_list = __builtin_va_list;
pub type __gnuc_va_list = __builtin_va_list;
pub type __u_char = ::std::os::raw::c_uchar;
pub type __u_short = ::std::os::raw::c_ushort;
pub type __u_int = ::std::os::raw::c_uint;
pub type __u_long = ::std::os::raw::c_ulong;
pub type __int8_t = ::std::os::raw::c_schar;
pub type __uint8_t = ::std::os::raw::c_uchar;
pub type __int16_t = ::std::os::raw::c_short;
pub type __uint16_t = ::std::os::raw::c_ushort;
pub type __int32_t = ::std::os::raw::c_int;
pub type __uint32_t = ::std::os::raw::c_uint;
pub type __int64_t = ::std::os::raw::c_long;
pub type __uint64_t = ::std::os::raw::c_ulong;
pub type __quad_t = ::std::os::raw::c_long;
pub type __u_quad_t = ::std::os::raw::c_ulong;
pub type __dev_t = ::std::os::raw::c_ulong;
pub type __uid_t = ::std::os::raw::c_uint;
pub type __gid_t = ::std::os::raw::c_uint;
pub type __ino_t = ::std::os::raw::c_ulong;
pub type __ino64_t = ::std::os::raw::c_ulong;
pub type __mode_t = ::std::os::raw::c_uint;
pub type __nlink_t = ::std::os::raw::c_ulong;
pub type __off_t = ::std::os::raw::c_long;
pub type __off64_t = ::std::os::raw::c_long;
pub type __pid_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __fsid_t {
    pub __val: [::std::os::raw::c_int; 2usize],
}
#[test]
fn bindgen_test_layout___fsid_t() {
    assert_eq!(::std::mem::size_of::<__fsid_t>() , 8usize , concat ! (
               "Size of: " , stringify ! ( __fsid_t ) ));
    assert_eq! (::std::mem::align_of::<__fsid_t>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( __fsid_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const __fsid_t ) ) . __val as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( __fsid_t ) , "::" ,
                stringify ! ( __val ) ));
}
impl Clone for __fsid_t {
    fn clone(&self) -> Self { *self }
}
pub type __clock_t = ::std::os::raw::c_long;
pub type __rlim_t = ::std::os::raw::c_ulong;
pub type __rlim64_t = ::std::os::raw::c_ulong;
pub type __id_t = ::std::os::raw::c_uint;
pub type __time_t = ::std::os::raw::c_long;
pub type __useconds_t = ::std::os::raw::c_uint;
pub type __suseconds_t = ::std::os::raw::c_long;
pub type __daddr_t = ::std::os::raw::c_int;
pub type __key_t = ::std::os::raw::c_int;
pub type __clockid_t = ::std::os::raw::c_int;
pub type __timer_t = *mut ::std::os::raw::c_void;
pub type __blksize_t = ::std::os::raw::c_long;
pub type __blkcnt_t = ::std::os::raw::c_long;
pub type __blkcnt64_t = ::std::os::raw::c_long;
pub type __fsblkcnt_t = ::std::os::raw::c_ulong;
pub type __fsblkcnt64_t = ::std::os::raw::c_ulong;
pub type __fsfilcnt_t = ::std::os::raw::c_ulong;
pub type __fsfilcnt64_t = ::std::os::raw::c_ulong;
pub type __fsword_t = ::std::os::raw::c_long;
pub type __ssize_t = ::std::os::raw::c_long;
pub type __syscall_slong_t = ::std::os::raw::c_long;
pub type __syscall_ulong_t = ::std::os::raw::c_ulong;
pub type __loff_t = __off64_t;
pub type __qaddr_t = *mut __quad_t;
pub type __caddr_t = *mut ::std::os::raw::c_char;
pub type __intptr_t = ::std::os::raw::c_long;
pub type __socklen_t = ::std::os::raw::c_uint;
pub type u_char = __u_char;
pub type u_short = __u_short;
pub type u_int = __u_int;
pub type u_long = __u_long;
pub type quad_t = __quad_t;
pub type u_quad_t = __u_quad_t;
pub type fsid_t = __fsid_t;
pub type loff_t = __loff_t;
pub type ino_t = __ino_t;
pub type dev_t = __dev_t;
pub type gid_t = __gid_t;
pub type mode_t = __mode_t;
pub type nlink_t = __nlink_t;
pub type uid_t = __uid_t;
pub type off_t = __off_t;
pub type pid_t = __pid_t;
pub type id_t = __id_t;
pub type daddr_t = __daddr_t;
pub type caddr_t = __caddr_t;
pub type key_t = __key_t;
pub type clock_t = __clock_t;
pub type time_t = __time_t;
pub type clockid_t = __clockid_t;
pub type timer_t = __timer_t;
pub type ulong = ::std::os::raw::c_ulong;
pub type ushort = ::std::os::raw::c_ushort;
pub type uint = ::std::os::raw::c_uint;
pub type u_int8_t = ::std::os::raw::c_uchar;
pub type u_int16_t = ::std::os::raw::c_ushort;
pub type u_int32_t = ::std::os::raw::c_uint;
pub type u_int64_t = ::std::os::raw::c_ulong;
pub type register_t = ::std::os::raw::c_long;
pub type __sig_atomic_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __sigset_t {
    pub __val: [::std::os::raw::c_ulong; 16usize],
}
#[test]
fn bindgen_test_layout___sigset_t() {
    assert_eq!(::std::mem::size_of::<__sigset_t>() , 128usize , concat ! (
               "Size of: " , stringify ! ( __sigset_t ) ));
    assert_eq! (::std::mem::align_of::<__sigset_t>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( __sigset_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const __sigset_t ) ) . __val as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( __sigset_t ) , "::" ,
                stringify ! ( __val ) ));
}
impl Clone for __sigset_t {
    fn clone(&self) -> Self { *self }
}
pub type sigset_t = __sigset_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct timespec {
    pub tv_sec: __time_t,
    pub tv_nsec: __syscall_slong_t,
}
#[test]
fn bindgen_test_layout_timespec() {
    assert_eq!(::std::mem::size_of::<timespec>() , 16usize , concat ! (
               "Size of: " , stringify ! ( timespec ) ));
    assert_eq! (::std::mem::align_of::<timespec>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( timespec ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const timespec ) ) . tv_sec as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( timespec ) , "::" ,
                stringify ! ( tv_sec ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const timespec ) ) . tv_nsec as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( timespec ) , "::" ,
                stringify ! ( tv_nsec ) ));
}
impl Clone for timespec {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct timeval {
    pub tv_sec: __time_t,
    pub tv_usec: __suseconds_t,
}
#[test]
fn bindgen_test_layout_timeval() {
    assert_eq!(::std::mem::size_of::<timeval>() , 16usize , concat ! (
               "Size of: " , stringify ! ( timeval ) ));
    assert_eq! (::std::mem::align_of::<timeval>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( timeval ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const timeval ) ) . tv_sec as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( timeval ) , "::" ,
                stringify ! ( tv_sec ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const timeval ) ) . tv_usec as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( timeval ) , "::" ,
                stringify ! ( tv_usec ) ));
}
impl Clone for timeval {
    fn clone(&self) -> Self { *self }
}
pub type suseconds_t = __suseconds_t;
pub type __fd_mask = ::std::os::raw::c_long;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct fd_set {
    pub __fds_bits: [__fd_mask; 16usize],
}
#[test]
fn bindgen_test_layout_fd_set() {
    assert_eq!(::std::mem::size_of::<fd_set>() , 128usize , concat ! (
               "Size of: " , stringify ! ( fd_set ) ));
    assert_eq! (::std::mem::align_of::<fd_set>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( fd_set ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const fd_set ) ) . __fds_bits as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( fd_set ) , "::" ,
                stringify ! ( __fds_bits ) ));
}
impl Clone for fd_set {
    fn clone(&self) -> Self { *self }
}
pub type fd_mask = __fd_mask;
extern "C" {
    pub fn select(__nfds: ::std::os::raw::c_int, __readfds: *mut fd_set,
                  __writefds: *mut fd_set, __exceptfds: *mut fd_set,
                  __timeout: *mut timeval) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn pselect(__nfds: ::std::os::raw::c_int, __readfds: *mut fd_set,
                   __writefds: *mut fd_set, __exceptfds: *mut fd_set,
                   __timeout: *const timespec, __sigmask: *const __sigset_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn gnu_dev_major(__dev: ::std::os::raw::c_ulonglong)
     -> ::std::os::raw::c_uint;
}
extern "C" {
    pub fn gnu_dev_minor(__dev: ::std::os::raw::c_ulonglong)
     -> ::std::os::raw::c_uint;
}
extern "C" {
    pub fn gnu_dev_makedev(__major: ::std::os::raw::c_uint,
                           __minor: ::std::os::raw::c_uint)
     -> ::std::os::raw::c_ulonglong;
}
pub type blksize_t = __blksize_t;
pub type blkcnt_t = __blkcnt_t;
pub type fsblkcnt_t = __fsblkcnt_t;
pub type fsfilcnt_t = __fsfilcnt_t;
pub type pthread_t = ::std::os::raw::c_ulong;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_attr_t {
    pub __size: __BindgenUnionField<[::std::os::raw::c_char; 56usize]>,
    pub __align: __BindgenUnionField<::std::os::raw::c_long>,
    pub bindgen_union_field: [u64; 7usize],
}
#[test]
fn bindgen_test_layout_pthread_attr_t() {
    assert_eq!(::std::mem::size_of::<pthread_attr_t>() , 56usize , concat ! (
               "Size of: " , stringify ! ( pthread_attr_t ) ));
    assert_eq! (::std::mem::align_of::<pthread_attr_t>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( pthread_attr_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_attr_t ) ) . __size as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_attr_t ) , "::"
                , stringify ! ( __size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_attr_t ) ) . __align as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_attr_t ) , "::"
                , stringify ! ( __align ) ));
}
impl Clone for pthread_attr_t {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __pthread_internal_list {
    pub __prev: *mut __pthread_internal_list,
    pub __next: *mut __pthread_internal_list,
}
#[test]
fn bindgen_test_layout___pthread_internal_list() {
    assert_eq!(::std::mem::size_of::<__pthread_internal_list>() , 16usize ,
               concat ! (
               "Size of: " , stringify ! ( __pthread_internal_list ) ));
    assert_eq! (::std::mem::align_of::<__pthread_internal_list>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( __pthread_internal_list ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const __pthread_internal_list ) ) . __prev as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( __pthread_internal_list
                ) , "::" , stringify ! ( __prev ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const __pthread_internal_list ) ) . __next as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( __pthread_internal_list
                ) , "::" , stringify ! ( __next ) ));
}
impl Clone for __pthread_internal_list {
    fn clone(&self) -> Self { *self }
}
pub type __pthread_list_t = __pthread_internal_list;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_mutex_t {
    pub __data: __BindgenUnionField<pthread_mutex_t___pthread_mutex_s>,
    pub __size: __BindgenUnionField<[::std::os::raw::c_char; 40usize]>,
    pub __align: __BindgenUnionField<::std::os::raw::c_long>,
    pub bindgen_union_field: [u64; 5usize],
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_mutex_t___pthread_mutex_s {
    pub __lock: ::std::os::raw::c_int,
    pub __count: ::std::os::raw::c_uint,
    pub __owner: ::std::os::raw::c_int,
    pub __nusers: ::std::os::raw::c_uint,
    pub __kind: ::std::os::raw::c_int,
    pub __spins: ::std::os::raw::c_short,
    pub __elision: ::std::os::raw::c_short,
    pub __list: __pthread_list_t,
}
#[test]
fn bindgen_test_layout_pthread_mutex_t___pthread_mutex_s() {
    assert_eq!(::std::mem::size_of::<pthread_mutex_t___pthread_mutex_s>() ,
               40usize , concat ! (
               "Size of: " , stringify ! ( pthread_mutex_t___pthread_mutex_s )
               ));
    assert_eq! (::std::mem::align_of::<pthread_mutex_t___pthread_mutex_s>() ,
                8usize , concat ! (
                "Alignment of " , stringify ! (
                pthread_mutex_t___pthread_mutex_s ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_mutex_t___pthread_mutex_s ) ) .
                __lock as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_mutex_t___pthread_mutex_s ) , "::" , stringify ! (
                __lock ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_mutex_t___pthread_mutex_s ) ) .
                __count as * const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_mutex_t___pthread_mutex_s ) , "::" , stringify ! (
                __count ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_mutex_t___pthread_mutex_s ) ) .
                __owner as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_mutex_t___pthread_mutex_s ) , "::" , stringify ! (
                __owner ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_mutex_t___pthread_mutex_s ) ) .
                __nusers as * const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_mutex_t___pthread_mutex_s ) , "::" , stringify ! (
                __nusers ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_mutex_t___pthread_mutex_s ) ) .
                __kind as * const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_mutex_t___pthread_mutex_s ) , "::" , stringify ! (
                __kind ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_mutex_t___pthread_mutex_s ) ) .
                __spins as * const _ as usize } , 20usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_mutex_t___pthread_mutex_s ) , "::" , stringify ! (
                __spins ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_mutex_t___pthread_mutex_s ) ) .
                __elision as * const _ as usize } , 22usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_mutex_t___pthread_mutex_s ) , "::" , stringify ! (
                __elision ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_mutex_t___pthread_mutex_s ) ) .
                __list as * const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_mutex_t___pthread_mutex_s ) , "::" , stringify ! (
                __list ) ));
}
impl Clone for pthread_mutex_t___pthread_mutex_s {
    fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_pthread_mutex_t() {
    assert_eq!(::std::mem::size_of::<pthread_mutex_t>() , 40usize , concat ! (
               "Size of: " , stringify ! ( pthread_mutex_t ) ));
    assert_eq! (::std::mem::align_of::<pthread_mutex_t>() , 8usize , concat !
                ( "Alignment of " , stringify ! ( pthread_mutex_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_mutex_t ) ) . __data as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_mutex_t ) ,
                "::" , stringify ! ( __data ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_mutex_t ) ) . __size as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_mutex_t ) ,
                "::" , stringify ! ( __size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_mutex_t ) ) . __align as * const
                _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_mutex_t ) ,
                "::" , stringify ! ( __align ) ));
}
impl Clone for pthread_mutex_t {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_mutexattr_t {
    pub __size: __BindgenUnionField<[::std::os::raw::c_char; 4usize]>,
    pub __align: __BindgenUnionField<::std::os::raw::c_int>,
    pub bindgen_union_field: u32,
}
#[test]
fn bindgen_test_layout_pthread_mutexattr_t() {
    assert_eq!(::std::mem::size_of::<pthread_mutexattr_t>() , 4usize , concat
               ! ( "Size of: " , stringify ! ( pthread_mutexattr_t ) ));
    assert_eq! (::std::mem::align_of::<pthread_mutexattr_t>() , 4usize ,
                concat ! (
                "Alignment of " , stringify ! ( pthread_mutexattr_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_mutexattr_t ) ) . __size as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_mutexattr_t ) ,
                "::" , stringify ! ( __size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_mutexattr_t ) ) . __align as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_mutexattr_t ) ,
                "::" , stringify ! ( __align ) ));
}
impl Clone for pthread_mutexattr_t {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_cond_t {
    pub __data: __BindgenUnionField<pthread_cond_t__bindgen_ty_1>,
    pub __size: __BindgenUnionField<[::std::os::raw::c_char; 48usize]>,
    pub __align: __BindgenUnionField<::std::os::raw::c_longlong>,
    pub bindgen_union_field: [u64; 6usize],
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_cond_t__bindgen_ty_1 {
    pub __lock: ::std::os::raw::c_int,
    pub __futex: ::std::os::raw::c_uint,
    pub __total_seq: ::std::os::raw::c_ulonglong,
    pub __wakeup_seq: ::std::os::raw::c_ulonglong,
    pub __woken_seq: ::std::os::raw::c_ulonglong,
    pub __mutex: *mut ::std::os::raw::c_void,
    pub __nwaiters: ::std::os::raw::c_uint,
    pub __broadcast_seq: ::std::os::raw::c_uint,
}
#[test]
fn bindgen_test_layout_pthread_cond_t__bindgen_ty_1() {
    assert_eq!(::std::mem::size_of::<pthread_cond_t__bindgen_ty_1>() , 48usize
               , concat ! (
               "Size of: " , stringify ! ( pthread_cond_t__bindgen_ty_1 ) ));
    assert_eq! (::std::mem::align_of::<pthread_cond_t__bindgen_ty_1>() ,
                8usize , concat ! (
                "Alignment of " , stringify ! ( pthread_cond_t__bindgen_ty_1 )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_cond_t__bindgen_ty_1 ) ) . __lock
                as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_cond_t__bindgen_ty_1 ) , "::" , stringify ! ( __lock )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_cond_t__bindgen_ty_1 ) ) .
                __futex as * const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_cond_t__bindgen_ty_1 ) , "::" , stringify ! ( __futex
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_cond_t__bindgen_ty_1 ) ) .
                __total_seq as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_cond_t__bindgen_ty_1 ) , "::" , stringify ! (
                __total_seq ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_cond_t__bindgen_ty_1 ) ) .
                __wakeup_seq as * const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_cond_t__bindgen_ty_1 ) , "::" , stringify ! (
                __wakeup_seq ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_cond_t__bindgen_ty_1 ) ) .
                __woken_seq as * const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_cond_t__bindgen_ty_1 ) , "::" , stringify ! (
                __woken_seq ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_cond_t__bindgen_ty_1 ) ) .
                __mutex as * const _ as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_cond_t__bindgen_ty_1 ) , "::" , stringify ! ( __mutex
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_cond_t__bindgen_ty_1 ) ) .
                __nwaiters as * const _ as usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_cond_t__bindgen_ty_1 ) , "::" , stringify ! (
                __nwaiters ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_cond_t__bindgen_ty_1 ) ) .
                __broadcast_seq as * const _ as usize } , 44usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_cond_t__bindgen_ty_1 ) , "::" , stringify ! (
                __broadcast_seq ) ));
}
impl Clone for pthread_cond_t__bindgen_ty_1 {
    fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_pthread_cond_t() {
    assert_eq!(::std::mem::size_of::<pthread_cond_t>() , 48usize , concat ! (
               "Size of: " , stringify ! ( pthread_cond_t ) ));
    assert_eq! (::std::mem::align_of::<pthread_cond_t>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( pthread_cond_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_cond_t ) ) . __data as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_cond_t ) , "::"
                , stringify ! ( __data ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_cond_t ) ) . __size as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_cond_t ) , "::"
                , stringify ! ( __size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_cond_t ) ) . __align as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_cond_t ) , "::"
                , stringify ! ( __align ) ));
}
impl Clone for pthread_cond_t {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_condattr_t {
    pub __size: __BindgenUnionField<[::std::os::raw::c_char; 4usize]>,
    pub __align: __BindgenUnionField<::std::os::raw::c_int>,
    pub bindgen_union_field: u32,
}
#[test]
fn bindgen_test_layout_pthread_condattr_t() {
    assert_eq!(::std::mem::size_of::<pthread_condattr_t>() , 4usize , concat !
               ( "Size of: " , stringify ! ( pthread_condattr_t ) ));
    assert_eq! (::std::mem::align_of::<pthread_condattr_t>() , 4usize , concat
                ! ( "Alignment of " , stringify ! ( pthread_condattr_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_condattr_t ) ) . __size as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_condattr_t ) ,
                "::" , stringify ! ( __size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_condattr_t ) ) . __align as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_condattr_t ) ,
                "::" , stringify ! ( __align ) ));
}
impl Clone for pthread_condattr_t {
    fn clone(&self) -> Self { *self }
}
pub type pthread_key_t = ::std::os::raw::c_uint;
pub type pthread_once_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_rwlock_t {
    pub __data: __BindgenUnionField<pthread_rwlock_t__bindgen_ty_1>,
    pub __size: __BindgenUnionField<[::std::os::raw::c_char; 56usize]>,
    pub __align: __BindgenUnionField<::std::os::raw::c_long>,
    pub bindgen_union_field: [u64; 7usize],
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_rwlock_t__bindgen_ty_1 {
    pub __lock: ::std::os::raw::c_int,
    pub __nr_readers: ::std::os::raw::c_uint,
    pub __readers_wakeup: ::std::os::raw::c_uint,
    pub __writer_wakeup: ::std::os::raw::c_uint,
    pub __nr_readers_queued: ::std::os::raw::c_uint,
    pub __nr_writers_queued: ::std::os::raw::c_uint,
    pub __writer: ::std::os::raw::c_int,
    pub __shared: ::std::os::raw::c_int,
    pub __rwelision: ::std::os::raw::c_schar,
    pub __pad1: [::std::os::raw::c_uchar; 7usize],
    pub __pad2: ::std::os::raw::c_ulong,
    pub __flags: ::std::os::raw::c_uint,
}
#[test]
fn bindgen_test_layout_pthread_rwlock_t__bindgen_ty_1() {
    assert_eq!(::std::mem::size_of::<pthread_rwlock_t__bindgen_ty_1>() ,
               56usize , concat ! (
               "Size of: " , stringify ! ( pthread_rwlock_t__bindgen_ty_1 )
               ));
    assert_eq! (::std::mem::align_of::<pthread_rwlock_t__bindgen_ty_1>() ,
                8usize , concat ! (
                "Alignment of " , stringify ! ( pthread_rwlock_t__bindgen_ty_1
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
                __lock as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! ( __lock
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
                __nr_readers as * const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! (
                __nr_readers ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
                __readers_wakeup as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! (
                __readers_wakeup ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
                __writer_wakeup as * const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! (
                __writer_wakeup ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
                __nr_readers_queued as * const _ as usize } , 16usize , concat
                ! (
                "Alignment of field: " , stringify ! (
                pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! (
                __nr_readers_queued ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
                __nr_writers_queued as * const _ as usize } , 20usize , concat
                ! (
                "Alignment of field: " , stringify ! (
                pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! (
                __nr_writers_queued ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
                __writer as * const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! (
                __writer ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
                __shared as * const _ as usize } , 28usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! (
                __shared ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
                __rwelision as * const _ as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! (
                __rwelision ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
                __pad1 as * const _ as usize } , 33usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! ( __pad1
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
                __pad2 as * const _ as usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! ( __pad2
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_rwlock_t__bindgen_ty_1 ) ) .
                __flags as * const _ as usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! (
                pthread_rwlock_t__bindgen_ty_1 ) , "::" , stringify ! (
                __flags ) ));
}
impl Clone for pthread_rwlock_t__bindgen_ty_1 {
    fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_pthread_rwlock_t() {
    assert_eq!(::std::mem::size_of::<pthread_rwlock_t>() , 56usize , concat !
               ( "Size of: " , stringify ! ( pthread_rwlock_t ) ));
    assert_eq! (::std::mem::align_of::<pthread_rwlock_t>() , 8usize , concat !
                ( "Alignment of " , stringify ! ( pthread_rwlock_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_rwlock_t ) ) . __data as * const
                _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_rwlock_t ) ,
                "::" , stringify ! ( __data ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_rwlock_t ) ) . __size as * const
                _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_rwlock_t ) ,
                "::" , stringify ! ( __size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_rwlock_t ) ) . __align as * const
                _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_rwlock_t ) ,
                "::" , stringify ! ( __align ) ));
}
impl Clone for pthread_rwlock_t {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_rwlockattr_t {
    pub __size: __BindgenUnionField<[::std::os::raw::c_char; 8usize]>,
    pub __align: __BindgenUnionField<::std::os::raw::c_long>,
    pub bindgen_union_field: u64,
}
#[test]
fn bindgen_test_layout_pthread_rwlockattr_t() {
    assert_eq!(::std::mem::size_of::<pthread_rwlockattr_t>() , 8usize , concat
               ! ( "Size of: " , stringify ! ( pthread_rwlockattr_t ) ));
    assert_eq! (::std::mem::align_of::<pthread_rwlockattr_t>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( pthread_rwlockattr_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_rwlockattr_t ) ) . __size as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_rwlockattr_t )
                , "::" , stringify ! ( __size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_rwlockattr_t ) ) . __align as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_rwlockattr_t )
                , "::" , stringify ! ( __align ) ));
}
impl Clone for pthread_rwlockattr_t {
    fn clone(&self) -> Self { *self }
}
pub type pthread_spinlock_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_barrier_t {
    pub __size: __BindgenUnionField<[::std::os::raw::c_char; 32usize]>,
    pub __align: __BindgenUnionField<::std::os::raw::c_long>,
    pub bindgen_union_field: [u64; 4usize],
}
#[test]
fn bindgen_test_layout_pthread_barrier_t() {
    assert_eq!(::std::mem::size_of::<pthread_barrier_t>() , 32usize , concat !
               ( "Size of: " , stringify ! ( pthread_barrier_t ) ));
    assert_eq! (::std::mem::align_of::<pthread_barrier_t>() , 8usize , concat
                ! ( "Alignment of " , stringify ! ( pthread_barrier_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_barrier_t ) ) . __size as * const
                _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_barrier_t ) ,
                "::" , stringify ! ( __size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_barrier_t ) ) . __align as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_barrier_t ) ,
                "::" , stringify ! ( __align ) ));
}
impl Clone for pthread_barrier_t {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct pthread_barrierattr_t {
    pub __size: __BindgenUnionField<[::std::os::raw::c_char; 4usize]>,
    pub __align: __BindgenUnionField<::std::os::raw::c_int>,
    pub bindgen_union_field: u32,
}
#[test]
fn bindgen_test_layout_pthread_barrierattr_t() {
    assert_eq!(::std::mem::size_of::<pthread_barrierattr_t>() , 4usize ,
               concat ! ( "Size of: " , stringify ! ( pthread_barrierattr_t )
               ));
    assert_eq! (::std::mem::align_of::<pthread_barrierattr_t>() , 4usize ,
                concat ! (
                "Alignment of " , stringify ! ( pthread_barrierattr_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_barrierattr_t ) ) . __size as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_barrierattr_t )
                , "::" , stringify ! ( __size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const pthread_barrierattr_t ) ) . __align as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( pthread_barrierattr_t )
                , "::" , stringify ! ( __align ) ));
}
impl Clone for pthread_barrierattr_t {
    fn clone(&self) -> Self { *self }
}
pub type int_least8_t = ::std::os::raw::c_schar;
pub type int_least16_t = ::std::os::raw::c_short;
pub type int_least32_t = ::std::os::raw::c_int;
pub type int_least64_t = ::std::os::raw::c_long;
pub type uint_least8_t = ::std::os::raw::c_uchar;
pub type uint_least16_t = ::std::os::raw::c_ushort;
pub type uint_least32_t = ::std::os::raw::c_uint;
pub type uint_least64_t = ::std::os::raw::c_ulong;
pub type int_fast8_t = ::std::os::raw::c_schar;
pub type int_fast16_t = ::std::os::raw::c_long;
pub type int_fast32_t = ::std::os::raw::c_long;
pub type int_fast64_t = ::std::os::raw::c_long;
pub type uint_fast8_t = ::std::os::raw::c_uchar;
pub type uint_fast16_t = ::std::os::raw::c_ulong;
pub type uint_fast32_t = ::std::os::raw::c_ulong;
pub type uint_fast64_t = ::std::os::raw::c_ulong;
pub type intmax_t = ::std::os::raw::c_long;
pub type uintmax_t = ::std::os::raw::c_ulong;
pub type __s8 = ::std::os::raw::c_schar;
pub type __u8 = ::std::os::raw::c_uchar;
pub type __s16 = ::std::os::raw::c_short;
pub type __u16 = ::std::os::raw::c_ushort;
pub type __s32 = ::std::os::raw::c_int;
pub type __u32 = ::std::os::raw::c_uint;
pub type __s64 = ::std::os::raw::c_longlong;
pub type __u64 = ::std::os::raw::c_ulonglong;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __kernel_fd_set {
    pub fds_bits: [::std::os::raw::c_ulong; 16usize],
}
#[test]
fn bindgen_test_layout___kernel_fd_set() {
    assert_eq!(::std::mem::size_of::<__kernel_fd_set>() , 128usize , concat !
               ( "Size of: " , stringify ! ( __kernel_fd_set ) ));
    assert_eq! (::std::mem::align_of::<__kernel_fd_set>() , 8usize , concat !
                ( "Alignment of " , stringify ! ( __kernel_fd_set ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const __kernel_fd_set ) ) . fds_bits as * const
                _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( __kernel_fd_set ) ,
                "::" , stringify ! ( fds_bits ) ));
}
impl Clone for __kernel_fd_set {
    fn clone(&self) -> Self { *self }
}
pub type __kernel_sighandler_t =
    ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>;
pub type __kernel_key_t = ::std::os::raw::c_int;
pub type __kernel_mqd_t = ::std::os::raw::c_int;
pub type __kernel_old_uid_t = ::std::os::raw::c_ushort;
pub type __kernel_old_gid_t = ::std::os::raw::c_ushort;
pub type __kernel_old_dev_t = ::std::os::raw::c_ulong;
pub type __kernel_long_t = ::std::os::raw::c_long;
pub type __kernel_ulong_t = ::std::os::raw::c_ulong;
pub type __kernel_ino_t = __kernel_ulong_t;
pub type __kernel_mode_t = ::std::os::raw::c_uint;
pub type __kernel_pid_t = ::std::os::raw::c_int;
pub type __kernel_ipc_pid_t = ::std::os::raw::c_int;
pub type __kernel_uid_t = ::std::os::raw::c_uint;
pub type __kernel_gid_t = ::std::os::raw::c_uint;
pub type __kernel_suseconds_t = __kernel_long_t;
pub type __kernel_daddr_t = ::std::os::raw::c_int;
pub type __kernel_uid32_t = ::std::os::raw::c_uint;
pub type __kernel_gid32_t = ::std::os::raw::c_uint;
pub type __kernel_size_t = __kernel_ulong_t;
pub type __kernel_ssize_t = __kernel_long_t;
pub type __kernel_ptrdiff_t = __kernel_long_t;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __kernel_fsid_t {
    pub val: [::std::os::raw::c_int; 2usize],
}
#[test]
fn bindgen_test_layout___kernel_fsid_t() {
    assert_eq!(::std::mem::size_of::<__kernel_fsid_t>() , 8usize , concat ! (
               "Size of: " , stringify ! ( __kernel_fsid_t ) ));
    assert_eq! (::std::mem::align_of::<__kernel_fsid_t>() , 4usize , concat !
                ( "Alignment of " , stringify ! ( __kernel_fsid_t ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const __kernel_fsid_t ) ) . val as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( __kernel_fsid_t ) ,
                "::" , stringify ! ( val ) ));
}
impl Clone for __kernel_fsid_t {
    fn clone(&self) -> Self { *self }
}
pub type __kernel_off_t = __kernel_long_t;
pub type __kernel_loff_t = ::std::os::raw::c_longlong;
pub type __kernel_time_t = __kernel_long_t;
pub type __kernel_clock_t = __kernel_long_t;
pub type __kernel_timer_t = ::std::os::raw::c_int;
pub type __kernel_clockid_t = ::std::os::raw::c_int;
pub type __kernel_caddr_t = *mut ::std::os::raw::c_char;
pub type __kernel_uid16_t = ::std::os::raw::c_ushort;
pub type __kernel_gid16_t = ::std::os::raw::c_ushort;
pub type __le16 = __u16;
pub type __be16 = __u16;
pub type __le32 = __u32;
pub type __be32 = __u32;
pub type __le64 = __u64;
pub type __be64 = __u64;
pub type __sum16 = __u16;
pub type __wsum = __u32;
pub type drm_handle_t = ::std::os::raw::c_uint;
pub type drm_context_t = ::std::os::raw::c_uint;
pub type drm_drawable_t = ::std::os::raw::c_uint;
pub type drm_magic_t = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_clip_rect {
    pub x1: ::std::os::raw::c_ushort,
    pub y1: ::std::os::raw::c_ushort,
    pub x2: ::std::os::raw::c_ushort,
    pub y2: ::std::os::raw::c_ushort,
}
#[test]
fn bindgen_test_layout_drm_clip_rect() {
    assert_eq!(::std::mem::size_of::<drm_clip_rect>() , 8usize , concat ! (
               "Size of: " , stringify ! ( drm_clip_rect ) ));
    assert_eq! (::std::mem::align_of::<drm_clip_rect>() , 2usize , concat ! (
                "Alignment of " , stringify ! ( drm_clip_rect ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_clip_rect ) ) . x1 as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_clip_rect ) , "::"
                , stringify ! ( x1 ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_clip_rect ) ) . y1 as * const _ as
                usize } , 2usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_clip_rect ) , "::"
                , stringify ! ( y1 ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_clip_rect ) ) . x2 as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_clip_rect ) , "::"
                , stringify ! ( x2 ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_clip_rect ) ) . y2 as * const _ as
                usize } , 6usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_clip_rect ) , "::"
                , stringify ! ( y2 ) ));
}
impl Clone for drm_clip_rect {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_drawable_info {
    pub num_rects: ::std::os::raw::c_uint,
    pub rects: *mut drm_clip_rect,
}
#[test]
fn bindgen_test_layout_drm_drawable_info() {
    assert_eq!(::std::mem::size_of::<drm_drawable_info>() , 16usize , concat !
               ( "Size of: " , stringify ! ( drm_drawable_info ) ));
    assert_eq! (::std::mem::align_of::<drm_drawable_info>() , 8usize , concat
                ! ( "Alignment of " , stringify ! ( drm_drawable_info ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_drawable_info ) ) . num_rects as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_drawable_info ) ,
                "::" , stringify ! ( num_rects ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_drawable_info ) ) . rects as * const
                _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_drawable_info ) ,
                "::" , stringify ! ( rects ) ));
}
impl Clone for drm_drawable_info {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_tex_region {
    pub next: ::std::os::raw::c_uchar,
    pub prev: ::std::os::raw::c_uchar,
    pub in_use: ::std::os::raw::c_uchar,
    pub padding: ::std::os::raw::c_uchar,
    pub age: ::std::os::raw::c_uint,
}
#[test]
fn bindgen_test_layout_drm_tex_region() {
    assert_eq!(::std::mem::size_of::<drm_tex_region>() , 8usize , concat ! (
               "Size of: " , stringify ! ( drm_tex_region ) ));
    assert_eq! (::std::mem::align_of::<drm_tex_region>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( drm_tex_region ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_tex_region ) ) . next as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_tex_region ) , "::"
                , stringify ! ( next ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_tex_region ) ) . prev as * const _ as
                usize } , 1usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_tex_region ) , "::"
                , stringify ! ( prev ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_tex_region ) ) . in_use as * const _
                as usize } , 2usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_tex_region ) , "::"
                , stringify ! ( in_use ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_tex_region ) ) . padding as * const _
                as usize } , 3usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_tex_region ) , "::"
                , stringify ! ( padding ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_tex_region ) ) . age as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_tex_region ) , "::"
                , stringify ! ( age ) ));
}
impl Clone for drm_tex_region {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
pub struct drm_hw_lock {
    pub lock: ::std::os::raw::c_uint,
    pub padding: [::std::os::raw::c_char; 60usize],
}
#[test]
fn bindgen_test_layout_drm_hw_lock() {
    assert_eq!(::std::mem::size_of::<drm_hw_lock>() , 64usize , concat ! (
               "Size of: " , stringify ! ( drm_hw_lock ) ));
    assert_eq! (::std::mem::align_of::<drm_hw_lock>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( drm_hw_lock ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_hw_lock ) ) . lock as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_hw_lock ) , "::" ,
                stringify ! ( lock ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_hw_lock ) ) . padding as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_hw_lock ) , "::" ,
                stringify ! ( padding ) ));
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_version {
    pub version_major: ::std::os::raw::c_int,
    pub version_minor: ::std::os::raw::c_int,
    pub version_patchlevel: ::std::os::raw::c_int,
    pub name_len: __kernel_size_t,
    pub name: *mut ::std::os::raw::c_char,
    pub date_len: __kernel_size_t,
    pub date: *mut ::std::os::raw::c_char,
    pub desc_len: __kernel_size_t,
    pub desc: *mut ::std::os::raw::c_char,
}
#[test]
fn bindgen_test_layout_drm_version() {
    assert_eq!(::std::mem::size_of::<drm_version>() , 64usize , concat ! (
               "Size of: " , stringify ! ( drm_version ) ));
    assert_eq! (::std::mem::align_of::<drm_version>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drm_version ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_version ) ) . version_major as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_version ) , "::" ,
                stringify ! ( version_major ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_version ) ) . version_minor as *
                const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_version ) , "::" ,
                stringify ! ( version_minor ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_version ) ) . version_patchlevel as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_version ) , "::" ,
                stringify ! ( version_patchlevel ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_version ) ) . name_len as * const _
                as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_version ) , "::" ,
                stringify ! ( name_len ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_version ) ) . name as * const _ as
                usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_version ) , "::" ,
                stringify ! ( name ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_version ) ) . date_len as * const _
                as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_version ) , "::" ,
                stringify ! ( date_len ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_version ) ) . date as * const _ as
                usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_version ) , "::" ,
                stringify ! ( date ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_version ) ) . desc_len as * const _
                as usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_version ) , "::" ,
                stringify ! ( desc_len ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_version ) ) . desc as * const _ as
                usize } , 56usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_version ) , "::" ,
                stringify ! ( desc ) ));
}
impl Clone for drm_version {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_unique {
    pub unique_len: __kernel_size_t,
    pub unique: *mut ::std::os::raw::c_char,
}
#[test]
fn bindgen_test_layout_drm_unique() {
    assert_eq!(::std::mem::size_of::<drm_unique>() , 16usize , concat ! (
               "Size of: " , stringify ! ( drm_unique ) ));
    assert_eq! (::std::mem::align_of::<drm_unique>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drm_unique ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_unique ) ) . unique_len as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_unique ) , "::" ,
                stringify ! ( unique_len ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_unique ) ) . unique as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_unique ) , "::" ,
                stringify ! ( unique ) ));
}
impl Clone for drm_unique {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_list {
    pub count: ::std::os::raw::c_int,
    pub version: *mut drm_version,
}
#[test]
fn bindgen_test_layout_drm_list() {
    assert_eq!(::std::mem::size_of::<drm_list>() , 16usize , concat ! (
               "Size of: " , stringify ! ( drm_list ) ));
    assert_eq! (::std::mem::align_of::<drm_list>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drm_list ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_list ) ) . count as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_list ) , "::" ,
                stringify ! ( count ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_list ) ) . version as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_list ) , "::" ,
                stringify ! ( version ) ));
}
impl Clone for drm_list {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_block {
    pub unused: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_drm_block() {
    assert_eq!(::std::mem::size_of::<drm_block>() , 4usize , concat ! (
               "Size of: " , stringify ! ( drm_block ) ));
    assert_eq! (::std::mem::align_of::<drm_block>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( drm_block ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_block ) ) . unused as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_block ) , "::" ,
                stringify ! ( unused ) ));
}
impl Clone for drm_block {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_control {
    pub func: drm_control__bindgen_ty_1,
    pub irq: ::std::os::raw::c_int,
}
pub const drm_control_DRM_ADD_COMMAND: drm_control__bindgen_ty_1 =
    drm_control__bindgen_ty_1::DRM_ADD_COMMAND;
pub const drm_control_DRM_RM_COMMAND: drm_control__bindgen_ty_1 =
    drm_control__bindgen_ty_1::DRM_RM_COMMAND;
pub const drm_control_DRM_INST_HANDLER: drm_control__bindgen_ty_1 =
    drm_control__bindgen_ty_1::DRM_INST_HANDLER;
pub const drm_control_DRM_UNINST_HANDLER: drm_control__bindgen_ty_1 =
    drm_control__bindgen_ty_1::DRM_UNINST_HANDLER;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum drm_control__bindgen_ty_1 {
    DRM_ADD_COMMAND = 0,
    DRM_RM_COMMAND = 1,
    DRM_INST_HANDLER = 2,
    DRM_UNINST_HANDLER = 3,
}
#[test]
fn bindgen_test_layout_drm_control() {
    assert_eq!(::std::mem::size_of::<drm_control>() , 8usize , concat ! (
               "Size of: " , stringify ! ( drm_control ) ));
    assert_eq! (::std::mem::align_of::<drm_control>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( drm_control ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_control ) ) . func as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_control ) , "::" ,
                stringify ! ( func ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_control ) ) . irq as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_control ) , "::" ,
                stringify ! ( irq ) ));
}
impl Clone for drm_control {
    fn clone(&self) -> Self { *self }
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum drm_map_type {
    _DRM_FRAME_BUFFER = 0,
    _DRM_REGISTERS = 1,
    _DRM_SHM = 2,
    _DRM_AGP = 3,
    _DRM_SCATTER_GATHER = 4,
    _DRM_CONSISTENT = 5,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum drm_map_flags {
    _DRM_RESTRICTED = 1,
    _DRM_READ_ONLY = 2,
    _DRM_LOCKED = 4,
    _DRM_KERNEL = 8,
    _DRM_WRITE_COMBINING = 16,
    _DRM_CONTAINS_LOCK = 32,
    _DRM_REMOVABLE = 64,
    _DRM_DRIVER = 128,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_ctx_priv_map {
    pub ctx_id: ::std::os::raw::c_uint,
    pub handle: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout_drm_ctx_priv_map() {
    assert_eq!(::std::mem::size_of::<drm_ctx_priv_map>() , 16usize , concat !
               ( "Size of: " , stringify ! ( drm_ctx_priv_map ) ));
    assert_eq! (::std::mem::align_of::<drm_ctx_priv_map>() , 8usize , concat !
                ( "Alignment of " , stringify ! ( drm_ctx_priv_map ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_ctx_priv_map ) ) . ctx_id as * const
                _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_ctx_priv_map ) ,
                "::" , stringify ! ( ctx_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_ctx_priv_map ) ) . handle as * const
                _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_ctx_priv_map ) ,
                "::" , stringify ! ( handle ) ));
}
impl Clone for drm_ctx_priv_map {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_map {
    pub offset: ::std::os::raw::c_ulong,
    pub size: ::std::os::raw::c_ulong,
    pub type_: drm_map_type,
    pub flags: drm_map_flags,
    pub handle: *mut ::std::os::raw::c_void,
    pub mtrr: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_drm_map() {
    assert_eq!(::std::mem::size_of::<drm_map>() , 40usize , concat ! (
               "Size of: " , stringify ! ( drm_map ) ));
    assert_eq! (::std::mem::align_of::<drm_map>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drm_map ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_map ) ) . offset as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_map ) , "::" ,
                stringify ! ( offset ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_map ) ) . size as * const _ as usize
                } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_map ) , "::" ,
                stringify ! ( size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_map ) ) . type_ as * const _ as usize
                } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_map ) , "::" ,
                stringify ! ( type_ ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_map ) ) . flags as * const _ as usize
                } , 20usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_map ) , "::" ,
                stringify ! ( flags ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_map ) ) . handle as * const _ as
                usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_map ) , "::" ,
                stringify ! ( handle ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_map ) ) . mtrr as * const _ as usize
                } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_map ) , "::" ,
                stringify ! ( mtrr ) ));
}
impl Clone for drm_map {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_client {
    pub idx: ::std::os::raw::c_int,
    pub auth: ::std::os::raw::c_int,
    pub pid: ::std::os::raw::c_ulong,
    pub uid: ::std::os::raw::c_ulong,
    pub magic: ::std::os::raw::c_ulong,
    pub iocs: ::std::os::raw::c_ulong,
}
#[test]
fn bindgen_test_layout_drm_client() {
    assert_eq!(::std::mem::size_of::<drm_client>() , 40usize , concat ! (
               "Size of: " , stringify ! ( drm_client ) ));
    assert_eq! (::std::mem::align_of::<drm_client>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drm_client ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_client ) ) . idx as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_client ) , "::" ,
                stringify ! ( idx ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_client ) ) . auth as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_client ) , "::" ,
                stringify ! ( auth ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_client ) ) . pid as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_client ) , "::" ,
                stringify ! ( pid ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_client ) ) . uid as * const _ as
                usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_client ) , "::" ,
                stringify ! ( uid ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_client ) ) . magic as * const _ as
                usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_client ) , "::" ,
                stringify ! ( magic ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_client ) ) . iocs as * const _ as
                usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_client ) , "::" ,
                stringify ! ( iocs ) ));
}
impl Clone for drm_client {
    fn clone(&self) -> Self { *self }
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum drm_stat_type {
    _DRM_STAT_LOCK = 0,
    _DRM_STAT_OPENS = 1,
    _DRM_STAT_CLOSES = 2,
    _DRM_STAT_IOCTLS = 3,
    _DRM_STAT_LOCKS = 4,
    _DRM_STAT_UNLOCKS = 5,
    _DRM_STAT_VALUE = 6,
    _DRM_STAT_BYTE = 7,
    _DRM_STAT_COUNT = 8,
    _DRM_STAT_IRQ = 9,
    _DRM_STAT_PRIMARY = 10,
    _DRM_STAT_SECONDARY = 11,
    _DRM_STAT_DMA = 12,
    _DRM_STAT_SPECIAL = 13,
    _DRM_STAT_MISSED = 14,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_stats {
    pub count: ::std::os::raw::c_ulong,
    pub data: [drm_stats__bindgen_ty_1; 15usize],
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_stats__bindgen_ty_1 {
    pub value: ::std::os::raw::c_ulong,
    pub type_: drm_stat_type,
}
#[test]
fn bindgen_test_layout_drm_stats__bindgen_ty_1() {
    assert_eq!(::std::mem::size_of::<drm_stats__bindgen_ty_1>() , 16usize ,
               concat ! (
               "Size of: " , stringify ! ( drm_stats__bindgen_ty_1 ) ));
    assert_eq! (::std::mem::align_of::<drm_stats__bindgen_ty_1>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( drm_stats__bindgen_ty_1 ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_stats__bindgen_ty_1 ) ) . value as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_stats__bindgen_ty_1
                ) , "::" , stringify ! ( value ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_stats__bindgen_ty_1 ) ) . type_ as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_stats__bindgen_ty_1
                ) , "::" , stringify ! ( type_ ) ));
}
impl Clone for drm_stats__bindgen_ty_1 {
    fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_drm_stats() {
    assert_eq!(::std::mem::size_of::<drm_stats>() , 248usize , concat ! (
               "Size of: " , stringify ! ( drm_stats ) ));
    assert_eq! (::std::mem::align_of::<drm_stats>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drm_stats ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_stats ) ) . count as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_stats ) , "::" ,
                stringify ! ( count ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_stats ) ) . data as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_stats ) , "::" ,
                stringify ! ( data ) ));
}
impl Clone for drm_stats {
    fn clone(&self) -> Self { *self }
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum drm_lock_flags {
    _DRM_LOCK_READY = 1,
    _DRM_LOCK_QUIESCENT = 2,
    _DRM_LOCK_FLUSH = 4,
    _DRM_LOCK_FLUSH_ALL = 8,
    _DRM_HALT_ALL_QUEUES = 16,
    _DRM_HALT_CUR_QUEUES = 32,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_lock {
    pub context: ::std::os::raw::c_int,
    pub flags: drm_lock_flags,
}
#[test]
fn bindgen_test_layout_drm_lock() {
    assert_eq!(::std::mem::size_of::<drm_lock>() , 8usize , concat ! (
               "Size of: " , stringify ! ( drm_lock ) ));
    assert_eq! (::std::mem::align_of::<drm_lock>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( drm_lock ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_lock ) ) . context as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_lock ) , "::" ,
                stringify ! ( context ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_lock ) ) . flags as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_lock ) , "::" ,
                stringify ! ( flags ) ));
}
impl Clone for drm_lock {
    fn clone(&self) -> Self { *self }
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum drm_dma_flags {
    _DRM_DMA_BLOCK = 1,
    _DRM_DMA_WHILE_LOCKED = 2,
    _DRM_DMA_PRIORITY = 4,
    _DRM_DMA_WAIT = 16,
    _DRM_DMA_SMALLER_OK = 32,
    _DRM_DMA_LARGER_OK = 64,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_buf_desc {
    pub count: ::std::os::raw::c_int,
    pub size: ::std::os::raw::c_int,
    pub low_mark: ::std::os::raw::c_int,
    pub high_mark: ::std::os::raw::c_int,
    pub flags: drm_buf_desc__bindgen_ty_1,
    pub agp_start: ::std::os::raw::c_ulong,
}
pub const drm_buf_desc__DRM_PAGE_ALIGN: drm_buf_desc__bindgen_ty_1 =
    drm_buf_desc__bindgen_ty_1::_DRM_PAGE_ALIGN;
pub const drm_buf_desc__DRM_AGP_BUFFER: drm_buf_desc__bindgen_ty_1 =
    drm_buf_desc__bindgen_ty_1::_DRM_AGP_BUFFER;
pub const drm_buf_desc__DRM_SG_BUFFER: drm_buf_desc__bindgen_ty_1 =
    drm_buf_desc__bindgen_ty_1::_DRM_SG_BUFFER;
pub const drm_buf_desc__DRM_FB_BUFFER: drm_buf_desc__bindgen_ty_1 =
    drm_buf_desc__bindgen_ty_1::_DRM_FB_BUFFER;
pub const drm_buf_desc__DRM_PCI_BUFFER_RO: drm_buf_desc__bindgen_ty_1 =
    drm_buf_desc__bindgen_ty_1::_DRM_PCI_BUFFER_RO;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum drm_buf_desc__bindgen_ty_1 {
    _DRM_PAGE_ALIGN = 1,
    _DRM_AGP_BUFFER = 2,
    _DRM_SG_BUFFER = 4,
    _DRM_FB_BUFFER = 8,
    _DRM_PCI_BUFFER_RO = 16,
}
#[test]
fn bindgen_test_layout_drm_buf_desc() {
    assert_eq!(::std::mem::size_of::<drm_buf_desc>() , 32usize , concat ! (
               "Size of: " , stringify ! ( drm_buf_desc ) ));
    assert_eq! (::std::mem::align_of::<drm_buf_desc>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drm_buf_desc ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_buf_desc ) ) . count as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_buf_desc ) , "::" ,
                stringify ! ( count ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_buf_desc ) ) . size as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_buf_desc ) , "::" ,
                stringify ! ( size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_buf_desc ) ) . low_mark as * const _
                as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_buf_desc ) , "::" ,
                stringify ! ( low_mark ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_buf_desc ) ) . high_mark as * const _
                as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_buf_desc ) , "::" ,
                stringify ! ( high_mark ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_buf_desc ) ) . flags as * const _ as
                usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_buf_desc ) , "::" ,
                stringify ! ( flags ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_buf_desc ) ) . agp_start as * const _
                as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_buf_desc ) , "::" ,
                stringify ! ( agp_start ) ));
}
impl Clone for drm_buf_desc {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_buf_info {
    pub count: ::std::os::raw::c_int,
    pub list: *mut drm_buf_desc,
}
#[test]
fn bindgen_test_layout_drm_buf_info() {
    assert_eq!(::std::mem::size_of::<drm_buf_info>() , 16usize , concat ! (
               "Size of: " , stringify ! ( drm_buf_info ) ));
    assert_eq! (::std::mem::align_of::<drm_buf_info>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drm_buf_info ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_buf_info ) ) . count as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_buf_info ) , "::" ,
                stringify ! ( count ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_buf_info ) ) . list as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_buf_info ) , "::" ,
                stringify ! ( list ) ));
}
impl Clone for drm_buf_info {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_buf_free {
    pub count: ::std::os::raw::c_int,
    pub list: *mut ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_drm_buf_free() {
    assert_eq!(::std::mem::size_of::<drm_buf_free>() , 16usize , concat ! (
               "Size of: " , stringify ! ( drm_buf_free ) ));
    assert_eq! (::std::mem::align_of::<drm_buf_free>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drm_buf_free ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_buf_free ) ) . count as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_buf_free ) , "::" ,
                stringify ! ( count ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_buf_free ) ) . list as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_buf_free ) , "::" ,
                stringify ! ( list ) ));
}
impl Clone for drm_buf_free {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_buf_pub {
    pub idx: ::std::os::raw::c_int,
    pub total: ::std::os::raw::c_int,
    pub used: ::std::os::raw::c_int,
    pub address: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout_drm_buf_pub() {
    assert_eq!(::std::mem::size_of::<drm_buf_pub>() , 24usize , concat ! (
               "Size of: " , stringify ! ( drm_buf_pub ) ));
    assert_eq! (::std::mem::align_of::<drm_buf_pub>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drm_buf_pub ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_buf_pub ) ) . idx as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_buf_pub ) , "::" ,
                stringify ! ( idx ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_buf_pub ) ) . total as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_buf_pub ) , "::" ,
                stringify ! ( total ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_buf_pub ) ) . used as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_buf_pub ) , "::" ,
                stringify ! ( used ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_buf_pub ) ) . address as * const _ as
                usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_buf_pub ) , "::" ,
                stringify ! ( address ) ));
}
impl Clone for drm_buf_pub {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_buf_map {
    pub count: ::std::os::raw::c_int,
    pub virtual_: *mut ::std::os::raw::c_void,
    pub list: *mut drm_buf_pub,
}
#[test]
fn bindgen_test_layout_drm_buf_map() {
    assert_eq!(::std::mem::size_of::<drm_buf_map>() , 24usize , concat ! (
               "Size of: " , stringify ! ( drm_buf_map ) ));
    assert_eq! (::std::mem::align_of::<drm_buf_map>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drm_buf_map ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_buf_map ) ) . count as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_buf_map ) , "::" ,
                stringify ! ( count ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_buf_map ) ) . virtual_ as * const _
                as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_buf_map ) , "::" ,
                stringify ! ( virtual_ ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_buf_map ) ) . list as * const _ as
                usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_buf_map ) , "::" ,
                stringify ! ( list ) ));
}
impl Clone for drm_buf_map {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_dma {
    pub context: ::std::os::raw::c_int,
    pub send_count: ::std::os::raw::c_int,
    pub send_indices: *mut ::std::os::raw::c_int,
    pub send_sizes: *mut ::std::os::raw::c_int,
    pub flags: drm_dma_flags,
    pub request_count: ::std::os::raw::c_int,
    pub request_size: ::std::os::raw::c_int,
    pub request_indices: *mut ::std::os::raw::c_int,
    pub request_sizes: *mut ::std::os::raw::c_int,
    pub granted_count: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_drm_dma() {
    assert_eq!(::std::mem::size_of::<drm_dma>() , 64usize , concat ! (
               "Size of: " , stringify ! ( drm_dma ) ));
    assert_eq! (::std::mem::align_of::<drm_dma>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drm_dma ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_dma ) ) . context as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_dma ) , "::" ,
                stringify ! ( context ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_dma ) ) . send_count as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_dma ) , "::" ,
                stringify ! ( send_count ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_dma ) ) . send_indices as * const _
                as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_dma ) , "::" ,
                stringify ! ( send_indices ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_dma ) ) . send_sizes as * const _ as
                usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_dma ) , "::" ,
                stringify ! ( send_sizes ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_dma ) ) . flags as * const _ as usize
                } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_dma ) , "::" ,
                stringify ! ( flags ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_dma ) ) . request_count as * const _
                as usize } , 28usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_dma ) , "::" ,
                stringify ! ( request_count ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_dma ) ) . request_size as * const _
                as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_dma ) , "::" ,
                stringify ! ( request_size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_dma ) ) . request_indices as * const
                _ as usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_dma ) , "::" ,
                stringify ! ( request_indices ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_dma ) ) . request_sizes as * const _
                as usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_dma ) , "::" ,
                stringify ! ( request_sizes ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_dma ) ) . granted_count as * const _
                as usize } , 56usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_dma ) , "::" ,
                stringify ! ( granted_count ) ));
}
impl Clone for drm_dma {
    fn clone(&self) -> Self { *self }
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum drm_ctx_flags {
    _DRM_CONTEXT_PRESERVED = 1,
    _DRM_CONTEXT_2DONLY = 2,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_ctx {
    pub handle: drm_context_t,
    pub flags: drm_ctx_flags,
}
#[test]
fn bindgen_test_layout_drm_ctx() {
    assert_eq!(::std::mem::size_of::<drm_ctx>() , 8usize , concat ! (
               "Size of: " , stringify ! ( drm_ctx ) ));
    assert_eq! (::std::mem::align_of::<drm_ctx>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( drm_ctx ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_ctx ) ) . handle as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_ctx ) , "::" ,
                stringify ! ( handle ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_ctx ) ) . flags as * const _ as usize
                } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_ctx ) , "::" ,
                stringify ! ( flags ) ));
}
impl Clone for drm_ctx {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_ctx_res {
    pub count: ::std::os::raw::c_int,
    pub contexts: *mut drm_ctx,
}
#[test]
fn bindgen_test_layout_drm_ctx_res() {
    assert_eq!(::std::mem::size_of::<drm_ctx_res>() , 16usize , concat ! (
               "Size of: " , stringify ! ( drm_ctx_res ) ));
    assert_eq! (::std::mem::align_of::<drm_ctx_res>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drm_ctx_res ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_ctx_res ) ) . count as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_ctx_res ) , "::" ,
                stringify ! ( count ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_ctx_res ) ) . contexts as * const _
                as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_ctx_res ) , "::" ,
                stringify ! ( contexts ) ));
}
impl Clone for drm_ctx_res {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_draw {
    pub handle: drm_drawable_t,
}
#[test]
fn bindgen_test_layout_drm_draw() {
    assert_eq!(::std::mem::size_of::<drm_draw>() , 4usize , concat ! (
               "Size of: " , stringify ! ( drm_draw ) ));
    assert_eq! (::std::mem::align_of::<drm_draw>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( drm_draw ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_draw ) ) . handle as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_draw ) , "::" ,
                stringify ! ( handle ) ));
}
impl Clone for drm_draw {
    fn clone(&self) -> Self { *self }
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum drm_drawable_info_type_t { DRM_DRAWABLE_CLIPRECTS = 0, }
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_update_draw {
    pub handle: drm_drawable_t,
    pub type_: ::std::os::raw::c_uint,
    pub num: ::std::os::raw::c_uint,
    pub data: ::std::os::raw::c_ulonglong,
}
#[test]
fn bindgen_test_layout_drm_update_draw() {
    assert_eq!(::std::mem::size_of::<drm_update_draw>() , 24usize , concat ! (
               "Size of: " , stringify ! ( drm_update_draw ) ));
    assert_eq! (::std::mem::align_of::<drm_update_draw>() , 8usize , concat !
                ( "Alignment of " , stringify ! ( drm_update_draw ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_update_draw ) ) . handle as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_update_draw ) ,
                "::" , stringify ! ( handle ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_update_draw ) ) . type_ as * const _
                as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_update_draw ) ,
                "::" , stringify ! ( type_ ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_update_draw ) ) . num as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_update_draw ) ,
                "::" , stringify ! ( num ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_update_draw ) ) . data as * const _
                as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_update_draw ) ,
                "::" , stringify ! ( data ) ));
}
impl Clone for drm_update_draw {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_auth {
    pub magic: drm_magic_t,
}
#[test]
fn bindgen_test_layout_drm_auth() {
    assert_eq!(::std::mem::size_of::<drm_auth>() , 4usize , concat ! (
               "Size of: " , stringify ! ( drm_auth ) ));
    assert_eq! (::std::mem::align_of::<drm_auth>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( drm_auth ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_auth ) ) . magic as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_auth ) , "::" ,
                stringify ! ( magic ) ));
}
impl Clone for drm_auth {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_irq_busid {
    pub irq: ::std::os::raw::c_int,
    pub busnum: ::std::os::raw::c_int,
    pub devnum: ::std::os::raw::c_int,
    pub funcnum: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_drm_irq_busid() {
    assert_eq!(::std::mem::size_of::<drm_irq_busid>() , 16usize , concat ! (
               "Size of: " , stringify ! ( drm_irq_busid ) ));
    assert_eq! (::std::mem::align_of::<drm_irq_busid>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( drm_irq_busid ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_irq_busid ) ) . irq as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_irq_busid ) , "::"
                , stringify ! ( irq ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_irq_busid ) ) . busnum as * const _
                as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_irq_busid ) , "::"
                , stringify ! ( busnum ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_irq_busid ) ) . devnum as * const _
                as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_irq_busid ) , "::"
                , stringify ! ( devnum ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_irq_busid ) ) . funcnum as * const _
                as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_irq_busid ) , "::"
                , stringify ! ( funcnum ) ));
}
impl Clone for drm_irq_busid {
    fn clone(&self) -> Self { *self }
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum drm_vblank_seq_type {
    _DRM_VBLANK_ABSOLUTE = 0,
    _DRM_VBLANK_RELATIVE = 1,
    _DRM_VBLANK_HIGH_CRTC_MASK = 62,
    _DRM_VBLANK_EVENT = 67108864,
    _DRM_VBLANK_FLIP = 134217728,
    _DRM_VBLANK_NEXTONMISS = 268435456,
    _DRM_VBLANK_SECONDARY = 536870912,
    _DRM_VBLANK_SIGNAL = 1073741824,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_wait_vblank_request {
    pub type_: drm_vblank_seq_type,
    pub sequence: ::std::os::raw::c_uint,
    pub signal: ::std::os::raw::c_ulong,
}
#[test]
fn bindgen_test_layout_drm_wait_vblank_request() {
    assert_eq!(::std::mem::size_of::<drm_wait_vblank_request>() , 16usize ,
               concat ! (
               "Size of: " , stringify ! ( drm_wait_vblank_request ) ));
    assert_eq! (::std::mem::align_of::<drm_wait_vblank_request>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( drm_wait_vblank_request ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_wait_vblank_request ) ) . type_ as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_wait_vblank_request
                ) , "::" , stringify ! ( type_ ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_wait_vblank_request ) ) . sequence as
                * const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_wait_vblank_request
                ) , "::" , stringify ! ( sequence ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_wait_vblank_request ) ) . signal as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_wait_vblank_request
                ) , "::" , stringify ! ( signal ) ));
}
impl Clone for drm_wait_vblank_request {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_wait_vblank_reply {
    pub type_: drm_vblank_seq_type,
    pub sequence: ::std::os::raw::c_uint,
    pub tval_sec: ::std::os::raw::c_long,
    pub tval_usec: ::std::os::raw::c_long,
}
#[test]
fn bindgen_test_layout_drm_wait_vblank_reply() {
    assert_eq!(::std::mem::size_of::<drm_wait_vblank_reply>() , 24usize ,
               concat ! ( "Size of: " , stringify ! ( drm_wait_vblank_reply )
               ));
    assert_eq! (::std::mem::align_of::<drm_wait_vblank_reply>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( drm_wait_vblank_reply ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_wait_vblank_reply ) ) . type_ as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_wait_vblank_reply )
                , "::" , stringify ! ( type_ ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_wait_vblank_reply ) ) . sequence as *
                const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_wait_vblank_reply )
                , "::" , stringify ! ( sequence ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_wait_vblank_reply ) ) . tval_sec as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_wait_vblank_reply )
                , "::" , stringify ! ( tval_sec ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_wait_vblank_reply ) ) . tval_usec as
                * const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_wait_vblank_reply )
                , "::" , stringify ! ( tval_usec ) ));
}
impl Clone for drm_wait_vblank_reply {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_wait_vblank {
    pub request: __BindgenUnionField<drm_wait_vblank_request>,
    pub reply: __BindgenUnionField<drm_wait_vblank_reply>,
    pub bindgen_union_field: [u64; 3usize],
}
#[test]
fn bindgen_test_layout_drm_wait_vblank() {
    assert_eq!(::std::mem::size_of::<drm_wait_vblank>() , 24usize , concat ! (
               "Size of: " , stringify ! ( drm_wait_vblank ) ));
    assert_eq! (::std::mem::align_of::<drm_wait_vblank>() , 8usize , concat !
                ( "Alignment of " , stringify ! ( drm_wait_vblank ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_wait_vblank ) ) . request as * const
                _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_wait_vblank ) ,
                "::" , stringify ! ( request ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_wait_vblank ) ) . reply as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_wait_vblank ) ,
                "::" , stringify ! ( reply ) ));
}
impl Clone for drm_wait_vblank {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_modeset_ctl {
    pub crtc: __u32,
    pub cmd: __u32,
}
#[test]
fn bindgen_test_layout_drm_modeset_ctl() {
    assert_eq!(::std::mem::size_of::<drm_modeset_ctl>() , 8usize , concat ! (
               "Size of: " , stringify ! ( drm_modeset_ctl ) ));
    assert_eq! (::std::mem::align_of::<drm_modeset_ctl>() , 4usize , concat !
                ( "Alignment of " , stringify ! ( drm_modeset_ctl ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_modeset_ctl ) ) . crtc as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_modeset_ctl ) ,
                "::" , stringify ! ( crtc ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_modeset_ctl ) ) . cmd as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_modeset_ctl ) ,
                "::" , stringify ! ( cmd ) ));
}
impl Clone for drm_modeset_ctl {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_agp_mode {
    pub mode: ::std::os::raw::c_ulong,
}
#[test]
fn bindgen_test_layout_drm_agp_mode() {
    assert_eq!(::std::mem::size_of::<drm_agp_mode>() , 8usize , concat ! (
               "Size of: " , stringify ! ( drm_agp_mode ) ));
    assert_eq! (::std::mem::align_of::<drm_agp_mode>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drm_agp_mode ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_agp_mode ) ) . mode as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_agp_mode ) , "::" ,
                stringify ! ( mode ) ));
}
impl Clone for drm_agp_mode {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_agp_buffer {
    pub size: ::std::os::raw::c_ulong,
    pub handle: ::std::os::raw::c_ulong,
    pub type_: ::std::os::raw::c_ulong,
    pub physical: ::std::os::raw::c_ulong,
}
#[test]
fn bindgen_test_layout_drm_agp_buffer() {
    assert_eq!(::std::mem::size_of::<drm_agp_buffer>() , 32usize , concat ! (
               "Size of: " , stringify ! ( drm_agp_buffer ) ));
    assert_eq! (::std::mem::align_of::<drm_agp_buffer>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drm_agp_buffer ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_agp_buffer ) ) . size as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_agp_buffer ) , "::"
                , stringify ! ( size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_agp_buffer ) ) . handle as * const _
                as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_agp_buffer ) , "::"
                , stringify ! ( handle ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_agp_buffer ) ) . type_ as * const _
                as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_agp_buffer ) , "::"
                , stringify ! ( type_ ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_agp_buffer ) ) . physical as * const
                _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_agp_buffer ) , "::"
                , stringify ! ( physical ) ));
}
impl Clone for drm_agp_buffer {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_agp_binding {
    pub handle: ::std::os::raw::c_ulong,
    pub offset: ::std::os::raw::c_ulong,
}
#[test]
fn bindgen_test_layout_drm_agp_binding() {
    assert_eq!(::std::mem::size_of::<drm_agp_binding>() , 16usize , concat ! (
               "Size of: " , stringify ! ( drm_agp_binding ) ));
    assert_eq! (::std::mem::align_of::<drm_agp_binding>() , 8usize , concat !
                ( "Alignment of " , stringify ! ( drm_agp_binding ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_agp_binding ) ) . handle as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_agp_binding ) ,
                "::" , stringify ! ( handle ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_agp_binding ) ) . offset as * const _
                as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_agp_binding ) ,
                "::" , stringify ! ( offset ) ));
}
impl Clone for drm_agp_binding {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_agp_info {
    pub agp_version_major: ::std::os::raw::c_int,
    pub agp_version_minor: ::std::os::raw::c_int,
    pub mode: ::std::os::raw::c_ulong,
    pub aperture_base: ::std::os::raw::c_ulong,
    pub aperture_size: ::std::os::raw::c_ulong,
    pub memory_allowed: ::std::os::raw::c_ulong,
    pub memory_used: ::std::os::raw::c_ulong,
    pub id_vendor: ::std::os::raw::c_ushort,
    pub id_device: ::std::os::raw::c_ushort,
}
#[test]
fn bindgen_test_layout_drm_agp_info() {
    assert_eq!(::std::mem::size_of::<drm_agp_info>() , 56usize , concat ! (
               "Size of: " , stringify ! ( drm_agp_info ) ));
    assert_eq! (::std::mem::align_of::<drm_agp_info>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drm_agp_info ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_agp_info ) ) . agp_version_major as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_agp_info ) , "::" ,
                stringify ! ( agp_version_major ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_agp_info ) ) . agp_version_minor as *
                const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_agp_info ) , "::" ,
                stringify ! ( agp_version_minor ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_agp_info ) ) . mode as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_agp_info ) , "::" ,
                stringify ! ( mode ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_agp_info ) ) . aperture_base as *
                const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_agp_info ) , "::" ,
                stringify ! ( aperture_base ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_agp_info ) ) . aperture_size as *
                const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_agp_info ) , "::" ,
                stringify ! ( aperture_size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_agp_info ) ) . memory_allowed as *
                const _ as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_agp_info ) , "::" ,
                stringify ! ( memory_allowed ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_agp_info ) ) . memory_used as * const
                _ as usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_agp_info ) , "::" ,
                stringify ! ( memory_used ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_agp_info ) ) . id_vendor as * const _
                as usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_agp_info ) , "::" ,
                stringify ! ( id_vendor ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_agp_info ) ) . id_device as * const _
                as usize } , 50usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_agp_info ) , "::" ,
                stringify ! ( id_device ) ));
}
impl Clone for drm_agp_info {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_scatter_gather {
    pub size: ::std::os::raw::c_ulong,
    pub handle: ::std::os::raw::c_ulong,
}
#[test]
fn bindgen_test_layout_drm_scatter_gather() {
    assert_eq!(::std::mem::size_of::<drm_scatter_gather>() , 16usize , concat
               ! ( "Size of: " , stringify ! ( drm_scatter_gather ) ));
    assert_eq! (::std::mem::align_of::<drm_scatter_gather>() , 8usize , concat
                ! ( "Alignment of " , stringify ! ( drm_scatter_gather ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_scatter_gather ) ) . size as * const
                _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_scatter_gather ) ,
                "::" , stringify ! ( size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_scatter_gather ) ) . handle as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_scatter_gather ) ,
                "::" , stringify ! ( handle ) ));
}
impl Clone for drm_scatter_gather {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_set_version {
    pub drm_di_major: ::std::os::raw::c_int,
    pub drm_di_minor: ::std::os::raw::c_int,
    pub drm_dd_major: ::std::os::raw::c_int,
    pub drm_dd_minor: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout_drm_set_version() {
    assert_eq!(::std::mem::size_of::<drm_set_version>() , 16usize , concat ! (
               "Size of: " , stringify ! ( drm_set_version ) ));
    assert_eq! (::std::mem::align_of::<drm_set_version>() , 4usize , concat !
                ( "Alignment of " , stringify ! ( drm_set_version ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_set_version ) ) . drm_di_major as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_set_version ) ,
                "::" , stringify ! ( drm_di_major ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_set_version ) ) . drm_di_minor as *
                const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_set_version ) ,
                "::" , stringify ! ( drm_di_minor ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_set_version ) ) . drm_dd_major as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_set_version ) ,
                "::" , stringify ! ( drm_dd_major ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_set_version ) ) . drm_dd_minor as *
                const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_set_version ) ,
                "::" , stringify ! ( drm_dd_minor ) ));
}
impl Clone for drm_set_version {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_gem_close {
    pub handle: __u32,
    pub pad: __u32,
}
#[test]
fn bindgen_test_layout_drm_gem_close() {
    assert_eq!(::std::mem::size_of::<drm_gem_close>() , 8usize , concat ! (
               "Size of: " , stringify ! ( drm_gem_close ) ));
    assert_eq! (::std::mem::align_of::<drm_gem_close>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( drm_gem_close ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_gem_close ) ) . handle as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_gem_close ) , "::"
                , stringify ! ( handle ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_gem_close ) ) . pad as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_gem_close ) , "::"
                , stringify ! ( pad ) ));
}
impl Clone for drm_gem_close {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_gem_flink {
    pub handle: __u32,
    pub name: __u32,
}
#[test]
fn bindgen_test_layout_drm_gem_flink() {
    assert_eq!(::std::mem::size_of::<drm_gem_flink>() , 8usize , concat ! (
               "Size of: " , stringify ! ( drm_gem_flink ) ));
    assert_eq! (::std::mem::align_of::<drm_gem_flink>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( drm_gem_flink ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_gem_flink ) ) . handle as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_gem_flink ) , "::"
                , stringify ! ( handle ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_gem_flink ) ) . name as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_gem_flink ) , "::"
                , stringify ! ( name ) ));
}
impl Clone for drm_gem_flink {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_gem_open {
    pub name: __u32,
    pub handle: __u32,
    pub size: __u64,
}
#[test]
fn bindgen_test_layout_drm_gem_open() {
    assert_eq!(::std::mem::size_of::<drm_gem_open>() , 16usize , concat ! (
               "Size of: " , stringify ! ( drm_gem_open ) ));
    assert_eq! (::std::mem::align_of::<drm_gem_open>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drm_gem_open ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_gem_open ) ) . name as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_gem_open ) , "::" ,
                stringify ! ( name ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_gem_open ) ) . handle as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_gem_open ) , "::" ,
                stringify ! ( handle ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_gem_open ) ) . size as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_gem_open ) , "::" ,
                stringify ! ( size ) ));
}
impl Clone for drm_gem_open {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_get_cap {
    pub capability: __u64,
    pub value: __u64,
}
#[test]
fn bindgen_test_layout_drm_get_cap() {
    assert_eq!(::std::mem::size_of::<drm_get_cap>() , 16usize , concat ! (
               "Size of: " , stringify ! ( drm_get_cap ) ));
    assert_eq! (::std::mem::align_of::<drm_get_cap>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drm_get_cap ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_get_cap ) ) . capability as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_get_cap ) , "::" ,
                stringify ! ( capability ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_get_cap ) ) . value as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_get_cap ) , "::" ,
                stringify ! ( value ) ));
}
impl Clone for drm_get_cap {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_set_client_cap {
    pub capability: __u64,
    pub value: __u64,
}
#[test]
fn bindgen_test_layout_drm_set_client_cap() {
    assert_eq!(::std::mem::size_of::<drm_set_client_cap>() , 16usize , concat
               ! ( "Size of: " , stringify ! ( drm_set_client_cap ) ));
    assert_eq! (::std::mem::align_of::<drm_set_client_cap>() , 8usize , concat
                ! ( "Alignment of " , stringify ! ( drm_set_client_cap ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_set_client_cap ) ) . capability as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_set_client_cap ) ,
                "::" , stringify ! ( capability ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_set_client_cap ) ) . value as * const
                _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_set_client_cap ) ,
                "::" , stringify ! ( value ) ));
}
impl Clone for drm_set_client_cap {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_prime_handle {
    pub handle: __u32,
    pub flags: __u32,
    pub fd: __s32,
}
#[test]
fn bindgen_test_layout_drm_prime_handle() {
    assert_eq!(::std::mem::size_of::<drm_prime_handle>() , 12usize , concat !
               ( "Size of: " , stringify ! ( drm_prime_handle ) ));
    assert_eq! (::std::mem::align_of::<drm_prime_handle>() , 4usize , concat !
                ( "Alignment of " , stringify ! ( drm_prime_handle ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_prime_handle ) ) . handle as * const
                _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_prime_handle ) ,
                "::" , stringify ! ( handle ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_prime_handle ) ) . flags as * const _
                as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_prime_handle ) ,
                "::" , stringify ! ( flags ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_prime_handle ) ) . fd as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_prime_handle ) ,
                "::" , stringify ! ( fd ) ));
}
impl Clone for drm_prime_handle {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_modeinfo {
    pub clock: __u32,
    pub hdisplay: __u16,
    pub hsync_start: __u16,
    pub hsync_end: __u16,
    pub htotal: __u16,
    pub hskew: __u16,
    pub vdisplay: __u16,
    pub vsync_start: __u16,
    pub vsync_end: __u16,
    pub vtotal: __u16,
    pub vscan: __u16,
    pub vrefresh: __u32,
    pub flags: __u32,
    pub type_: __u32,
    pub name: [::std::os::raw::c_char; 32usize],
}
#[test]
fn bindgen_test_layout_drm_mode_modeinfo() {
    assert_eq!(::std::mem::size_of::<drm_mode_modeinfo>() , 68usize , concat !
               ( "Size of: " , stringify ! ( drm_mode_modeinfo ) ));
    assert_eq! (::std::mem::align_of::<drm_mode_modeinfo>() , 4usize , concat
                ! ( "Alignment of " , stringify ! ( drm_mode_modeinfo ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_modeinfo ) ) . clock as * const
                _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_modeinfo ) ,
                "::" , stringify ! ( clock ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_modeinfo ) ) . hdisplay as *
                const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_modeinfo ) ,
                "::" , stringify ! ( hdisplay ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_modeinfo ) ) . hsync_start as *
                const _ as usize } , 6usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_modeinfo ) ,
                "::" , stringify ! ( hsync_start ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_modeinfo ) ) . hsync_end as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_modeinfo ) ,
                "::" , stringify ! ( hsync_end ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_modeinfo ) ) . htotal as * const
                _ as usize } , 10usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_modeinfo ) ,
                "::" , stringify ! ( htotal ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_modeinfo ) ) . hskew as * const
                _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_modeinfo ) ,
                "::" , stringify ! ( hskew ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_modeinfo ) ) . vdisplay as *
                const _ as usize } , 14usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_modeinfo ) ,
                "::" , stringify ! ( vdisplay ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_modeinfo ) ) . vsync_start as *
                const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_modeinfo ) ,
                "::" , stringify ! ( vsync_start ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_modeinfo ) ) . vsync_end as *
                const _ as usize } , 18usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_modeinfo ) ,
                "::" , stringify ! ( vsync_end ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_modeinfo ) ) . vtotal as * const
                _ as usize } , 20usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_modeinfo ) ,
                "::" , stringify ! ( vtotal ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_modeinfo ) ) . vscan as * const
                _ as usize } , 22usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_modeinfo ) ,
                "::" , stringify ! ( vscan ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_modeinfo ) ) . vrefresh as *
                const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_modeinfo ) ,
                "::" , stringify ! ( vrefresh ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_modeinfo ) ) . flags as * const
                _ as usize } , 28usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_modeinfo ) ,
                "::" , stringify ! ( flags ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_modeinfo ) ) . type_ as * const
                _ as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_modeinfo ) ,
                "::" , stringify ! ( type_ ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_modeinfo ) ) . name as * const _
                as usize } , 36usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_modeinfo ) ,
                "::" , stringify ! ( name ) ));
}
impl Clone for drm_mode_modeinfo {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_card_res {
    pub fb_id_ptr: __u64,
    pub crtc_id_ptr: __u64,
    pub connector_id_ptr: __u64,
    pub encoder_id_ptr: __u64,
    pub count_fbs: __u32,
    pub count_crtcs: __u32,
    pub count_connectors: __u32,
    pub count_encoders: __u32,
    pub min_width: __u32,
    pub max_width: __u32,
    pub min_height: __u32,
    pub max_height: __u32,
}
#[test]
fn bindgen_test_layout_drm_mode_card_res() {
    assert_eq!(::std::mem::size_of::<drm_mode_card_res>() , 64usize , concat !
               ( "Size of: " , stringify ! ( drm_mode_card_res ) ));
    assert_eq! (::std::mem::align_of::<drm_mode_card_res>() , 8usize , concat
                ! ( "Alignment of " , stringify ! ( drm_mode_card_res ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_card_res ) ) . fb_id_ptr as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_card_res ) ,
                "::" , stringify ! ( fb_id_ptr ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_card_res ) ) . crtc_id_ptr as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_card_res ) ,
                "::" , stringify ! ( crtc_id_ptr ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_card_res ) ) . connector_id_ptr
                as * const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_card_res ) ,
                "::" , stringify ! ( connector_id_ptr ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_card_res ) ) . encoder_id_ptr as
                * const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_card_res ) ,
                "::" , stringify ! ( encoder_id_ptr ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_card_res ) ) . count_fbs as *
                const _ as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_card_res ) ,
                "::" , stringify ! ( count_fbs ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_card_res ) ) . count_crtcs as *
                const _ as usize } , 36usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_card_res ) ,
                "::" , stringify ! ( count_crtcs ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_card_res ) ) . count_connectors
                as * const _ as usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_card_res ) ,
                "::" , stringify ! ( count_connectors ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_card_res ) ) . count_encoders as
                * const _ as usize } , 44usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_card_res ) ,
                "::" , stringify ! ( count_encoders ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_card_res ) ) . min_width as *
                const _ as usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_card_res ) ,
                "::" , stringify ! ( min_width ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_card_res ) ) . max_width as *
                const _ as usize } , 52usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_card_res ) ,
                "::" , stringify ! ( max_width ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_card_res ) ) . min_height as *
                const _ as usize } , 56usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_card_res ) ,
                "::" , stringify ! ( min_height ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_card_res ) ) . max_height as *
                const _ as usize } , 60usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_card_res ) ,
                "::" , stringify ! ( max_height ) ));
}
impl Clone for drm_mode_card_res {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_crtc {
    pub set_connectors_ptr: __u64,
    pub count_connectors: __u32,
    pub crtc_id: __u32,
    pub fb_id: __u32,
    pub x: __u32,
    pub y: __u32,
    pub gamma_size: __u32,
    pub mode_valid: __u32,
    pub mode: drm_mode_modeinfo,
}
#[test]
fn bindgen_test_layout_drm_mode_crtc() {
    assert_eq!(::std::mem::size_of::<drm_mode_crtc>() , 104usize , concat ! (
               "Size of: " , stringify ! ( drm_mode_crtc ) ));
    assert_eq! (::std::mem::align_of::<drm_mode_crtc>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drm_mode_crtc ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc ) ) . set_connectors_ptr as
                * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_crtc ) , "::"
                , stringify ! ( set_connectors_ptr ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc ) ) . count_connectors as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_crtc ) , "::"
                , stringify ! ( count_connectors ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc ) ) . crtc_id as * const _
                as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_crtc ) , "::"
                , stringify ! ( crtc_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc ) ) . fb_id as * const _ as
                usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_crtc ) , "::"
                , stringify ! ( fb_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc ) ) . x as * const _ as
                usize } , 20usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_crtc ) , "::"
                , stringify ! ( x ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc ) ) . y as * const _ as
                usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_crtc ) , "::"
                , stringify ! ( y ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc ) ) . gamma_size as * const
                _ as usize } , 28usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_crtc ) , "::"
                , stringify ! ( gamma_size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc ) ) . mode_valid as * const
                _ as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_crtc ) , "::"
                , stringify ! ( mode_valid ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc ) ) . mode as * const _ as
                usize } , 36usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_crtc ) , "::"
                , stringify ! ( mode ) ));
}
impl Clone for drm_mode_crtc {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_set_plane {
    pub plane_id: __u32,
    pub crtc_id: __u32,
    pub fb_id: __u32,
    pub flags: __u32,
    pub crtc_x: __s32,
    pub crtc_y: __s32,
    pub crtc_w: __u32,
    pub crtc_h: __u32,
    pub src_x: __u32,
    pub src_y: __u32,
    pub src_h: __u32,
    pub src_w: __u32,
}
#[test]
fn bindgen_test_layout_drm_mode_set_plane() {
    assert_eq!(::std::mem::size_of::<drm_mode_set_plane>() , 48usize , concat
               ! ( "Size of: " , stringify ! ( drm_mode_set_plane ) ));
    assert_eq! (::std::mem::align_of::<drm_mode_set_plane>() , 4usize , concat
                ! ( "Alignment of " , stringify ! ( drm_mode_set_plane ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_set_plane ) ) . plane_id as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_set_plane ) ,
                "::" , stringify ! ( plane_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_set_plane ) ) . crtc_id as *
                const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_set_plane ) ,
                "::" , stringify ! ( crtc_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_set_plane ) ) . fb_id as * const
                _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_set_plane ) ,
                "::" , stringify ! ( fb_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_set_plane ) ) . flags as * const
                _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_set_plane ) ,
                "::" , stringify ! ( flags ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_set_plane ) ) . crtc_x as *
                const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_set_plane ) ,
                "::" , stringify ! ( crtc_x ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_set_plane ) ) . crtc_y as *
                const _ as usize } , 20usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_set_plane ) ,
                "::" , stringify ! ( crtc_y ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_set_plane ) ) . crtc_w as *
                const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_set_plane ) ,
                "::" , stringify ! ( crtc_w ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_set_plane ) ) . crtc_h as *
                const _ as usize } , 28usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_set_plane ) ,
                "::" , stringify ! ( crtc_h ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_set_plane ) ) . src_x as * const
                _ as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_set_plane ) ,
                "::" , stringify ! ( src_x ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_set_plane ) ) . src_y as * const
                _ as usize } , 36usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_set_plane ) ,
                "::" , stringify ! ( src_y ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_set_plane ) ) . src_h as * const
                _ as usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_set_plane ) ,
                "::" , stringify ! ( src_h ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_set_plane ) ) . src_w as * const
                _ as usize } , 44usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_set_plane ) ,
                "::" , stringify ! ( src_w ) ));
}
impl Clone for drm_mode_set_plane {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_get_plane {
    pub plane_id: __u32,
    pub crtc_id: __u32,
    pub fb_id: __u32,
    pub possible_crtcs: __u32,
    pub gamma_size: __u32,
    pub count_format_types: __u32,
    pub format_type_ptr: __u64,
}
#[test]
fn bindgen_test_layout_drm_mode_get_plane() {
    assert_eq!(::std::mem::size_of::<drm_mode_get_plane>() , 32usize , concat
               ! ( "Size of: " , stringify ! ( drm_mode_get_plane ) ));
    assert_eq! (::std::mem::align_of::<drm_mode_get_plane>() , 8usize , concat
                ! ( "Alignment of " , stringify ! ( drm_mode_get_plane ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_plane ) ) . plane_id as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_plane ) ,
                "::" , stringify ! ( plane_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_plane ) ) . crtc_id as *
                const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_plane ) ,
                "::" , stringify ! ( crtc_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_plane ) ) . fb_id as * const
                _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_plane ) ,
                "::" , stringify ! ( fb_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_plane ) ) . possible_crtcs
                as * const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_plane ) ,
                "::" , stringify ! ( possible_crtcs ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_plane ) ) . gamma_size as *
                const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_plane ) ,
                "::" , stringify ! ( gamma_size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_plane ) ) .
                count_format_types as * const _ as usize } , 20usize , concat
                ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_plane ) ,
                "::" , stringify ! ( count_format_types ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_plane ) ) . format_type_ptr
                as * const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_plane ) ,
                "::" , stringify ! ( format_type_ptr ) ));
}
impl Clone for drm_mode_get_plane {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_get_plane_res {
    pub plane_id_ptr: __u64,
    pub count_planes: __u32,
}
#[test]
fn bindgen_test_layout_drm_mode_get_plane_res() {
    assert_eq!(::std::mem::size_of::<drm_mode_get_plane_res>() , 16usize ,
               concat ! ( "Size of: " , stringify ! ( drm_mode_get_plane_res )
               ));
    assert_eq! (::std::mem::align_of::<drm_mode_get_plane_res>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( drm_mode_get_plane_res ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_plane_res ) ) . plane_id_ptr
                as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_plane_res
                ) , "::" , stringify ! ( plane_id_ptr ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_plane_res ) ) . count_planes
                as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_plane_res
                ) , "::" , stringify ! ( count_planes ) ));
}
impl Clone for drm_mode_get_plane_res {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_get_encoder {
    pub encoder_id: __u32,
    pub encoder_type: __u32,
    pub crtc_id: __u32,
    pub possible_crtcs: __u32,
    pub possible_clones: __u32,
}
#[test]
fn bindgen_test_layout_drm_mode_get_encoder() {
    assert_eq!(::std::mem::size_of::<drm_mode_get_encoder>() , 20usize ,
               concat ! ( "Size of: " , stringify ! ( drm_mode_get_encoder )
               ));
    assert_eq! (::std::mem::align_of::<drm_mode_get_encoder>() , 4usize ,
                concat ! (
                "Alignment of " , stringify ! ( drm_mode_get_encoder ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_encoder ) ) . encoder_id as
                * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_encoder )
                , "::" , stringify ! ( encoder_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_encoder ) ) . encoder_type
                as * const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_encoder )
                , "::" , stringify ! ( encoder_type ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_encoder ) ) . crtc_id as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_encoder )
                , "::" , stringify ! ( crtc_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_encoder ) ) . possible_crtcs
                as * const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_encoder )
                , "::" , stringify ! ( possible_crtcs ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_encoder ) ) .
                possible_clones as * const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_encoder )
                , "::" , stringify ! ( possible_clones ) ));
}
impl Clone for drm_mode_get_encoder {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_get_connector {
    pub encoders_ptr: __u64,
    pub modes_ptr: __u64,
    pub props_ptr: __u64,
    pub prop_values_ptr: __u64,
    pub count_modes: __u32,
    pub count_props: __u32,
    pub count_encoders: __u32,
    pub encoder_id: __u32,
    pub connector_id: __u32,
    pub connector_type: __u32,
    pub connector_type_id: __u32,
    pub connection: __u32,
    pub mm_width: __u32,
    pub mm_height: __u32,
    pub subpixel: __u32,
    pub pad: __u32,
}
#[test]
fn bindgen_test_layout_drm_mode_get_connector() {
    assert_eq!(::std::mem::size_of::<drm_mode_get_connector>() , 80usize ,
               concat ! ( "Size of: " , stringify ! ( drm_mode_get_connector )
               ));
    assert_eq! (::std::mem::align_of::<drm_mode_get_connector>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( drm_mode_get_connector ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_connector ) ) . encoders_ptr
                as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_connector
                ) , "::" , stringify ! ( encoders_ptr ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_connector ) ) . modes_ptr as
                * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_connector
                ) , "::" , stringify ! ( modes_ptr ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_connector ) ) . props_ptr as
                * const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_connector
                ) , "::" , stringify ! ( props_ptr ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_connector ) ) .
                prop_values_ptr as * const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_connector
                ) , "::" , stringify ! ( prop_values_ptr ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_connector ) ) . count_modes
                as * const _ as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_connector
                ) , "::" , stringify ! ( count_modes ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_connector ) ) . count_props
                as * const _ as usize } , 36usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_connector
                ) , "::" , stringify ! ( count_props ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_connector ) ) .
                count_encoders as * const _ as usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_connector
                ) , "::" , stringify ! ( count_encoders ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_connector ) ) . encoder_id
                as * const _ as usize } , 44usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_connector
                ) , "::" , stringify ! ( encoder_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_connector ) ) . connector_id
                as * const _ as usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_connector
                ) , "::" , stringify ! ( connector_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_connector ) ) .
                connector_type as * const _ as usize } , 52usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_connector
                ) , "::" , stringify ! ( connector_type ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_connector ) ) .
                connector_type_id as * const _ as usize } , 56usize , concat !
                (
                "Alignment of field: " , stringify ! ( drm_mode_get_connector
                ) , "::" , stringify ! ( connector_type_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_connector ) ) . connection
                as * const _ as usize } , 60usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_connector
                ) , "::" , stringify ! ( connection ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_connector ) ) . mm_width as
                * const _ as usize } , 64usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_connector
                ) , "::" , stringify ! ( mm_width ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_connector ) ) . mm_height as
                * const _ as usize } , 68usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_connector
                ) , "::" , stringify ! ( mm_height ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_connector ) ) . subpixel as
                * const _ as usize } , 72usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_connector
                ) , "::" , stringify ! ( subpixel ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_connector ) ) . pad as *
                const _ as usize } , 76usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_connector
                ) , "::" , stringify ! ( pad ) ));
}
impl Clone for drm_mode_get_connector {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_property_enum {
    pub value: __u64,
    pub name: [::std::os::raw::c_char; 32usize],
}
#[test]
fn bindgen_test_layout_drm_mode_property_enum() {
    assert_eq!(::std::mem::size_of::<drm_mode_property_enum>() , 40usize ,
               concat ! ( "Size of: " , stringify ! ( drm_mode_property_enum )
               ));
    assert_eq! (::std::mem::align_of::<drm_mode_property_enum>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( drm_mode_property_enum ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_property_enum ) ) . value as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_property_enum
                ) , "::" , stringify ! ( value ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_property_enum ) ) . name as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_property_enum
                ) , "::" , stringify ! ( name ) ));
}
impl Clone for drm_mode_property_enum {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_get_property {
    pub values_ptr: __u64,
    pub enum_blob_ptr: __u64,
    pub prop_id: __u32,
    pub flags: __u32,
    pub name: [::std::os::raw::c_char; 32usize],
    pub count_values: __u32,
    pub count_enum_blobs: __u32,
}
#[test]
fn bindgen_test_layout_drm_mode_get_property() {
    assert_eq!(::std::mem::size_of::<drm_mode_get_property>() , 64usize ,
               concat ! ( "Size of: " , stringify ! ( drm_mode_get_property )
               ));
    assert_eq! (::std::mem::align_of::<drm_mode_get_property>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( drm_mode_get_property ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_property ) ) . values_ptr as
                * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_property )
                , "::" , stringify ! ( values_ptr ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_property ) ) . enum_blob_ptr
                as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_property )
                , "::" , stringify ! ( enum_blob_ptr ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_property ) ) . prop_id as *
                const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_property )
                , "::" , stringify ! ( prop_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_property ) ) . flags as *
                const _ as usize } , 20usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_property )
                , "::" , stringify ! ( flags ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_property ) ) . name as *
                const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_property )
                , "::" , stringify ! ( name ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_property ) ) . count_values
                as * const _ as usize } , 56usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_property )
                , "::" , stringify ! ( count_values ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_property ) ) .
                count_enum_blobs as * const _ as usize } , 60usize , concat !
                (
                "Alignment of field: " , stringify ! ( drm_mode_get_property )
                , "::" , stringify ! ( count_enum_blobs ) ));
}
impl Clone for drm_mode_get_property {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_connector_set_property {
    pub value: __u64,
    pub prop_id: __u32,
    pub connector_id: __u32,
}
#[test]
fn bindgen_test_layout_drm_mode_connector_set_property() {
    assert_eq!(::std::mem::size_of::<drm_mode_connector_set_property>() ,
               16usize , concat ! (
               "Size of: " , stringify ! ( drm_mode_connector_set_property )
               ));
    assert_eq! (::std::mem::align_of::<drm_mode_connector_set_property>() ,
                8usize , concat ! (
                "Alignment of " , stringify ! (
                drm_mode_connector_set_property ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_connector_set_property ) ) .
                value as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                drm_mode_connector_set_property ) , "::" , stringify ! ( value
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_connector_set_property ) ) .
                prop_id as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! (
                drm_mode_connector_set_property ) , "::" , stringify ! (
                prop_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_connector_set_property ) ) .
                connector_id as * const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! (
                drm_mode_connector_set_property ) , "::" , stringify ! (
                connector_id ) ));
}
impl Clone for drm_mode_connector_set_property {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_obj_get_properties {
    pub props_ptr: __u64,
    pub prop_values_ptr: __u64,
    pub count_props: __u32,
    pub obj_id: __u32,
    pub obj_type: __u32,
}
#[test]
fn bindgen_test_layout_drm_mode_obj_get_properties() {
    assert_eq!(::std::mem::size_of::<drm_mode_obj_get_properties>() , 32usize
               , concat ! (
               "Size of: " , stringify ! ( drm_mode_obj_get_properties ) ));
    assert_eq! (::std::mem::align_of::<drm_mode_obj_get_properties>() , 8usize
                , concat ! (
                "Alignment of " , stringify ! ( drm_mode_obj_get_properties )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_obj_get_properties ) ) .
                props_ptr as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                drm_mode_obj_get_properties ) , "::" , stringify ! ( props_ptr
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_obj_get_properties ) ) .
                prop_values_ptr as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! (
                drm_mode_obj_get_properties ) , "::" , stringify ! (
                prop_values_ptr ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_obj_get_properties ) ) .
                count_props as * const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! (
                drm_mode_obj_get_properties ) , "::" , stringify ! (
                count_props ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_obj_get_properties ) ) . obj_id
                as * const _ as usize } , 20usize , concat ! (
                "Alignment of field: " , stringify ! (
                drm_mode_obj_get_properties ) , "::" , stringify ! ( obj_id )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_obj_get_properties ) ) .
                obj_type as * const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! (
                drm_mode_obj_get_properties ) , "::" , stringify ! ( obj_type
                ) ));
}
impl Clone for drm_mode_obj_get_properties {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_obj_set_property {
    pub value: __u64,
    pub prop_id: __u32,
    pub obj_id: __u32,
    pub obj_type: __u32,
}
#[test]
fn bindgen_test_layout_drm_mode_obj_set_property() {
    assert_eq!(::std::mem::size_of::<drm_mode_obj_set_property>() , 24usize ,
               concat ! (
               "Size of: " , stringify ! ( drm_mode_obj_set_property ) ));
    assert_eq! (::std::mem::align_of::<drm_mode_obj_set_property>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( drm_mode_obj_set_property )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_obj_set_property ) ) . value as
                * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                drm_mode_obj_set_property ) , "::" , stringify ! ( value ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_obj_set_property ) ) . prop_id
                as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! (
                drm_mode_obj_set_property ) , "::" , stringify ! ( prop_id )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_obj_set_property ) ) . obj_id as
                * const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! (
                drm_mode_obj_set_property ) , "::" , stringify ! ( obj_id )
                ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_obj_set_property ) ) . obj_type
                as * const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! (
                drm_mode_obj_set_property ) , "::" , stringify ! ( obj_type )
                ));
}
impl Clone for drm_mode_obj_set_property {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_get_blob {
    pub blob_id: __u32,
    pub length: __u32,
    pub data: __u64,
}
#[test]
fn bindgen_test_layout_drm_mode_get_blob() {
    assert_eq!(::std::mem::size_of::<drm_mode_get_blob>() , 16usize , concat !
               ( "Size of: " , stringify ! ( drm_mode_get_blob ) ));
    assert_eq! (::std::mem::align_of::<drm_mode_get_blob>() , 8usize , concat
                ! ( "Alignment of " , stringify ! ( drm_mode_get_blob ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_blob ) ) . blob_id as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_blob ) ,
                "::" , stringify ! ( blob_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_blob ) ) . length as * const
                _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_blob ) ,
                "::" , stringify ! ( length ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_get_blob ) ) . data as * const _
                as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_get_blob ) ,
                "::" , stringify ! ( data ) ));
}
impl Clone for drm_mode_get_blob {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_fb_cmd {
    pub fb_id: __u32,
    pub width: __u32,
    pub height: __u32,
    pub pitch: __u32,
    pub bpp: __u32,
    pub depth: __u32,
    pub handle: __u32,
}
#[test]
fn bindgen_test_layout_drm_mode_fb_cmd() {
    assert_eq!(::std::mem::size_of::<drm_mode_fb_cmd>() , 28usize , concat ! (
               "Size of: " , stringify ! ( drm_mode_fb_cmd ) ));
    assert_eq! (::std::mem::align_of::<drm_mode_fb_cmd>() , 4usize , concat !
                ( "Alignment of " , stringify ! ( drm_mode_fb_cmd ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_cmd ) ) . fb_id as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_cmd ) ,
                "::" , stringify ! ( fb_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_cmd ) ) . width as * const _
                as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_cmd ) ,
                "::" , stringify ! ( width ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_cmd ) ) . height as * const _
                as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_cmd ) ,
                "::" , stringify ! ( height ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_cmd ) ) . pitch as * const _
                as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_cmd ) ,
                "::" , stringify ! ( pitch ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_cmd ) ) . bpp as * const _ as
                usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_cmd ) ,
                "::" , stringify ! ( bpp ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_cmd ) ) . depth as * const _
                as usize } , 20usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_cmd ) ,
                "::" , stringify ! ( depth ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_cmd ) ) . handle as * const _
                as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_cmd ) ,
                "::" , stringify ! ( handle ) ));
}
impl Clone for drm_mode_fb_cmd {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_fb_cmd2 {
    pub fb_id: __u32,
    pub width: __u32,
    pub height: __u32,
    pub pixel_format: __u32,
    pub flags: __u32,
    pub handles: [__u32; 4usize],
    pub pitches: [__u32; 4usize],
    pub offsets: [__u32; 4usize],
    pub modifier: [__u64; 4usize],
}
#[test]
fn bindgen_test_layout_drm_mode_fb_cmd2() {
    assert_eq!(::std::mem::size_of::<drm_mode_fb_cmd2>() , 104usize , concat !
               ( "Size of: " , stringify ! ( drm_mode_fb_cmd2 ) ));
    assert_eq! (::std::mem::align_of::<drm_mode_fb_cmd2>() , 8usize , concat !
                ( "Alignment of " , stringify ! ( drm_mode_fb_cmd2 ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_cmd2 ) ) . fb_id as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_cmd2 ) ,
                "::" , stringify ! ( fb_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_cmd2 ) ) . width as * const _
                as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_cmd2 ) ,
                "::" , stringify ! ( width ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_cmd2 ) ) . height as * const
                _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_cmd2 ) ,
                "::" , stringify ! ( height ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_cmd2 ) ) . pixel_format as *
                const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_cmd2 ) ,
                "::" , stringify ! ( pixel_format ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_cmd2 ) ) . flags as * const _
                as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_cmd2 ) ,
                "::" , stringify ! ( flags ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_cmd2 ) ) . handles as * const
                _ as usize } , 20usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_cmd2 ) ,
                "::" , stringify ! ( handles ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_cmd2 ) ) . pitches as * const
                _ as usize } , 36usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_cmd2 ) ,
                "::" , stringify ! ( pitches ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_cmd2 ) ) . offsets as * const
                _ as usize } , 52usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_cmd2 ) ,
                "::" , stringify ! ( offsets ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_cmd2 ) ) . modifier as *
                const _ as usize } , 72usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_cmd2 ) ,
                "::" , stringify ! ( modifier ) ));
}
impl Clone for drm_mode_fb_cmd2 {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_fb_dirty_cmd {
    pub fb_id: __u32,
    pub flags: __u32,
    pub color: __u32,
    pub num_clips: __u32,
    pub clips_ptr: __u64,
}
#[test]
fn bindgen_test_layout_drm_mode_fb_dirty_cmd() {
    assert_eq!(::std::mem::size_of::<drm_mode_fb_dirty_cmd>() , 24usize ,
               concat ! ( "Size of: " , stringify ! ( drm_mode_fb_dirty_cmd )
               ));
    assert_eq! (::std::mem::align_of::<drm_mode_fb_dirty_cmd>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( drm_mode_fb_dirty_cmd ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_dirty_cmd ) ) . fb_id as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_dirty_cmd )
                , "::" , stringify ! ( fb_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_dirty_cmd ) ) . flags as *
                const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_dirty_cmd )
                , "::" , stringify ! ( flags ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_dirty_cmd ) ) . color as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_dirty_cmd )
                , "::" , stringify ! ( color ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_dirty_cmd ) ) . num_clips as
                * const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_dirty_cmd )
                , "::" , stringify ! ( num_clips ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_fb_dirty_cmd ) ) . clips_ptr as
                * const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_fb_dirty_cmd )
                , "::" , stringify ! ( clips_ptr ) ));
}
impl Clone for drm_mode_fb_dirty_cmd {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_mode_cmd {
    pub connector_id: __u32,
    pub mode: drm_mode_modeinfo,
}
#[test]
fn bindgen_test_layout_drm_mode_mode_cmd() {
    assert_eq!(::std::mem::size_of::<drm_mode_mode_cmd>() , 72usize , concat !
               ( "Size of: " , stringify ! ( drm_mode_mode_cmd ) ));
    assert_eq! (::std::mem::align_of::<drm_mode_mode_cmd>() , 4usize , concat
                ! ( "Alignment of " , stringify ! ( drm_mode_mode_cmd ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_mode_cmd ) ) . connector_id as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_mode_cmd ) ,
                "::" , stringify ! ( connector_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_mode_cmd ) ) . mode as * const _
                as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_mode_cmd ) ,
                "::" , stringify ! ( mode ) ));
}
impl Clone for drm_mode_mode_cmd {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_cursor {
    pub flags: __u32,
    pub crtc_id: __u32,
    pub x: __s32,
    pub y: __s32,
    pub width: __u32,
    pub height: __u32,
    pub handle: __u32,
}
#[test]
fn bindgen_test_layout_drm_mode_cursor() {
    assert_eq!(::std::mem::size_of::<drm_mode_cursor>() , 28usize , concat ! (
               "Size of: " , stringify ! ( drm_mode_cursor ) ));
    assert_eq! (::std::mem::align_of::<drm_mode_cursor>() , 4usize , concat !
                ( "Alignment of " , stringify ! ( drm_mode_cursor ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_cursor ) ) . flags as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_cursor ) ,
                "::" , stringify ! ( flags ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_cursor ) ) . crtc_id as * const
                _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_cursor ) ,
                "::" , stringify ! ( crtc_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_cursor ) ) . x as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_cursor ) ,
                "::" , stringify ! ( x ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_cursor ) ) . y as * const _ as
                usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_cursor ) ,
                "::" , stringify ! ( y ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_cursor ) ) . width as * const _
                as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_cursor ) ,
                "::" , stringify ! ( width ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_cursor ) ) . height as * const _
                as usize } , 20usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_cursor ) ,
                "::" , stringify ! ( height ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_cursor ) ) . handle as * const _
                as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_cursor ) ,
                "::" , stringify ! ( handle ) ));
}
impl Clone for drm_mode_cursor {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_cursor2 {
    pub flags: __u32,
    pub crtc_id: __u32,
    pub x: __s32,
    pub y: __s32,
    pub width: __u32,
    pub height: __u32,
    pub handle: __u32,
    pub hot_x: __s32,
    pub hot_y: __s32,
}
#[test]
fn bindgen_test_layout_drm_mode_cursor2() {
    assert_eq!(::std::mem::size_of::<drm_mode_cursor2>() , 36usize , concat !
               ( "Size of: " , stringify ! ( drm_mode_cursor2 ) ));
    assert_eq! (::std::mem::align_of::<drm_mode_cursor2>() , 4usize , concat !
                ( "Alignment of " , stringify ! ( drm_mode_cursor2 ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_cursor2 ) ) . flags as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_cursor2 ) ,
                "::" , stringify ! ( flags ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_cursor2 ) ) . crtc_id as * const
                _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_cursor2 ) ,
                "::" , stringify ! ( crtc_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_cursor2 ) ) . x as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_cursor2 ) ,
                "::" , stringify ! ( x ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_cursor2 ) ) . y as * const _ as
                usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_cursor2 ) ,
                "::" , stringify ! ( y ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_cursor2 ) ) . width as * const _
                as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_cursor2 ) ,
                "::" , stringify ! ( width ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_cursor2 ) ) . height as * const
                _ as usize } , 20usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_cursor2 ) ,
                "::" , stringify ! ( height ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_cursor2 ) ) . handle as * const
                _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_cursor2 ) ,
                "::" , stringify ! ( handle ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_cursor2 ) ) . hot_x as * const _
                as usize } , 28usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_cursor2 ) ,
                "::" , stringify ! ( hot_x ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_cursor2 ) ) . hot_y as * const _
                as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_cursor2 ) ,
                "::" , stringify ! ( hot_y ) ));
}
impl Clone for drm_mode_cursor2 {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_crtc_lut {
    pub crtc_id: __u32,
    pub gamma_size: __u32,
    pub red: __u64,
    pub green: __u64,
    pub blue: __u64,
}
#[test]
fn bindgen_test_layout_drm_mode_crtc_lut() {
    assert_eq!(::std::mem::size_of::<drm_mode_crtc_lut>() , 32usize , concat !
               ( "Size of: " , stringify ! ( drm_mode_crtc_lut ) ));
    assert_eq! (::std::mem::align_of::<drm_mode_crtc_lut>() , 8usize , concat
                ! ( "Alignment of " , stringify ! ( drm_mode_crtc_lut ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc_lut ) ) . crtc_id as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_crtc_lut ) ,
                "::" , stringify ! ( crtc_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc_lut ) ) . gamma_size as *
                const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_crtc_lut ) ,
                "::" , stringify ! ( gamma_size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc_lut ) ) . red as * const _
                as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_crtc_lut ) ,
                "::" , stringify ! ( red ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc_lut ) ) . green as * const
                _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_crtc_lut ) ,
                "::" , stringify ! ( green ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc_lut ) ) . blue as * const _
                as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_crtc_lut ) ,
                "::" , stringify ! ( blue ) ));
}
impl Clone for drm_mode_crtc_lut {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_color_ctm {
    pub matrix: [__s64; 9usize],
}
#[test]
fn bindgen_test_layout_drm_color_ctm() {
    assert_eq!(::std::mem::size_of::<drm_color_ctm>() , 72usize , concat ! (
               "Size of: " , stringify ! ( drm_color_ctm ) ));
    assert_eq! (::std::mem::align_of::<drm_color_ctm>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drm_color_ctm ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_color_ctm ) ) . matrix as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_color_ctm ) , "::"
                , stringify ! ( matrix ) ));
}
impl Clone for drm_color_ctm {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_color_lut {
    pub red: __u16,
    pub green: __u16,
    pub blue: __u16,
    pub reserved: __u16,
}
#[test]
fn bindgen_test_layout_drm_color_lut() {
    assert_eq!(::std::mem::size_of::<drm_color_lut>() , 8usize , concat ! (
               "Size of: " , stringify ! ( drm_color_lut ) ));
    assert_eq! (::std::mem::align_of::<drm_color_lut>() , 2usize , concat ! (
                "Alignment of " , stringify ! ( drm_color_lut ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_color_lut ) ) . red as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_color_lut ) , "::"
                , stringify ! ( red ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_color_lut ) ) . green as * const _ as
                usize } , 2usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_color_lut ) , "::"
                , stringify ! ( green ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_color_lut ) ) . blue as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_color_lut ) , "::"
                , stringify ! ( blue ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_color_lut ) ) . reserved as * const _
                as usize } , 6usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_color_lut ) , "::"
                , stringify ! ( reserved ) ));
}
impl Clone for drm_color_lut {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_crtc_page_flip {
    pub crtc_id: __u32,
    pub fb_id: __u32,
    pub flags: __u32,
    pub reserved: __u32,
    pub user_data: __u64,
}
#[test]
fn bindgen_test_layout_drm_mode_crtc_page_flip() {
    assert_eq!(::std::mem::size_of::<drm_mode_crtc_page_flip>() , 24usize ,
               concat ! (
               "Size of: " , stringify ! ( drm_mode_crtc_page_flip ) ));
    assert_eq! (::std::mem::align_of::<drm_mode_crtc_page_flip>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( drm_mode_crtc_page_flip ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc_page_flip ) ) . crtc_id as
                * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_crtc_page_flip
                ) , "::" , stringify ! ( crtc_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc_page_flip ) ) . fb_id as *
                const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_crtc_page_flip
                ) , "::" , stringify ! ( fb_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc_page_flip ) ) . flags as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_crtc_page_flip
                ) , "::" , stringify ! ( flags ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc_page_flip ) ) . reserved as
                * const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_crtc_page_flip
                ) , "::" , stringify ! ( reserved ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc_page_flip ) ) . user_data
                as * const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_crtc_page_flip
                ) , "::" , stringify ! ( user_data ) ));
}
impl Clone for drm_mode_crtc_page_flip {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_crtc_page_flip_target {
    pub crtc_id: __u32,
    pub fb_id: __u32,
    pub flags: __u32,
    pub sequence: __u32,
    pub user_data: __u64,
}
#[test]
fn bindgen_test_layout_drm_mode_crtc_page_flip_target() {
    assert_eq!(::std::mem::size_of::<drm_mode_crtc_page_flip_target>() ,
               24usize , concat ! (
               "Size of: " , stringify ! ( drm_mode_crtc_page_flip_target )
               ));
    assert_eq! (::std::mem::align_of::<drm_mode_crtc_page_flip_target>() ,
                8usize , concat ! (
                "Alignment of " , stringify ! ( drm_mode_crtc_page_flip_target
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc_page_flip_target ) ) .
                crtc_id as * const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                drm_mode_crtc_page_flip_target ) , "::" , stringify ! (
                crtc_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc_page_flip_target ) ) .
                fb_id as * const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! (
                drm_mode_crtc_page_flip_target ) , "::" , stringify ! ( fb_id
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc_page_flip_target ) ) .
                flags as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! (
                drm_mode_crtc_page_flip_target ) , "::" , stringify ! ( flags
                ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc_page_flip_target ) ) .
                sequence as * const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! (
                drm_mode_crtc_page_flip_target ) , "::" , stringify ! (
                sequence ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_crtc_page_flip_target ) ) .
                user_data as * const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! (
                drm_mode_crtc_page_flip_target ) , "::" , stringify ! (
                user_data ) ));
}
impl Clone for drm_mode_crtc_page_flip_target {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_create_dumb {
    pub height: __u32,
    pub width: __u32,
    pub bpp: __u32,
    pub flags: __u32,
    pub handle: __u32,
    pub pitch: __u32,
    pub size: __u64,
}
#[test]
fn bindgen_test_layout_drm_mode_create_dumb() {
    assert_eq!(::std::mem::size_of::<drm_mode_create_dumb>() , 32usize ,
               concat ! ( "Size of: " , stringify ! ( drm_mode_create_dumb )
               ));
    assert_eq! (::std::mem::align_of::<drm_mode_create_dumb>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( drm_mode_create_dumb ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_create_dumb ) ) . height as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_create_dumb )
                , "::" , stringify ! ( height ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_create_dumb ) ) . width as *
                const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_create_dumb )
                , "::" , stringify ! ( width ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_create_dumb ) ) . bpp as * const
                _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_create_dumb )
                , "::" , stringify ! ( bpp ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_create_dumb ) ) . flags as *
                const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_create_dumb )
                , "::" , stringify ! ( flags ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_create_dumb ) ) . handle as *
                const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_create_dumb )
                , "::" , stringify ! ( handle ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_create_dumb ) ) . pitch as *
                const _ as usize } , 20usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_create_dumb )
                , "::" , stringify ! ( pitch ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_create_dumb ) ) . size as *
                const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_create_dumb )
                , "::" , stringify ! ( size ) ));
}
impl Clone for drm_mode_create_dumb {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_map_dumb {
    pub handle: __u32,
    pub pad: __u32,
    pub offset: __u64,
}
#[test]
fn bindgen_test_layout_drm_mode_map_dumb() {
    assert_eq!(::std::mem::size_of::<drm_mode_map_dumb>() , 16usize , concat !
               ( "Size of: " , stringify ! ( drm_mode_map_dumb ) ));
    assert_eq! (::std::mem::align_of::<drm_mode_map_dumb>() , 8usize , concat
                ! ( "Alignment of " , stringify ! ( drm_mode_map_dumb ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_map_dumb ) ) . handle as * const
                _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_map_dumb ) ,
                "::" , stringify ! ( handle ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_map_dumb ) ) . pad as * const _
                as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_map_dumb ) ,
                "::" , stringify ! ( pad ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_map_dumb ) ) . offset as * const
                _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_map_dumb ) ,
                "::" , stringify ! ( offset ) ));
}
impl Clone for drm_mode_map_dumb {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_destroy_dumb {
    pub handle: __u32,
}
#[test]
fn bindgen_test_layout_drm_mode_destroy_dumb() {
    assert_eq!(::std::mem::size_of::<drm_mode_destroy_dumb>() , 4usize ,
               concat ! ( "Size of: " , stringify ! ( drm_mode_destroy_dumb )
               ));
    assert_eq! (::std::mem::align_of::<drm_mode_destroy_dumb>() , 4usize ,
                concat ! (
                "Alignment of " , stringify ! ( drm_mode_destroy_dumb ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_destroy_dumb ) ) . handle as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_destroy_dumb )
                , "::" , stringify ! ( handle ) ));
}
impl Clone for drm_mode_destroy_dumb {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_atomic {
    pub flags: __u32,
    pub count_objs: __u32,
    pub objs_ptr: __u64,
    pub count_props_ptr: __u64,
    pub props_ptr: __u64,
    pub prop_values_ptr: __u64,
    pub reserved: __u64,
    pub user_data: __u64,
}
#[test]
fn bindgen_test_layout_drm_mode_atomic() {
    assert_eq!(::std::mem::size_of::<drm_mode_atomic>() , 56usize , concat ! (
               "Size of: " , stringify ! ( drm_mode_atomic ) ));
    assert_eq! (::std::mem::align_of::<drm_mode_atomic>() , 8usize , concat !
                ( "Alignment of " , stringify ! ( drm_mode_atomic ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_atomic ) ) . flags as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_atomic ) ,
                "::" , stringify ! ( flags ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_atomic ) ) . count_objs as *
                const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_atomic ) ,
                "::" , stringify ! ( count_objs ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_atomic ) ) . objs_ptr as * const
                _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_atomic ) ,
                "::" , stringify ! ( objs_ptr ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_atomic ) ) . count_props_ptr as
                * const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_atomic ) ,
                "::" , stringify ! ( count_props_ptr ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_atomic ) ) . props_ptr as *
                const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_atomic ) ,
                "::" , stringify ! ( props_ptr ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_atomic ) ) . prop_values_ptr as
                * const _ as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_atomic ) ,
                "::" , stringify ! ( prop_values_ptr ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_atomic ) ) . reserved as * const
                _ as usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_atomic ) ,
                "::" , stringify ! ( reserved ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_atomic ) ) . user_data as *
                const _ as usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_atomic ) ,
                "::" , stringify ! ( user_data ) ));
}
impl Clone for drm_mode_atomic {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_create_blob {
    pub data: __u64,
    pub length: __u32,
    pub blob_id: __u32,
}
#[test]
fn bindgen_test_layout_drm_mode_create_blob() {
    assert_eq!(::std::mem::size_of::<drm_mode_create_blob>() , 16usize ,
               concat ! ( "Size of: " , stringify ! ( drm_mode_create_blob )
               ));
    assert_eq! (::std::mem::align_of::<drm_mode_create_blob>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( drm_mode_create_blob ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_create_blob ) ) . data as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_create_blob )
                , "::" , stringify ! ( data ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_create_blob ) ) . length as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_create_blob )
                , "::" , stringify ! ( length ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_create_blob ) ) . blob_id as *
                const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_create_blob )
                , "::" , stringify ! ( blob_id ) ));
}
impl Clone for drm_mode_create_blob {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_mode_destroy_blob {
    pub blob_id: __u32,
}
#[test]
fn bindgen_test_layout_drm_mode_destroy_blob() {
    assert_eq!(::std::mem::size_of::<drm_mode_destroy_blob>() , 4usize ,
               concat ! ( "Size of: " , stringify ! ( drm_mode_destroy_blob )
               ));
    assert_eq! (::std::mem::align_of::<drm_mode_destroy_blob>() , 4usize ,
                concat ! (
                "Alignment of " , stringify ! ( drm_mode_destroy_blob ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_mode_destroy_blob ) ) . blob_id as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_mode_destroy_blob )
                , "::" , stringify ! ( blob_id ) ));
}
impl Clone for drm_mode_destroy_blob {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_event {
    pub type_: __u32,
    pub length: __u32,
}
#[test]
fn bindgen_test_layout_drm_event() {
    assert_eq!(::std::mem::size_of::<drm_event>() , 8usize , concat ! (
               "Size of: " , stringify ! ( drm_event ) ));
    assert_eq! (::std::mem::align_of::<drm_event>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( drm_event ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_event ) ) . type_ as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_event ) , "::" ,
                stringify ! ( type_ ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_event ) ) . length as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_event ) , "::" ,
                stringify ! ( length ) ));
}
impl Clone for drm_event {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drm_event_vblank {
    pub base: drm_event,
    pub user_data: __u64,
    pub tv_sec: __u32,
    pub tv_usec: __u32,
    pub sequence: __u32,
    pub reserved: __u32,
}
#[test]
fn bindgen_test_layout_drm_event_vblank() {
    assert_eq!(::std::mem::size_of::<drm_event_vblank>() , 32usize , concat !
               ( "Size of: " , stringify ! ( drm_event_vblank ) ));
    assert_eq! (::std::mem::align_of::<drm_event_vblank>() , 8usize , concat !
                ( "Alignment of " , stringify ! ( drm_event_vblank ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_event_vblank ) ) . base as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_event_vblank ) ,
                "::" , stringify ! ( base ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_event_vblank ) ) . user_data as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_event_vblank ) ,
                "::" , stringify ! ( user_data ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_event_vblank ) ) . tv_sec as * const
                _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_event_vblank ) ,
                "::" , stringify ! ( tv_sec ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_event_vblank ) ) . tv_usec as * const
                _ as usize } , 20usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_event_vblank ) ,
                "::" , stringify ! ( tv_usec ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_event_vblank ) ) . sequence as *
                const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_event_vblank ) ,
                "::" , stringify ! ( sequence ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drm_event_vblank ) ) . reserved as *
                const _ as usize } , 28usize , concat ! (
                "Alignment of field: " , stringify ! ( drm_event_vblank ) ,
                "::" , stringify ! ( reserved ) ));
}
impl Clone for drm_event_vblank {
    fn clone(&self) -> Self { *self }
}
pub type drm_clip_rect_t = drm_clip_rect;
pub type drm_drawable_info_t = drm_drawable_info;
pub type drm_tex_region_t = drm_tex_region;
pub type drm_hw_lock_t = drm_hw_lock;
pub type drm_version_t = drm_version;
pub type drm_unique_t = drm_unique;
pub type drm_list_t = drm_list;
pub type drm_block_t = drm_block;
pub type drm_control_t = drm_control;
pub use self::drm_map_type as drm_map_type_t;
pub use self::drm_map_flags as drm_map_flags_t;
pub type drm_ctx_priv_map_t = drm_ctx_priv_map;
pub type drm_map_t = drm_map;
pub type drm_client_t = drm_client;
pub use self::drm_stat_type as drm_stat_type_t;
pub type drm_stats_t = drm_stats;
pub use self::drm_lock_flags as drm_lock_flags_t;
pub type drm_lock_t = drm_lock;
pub use self::drm_dma_flags as drm_dma_flags_t;
pub type drm_buf_desc_t = drm_buf_desc;
pub type drm_buf_info_t = drm_buf_info;
pub type drm_buf_free_t = drm_buf_free;
pub type drm_buf_pub_t = drm_buf_pub;
pub type drm_buf_map_t = drm_buf_map;
pub type drm_dma_t = drm_dma;
pub type drm_wait_vblank_t = drm_wait_vblank;
pub type drm_agp_mode_t = drm_agp_mode;
pub use self::drm_ctx_flags as drm_ctx_flags_t;
pub type drm_ctx_t = drm_ctx;
pub type drm_ctx_res_t = drm_ctx_res;
pub type drm_draw_t = drm_draw;
pub type drm_update_draw_t = drm_update_draw;
pub type drm_auth_t = drm_auth;
pub type drm_irq_busid_t = drm_irq_busid;
pub use self::drm_vblank_seq_type as drm_vblank_seq_type_t;
pub type drm_agp_buffer_t = drm_agp_buffer;
pub type drm_agp_binding_t = drm_agp_binding;
pub type drm_agp_info_t = drm_agp_info;
pub type drm_scatter_gather_t = drm_scatter_gather;
pub type drm_set_version_t = drm_set_version;
pub type drmSize = ::std::os::raw::c_uint;
pub type drmSizePtr = *mut ::std::os::raw::c_uint;
pub type drmAddress = *mut ::std::os::raw::c_void;
pub type drmAddressPtr = *mut *mut ::std::os::raw::c_void;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmServerInfo {
    pub debug_print: ::std::option::Option<unsafe extern "C" fn(format:
                                                                    *const ::std::os::raw::c_char,
                                                                ap:
                                                                    *mut __va_list_tag)
                                               -> ::std::os::raw::c_int>,
    pub load_module: ::std::option::Option<unsafe extern "C" fn(name:
                                                                    *const ::std::os::raw::c_char)
                                               -> ::std::os::raw::c_int>,
    pub get_perms: ::std::option::Option<unsafe extern "C" fn(arg1:
                                                                  *mut gid_t,
                                                              arg2:
                                                                  *mut mode_t)>,
}
#[test]
fn bindgen_test_layout__drmServerInfo() {
    assert_eq!(::std::mem::size_of::<_drmServerInfo>() , 24usize , concat ! (
               "Size of: " , stringify ! ( _drmServerInfo ) ));
    assert_eq! (::std::mem::align_of::<_drmServerInfo>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( _drmServerInfo ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmServerInfo ) ) . debug_print as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmServerInfo ) , "::"
                , stringify ! ( debug_print ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmServerInfo ) ) . load_module as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmServerInfo ) , "::"
                , stringify ! ( load_module ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmServerInfo ) ) . get_perms as * const
                _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmServerInfo ) , "::"
                , stringify ! ( get_perms ) ));
}
impl Clone for _drmServerInfo {
    fn clone(&self) -> Self { *self }
}
pub type drmServerInfo = _drmServerInfo;
pub type drmServerInfoPtr = *mut _drmServerInfo;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct drmHashEntry {
    pub fd: ::std::os::raw::c_int,
    pub f: ::std::option::Option<unsafe extern "C" fn(arg1:
                                                          ::std::os::raw::c_int,
                                                      arg2:
                                                          *mut ::std::os::raw::c_void,
                                                      arg3:
                                                          *mut ::std::os::raw::c_void)>,
    pub tagTable: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout_drmHashEntry() {
    assert_eq!(::std::mem::size_of::<drmHashEntry>() , 24usize , concat ! (
               "Size of: " , stringify ! ( drmHashEntry ) ));
    assert_eq! (::std::mem::align_of::<drmHashEntry>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( drmHashEntry ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drmHashEntry ) ) . fd as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( drmHashEntry ) , "::" ,
                stringify ! ( fd ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drmHashEntry ) ) . f as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( drmHashEntry ) , "::" ,
                stringify ! ( f ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const drmHashEntry ) ) . tagTable as * const _
                as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( drmHashEntry ) , "::" ,
                stringify ! ( tagTable ) ));
}
impl Clone for drmHashEntry {
    fn clone(&self) -> Self { *self }
}
extern "C" {
    pub fn drmIoctl(fd: ::std::os::raw::c_int,
                    request: ::std::os::raw::c_ulong,
                    arg: *mut ::std::os::raw::c_void)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmGetHashTable() -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn drmGetEntry(fd: ::std::os::raw::c_int) -> *mut drmHashEntry;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmVersion {
    pub version_major: ::std::os::raw::c_int,
    pub version_minor: ::std::os::raw::c_int,
    pub version_patchlevel: ::std::os::raw::c_int,
    pub name_len: ::std::os::raw::c_int,
    pub name: *mut ::std::os::raw::c_char,
    pub date_len: ::std::os::raw::c_int,
    pub date: *mut ::std::os::raw::c_char,
    pub desc_len: ::std::os::raw::c_int,
    pub desc: *mut ::std::os::raw::c_char,
}
#[test]
fn bindgen_test_layout__drmVersion() {
    assert_eq!(::std::mem::size_of::<_drmVersion>() , 56usize , concat ! (
               "Size of: " , stringify ! ( _drmVersion ) ));
    assert_eq! (::std::mem::align_of::<_drmVersion>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( _drmVersion ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmVersion ) ) . version_major as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmVersion ) , "::" ,
                stringify ! ( version_major ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmVersion ) ) . version_minor as *
                const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmVersion ) , "::" ,
                stringify ! ( version_minor ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmVersion ) ) . version_patchlevel as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmVersion ) , "::" ,
                stringify ! ( version_patchlevel ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmVersion ) ) . name_len as * const _
                as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmVersion ) , "::" ,
                stringify ! ( name_len ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmVersion ) ) . name as * const _ as
                usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmVersion ) , "::" ,
                stringify ! ( name ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmVersion ) ) . date_len as * const _
                as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmVersion ) , "::" ,
                stringify ! ( date_len ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmVersion ) ) . date as * const _ as
                usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmVersion ) , "::" ,
                stringify ! ( date ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmVersion ) ) . desc_len as * const _
                as usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmVersion ) , "::" ,
                stringify ! ( desc_len ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmVersion ) ) . desc as * const _ as
                usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmVersion ) , "::" ,
                stringify ! ( desc ) ));
}
impl Clone for _drmVersion {
    fn clone(&self) -> Self { *self }
}
pub type drmVersion = _drmVersion;
pub type drmVersionPtr = *mut _drmVersion;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmStats {
    pub count: ::std::os::raw::c_ulong,
    pub data: [_drmStats__bindgen_ty_1; 15usize],
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmStats__bindgen_ty_1 {
    pub value: ::std::os::raw::c_ulong,
    pub long_format: *const ::std::os::raw::c_char,
    pub long_name: *const ::std::os::raw::c_char,
    pub rate_format: *const ::std::os::raw::c_char,
    pub rate_name: *const ::std::os::raw::c_char,
    pub isvalue: ::std::os::raw::c_int,
    pub mult_names: *const ::std::os::raw::c_char,
    pub mult: ::std::os::raw::c_int,
    pub verbose: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout__drmStats__bindgen_ty_1() {
    assert_eq!(::std::mem::size_of::<_drmStats__bindgen_ty_1>() , 64usize ,
               concat ! (
               "Size of: " , stringify ! ( _drmStats__bindgen_ty_1 ) ));
    assert_eq! (::std::mem::align_of::<_drmStats__bindgen_ty_1>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( _drmStats__bindgen_ty_1 ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmStats__bindgen_ty_1 ) ) . value as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmStats__bindgen_ty_1
                ) , "::" , stringify ! ( value ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmStats__bindgen_ty_1 ) ) . long_format
                as * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmStats__bindgen_ty_1
                ) , "::" , stringify ! ( long_format ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmStats__bindgen_ty_1 ) ) . long_name
                as * const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmStats__bindgen_ty_1
                ) , "::" , stringify ! ( long_name ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmStats__bindgen_ty_1 ) ) . rate_format
                as * const _ as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmStats__bindgen_ty_1
                ) , "::" , stringify ! ( rate_format ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmStats__bindgen_ty_1 ) ) . rate_name
                as * const _ as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmStats__bindgen_ty_1
                ) , "::" , stringify ! ( rate_name ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmStats__bindgen_ty_1 ) ) . isvalue as
                * const _ as usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmStats__bindgen_ty_1
                ) , "::" , stringify ! ( isvalue ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmStats__bindgen_ty_1 ) ) . mult_names
                as * const _ as usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmStats__bindgen_ty_1
                ) , "::" , stringify ! ( mult_names ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmStats__bindgen_ty_1 ) ) . mult as *
                const _ as usize } , 56usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmStats__bindgen_ty_1
                ) , "::" , stringify ! ( mult ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmStats__bindgen_ty_1 ) ) . verbose as
                * const _ as usize } , 60usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmStats__bindgen_ty_1
                ) , "::" , stringify ! ( verbose ) ));
}
impl Clone for _drmStats__bindgen_ty_1 {
    fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout__drmStats() {
    assert_eq!(::std::mem::size_of::<_drmStats>() , 968usize , concat ! (
               "Size of: " , stringify ! ( _drmStats ) ));
    assert_eq! (::std::mem::align_of::<_drmStats>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( _drmStats ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmStats ) ) . count as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmStats ) , "::" ,
                stringify ! ( count ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmStats ) ) . data as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmStats ) , "::" ,
                stringify ! ( data ) ));
}
impl Clone for _drmStats {
    fn clone(&self) -> Self { *self }
}
pub type drmStatsT = _drmStats;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum drmMapType {
    DRM_FRAME_BUFFER = 0,
    DRM_REGISTERS = 1,
    DRM_SHM = 2,
    DRM_AGP = 3,
    DRM_SCATTER_GATHER = 4,
    DRM_CONSISTENT = 5,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum drmMapFlags {
    DRM_RESTRICTED = 1,
    DRM_READ_ONLY = 2,
    DRM_LOCKED = 4,
    DRM_KERNEL = 8,
    DRM_WRITE_COMBINING = 16,
    DRM_CONTAINS_LOCK = 32,
    DRM_REMOVABLE = 64,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum drmDMAFlags {
    DRM_DMA_BLOCK = 1,
    DRM_DMA_WHILE_LOCKED = 2,
    DRM_DMA_PRIORITY = 4,
    DRM_DMA_WAIT = 16,
    DRM_DMA_SMALLER_OK = 32,
    DRM_DMA_LARGER_OK = 64,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum drmBufDescFlags {
    DRM_PAGE_ALIGN = 1,
    DRM_AGP_BUFFER = 2,
    DRM_SG_BUFFER = 4,
    DRM_FB_BUFFER = 8,
    DRM_PCI_BUFFER_RO = 16,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum drmLockFlags {
    DRM_LOCK_READY = 1,
    DRM_LOCK_QUIESCENT = 2,
    DRM_LOCK_FLUSH = 4,
    DRM_LOCK_FLUSH_ALL = 8,
    DRM_HALT_ALL_QUEUES = 16,
    DRM_HALT_CUR_QUEUES = 32,
}
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum drm_context_tFlags {
    DRM_CONTEXT_PRESERVED = 1,
    DRM_CONTEXT_2DONLY = 2,
}
pub type drm_context_tFlagsPtr = *mut drm_context_tFlags;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmBufDesc {
    pub count: ::std::os::raw::c_int,
    pub size: ::std::os::raw::c_int,
    pub low_mark: ::std::os::raw::c_int,
    pub high_mark: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout__drmBufDesc() {
    assert_eq!(::std::mem::size_of::<_drmBufDesc>() , 16usize , concat ! (
               "Size of: " , stringify ! ( _drmBufDesc ) ));
    assert_eq! (::std::mem::align_of::<_drmBufDesc>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( _drmBufDesc ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmBufDesc ) ) . count as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmBufDesc ) , "::" ,
                stringify ! ( count ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmBufDesc ) ) . size as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmBufDesc ) , "::" ,
                stringify ! ( size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmBufDesc ) ) . low_mark as * const _
                as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmBufDesc ) , "::" ,
                stringify ! ( low_mark ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmBufDesc ) ) . high_mark as * const _
                as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmBufDesc ) , "::" ,
                stringify ! ( high_mark ) ));
}
impl Clone for _drmBufDesc {
    fn clone(&self) -> Self { *self }
}
pub type drmBufDesc = _drmBufDesc;
pub type drmBufDescPtr = *mut _drmBufDesc;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmBufInfo {
    pub count: ::std::os::raw::c_int,
    pub list: drmBufDescPtr,
}
#[test]
fn bindgen_test_layout__drmBufInfo() {
    assert_eq!(::std::mem::size_of::<_drmBufInfo>() , 16usize , concat ! (
               "Size of: " , stringify ! ( _drmBufInfo ) ));
    assert_eq! (::std::mem::align_of::<_drmBufInfo>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( _drmBufInfo ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmBufInfo ) ) . count as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmBufInfo ) , "::" ,
                stringify ! ( count ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmBufInfo ) ) . list as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmBufInfo ) , "::" ,
                stringify ! ( list ) ));
}
impl Clone for _drmBufInfo {
    fn clone(&self) -> Self { *self }
}
pub type drmBufInfo = _drmBufInfo;
pub type drmBufInfoPtr = *mut _drmBufInfo;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmBuf {
    pub idx: ::std::os::raw::c_int,
    pub total: ::std::os::raw::c_int,
    pub used: ::std::os::raw::c_int,
    pub address: drmAddress,
}
#[test]
fn bindgen_test_layout__drmBuf() {
    assert_eq!(::std::mem::size_of::<_drmBuf>() , 24usize , concat ! (
               "Size of: " , stringify ! ( _drmBuf ) ));
    assert_eq! (::std::mem::align_of::<_drmBuf>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( _drmBuf ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmBuf ) ) . idx as * const _ as usize }
                , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmBuf ) , "::" ,
                stringify ! ( idx ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmBuf ) ) . total as * const _ as usize
                } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmBuf ) , "::" ,
                stringify ! ( total ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmBuf ) ) . used as * const _ as usize
                } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmBuf ) , "::" ,
                stringify ! ( used ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmBuf ) ) . address as * const _ as
                usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmBuf ) , "::" ,
                stringify ! ( address ) ));
}
impl Clone for _drmBuf {
    fn clone(&self) -> Self { *self }
}
pub type drmBuf = _drmBuf;
pub type drmBufPtr = *mut _drmBuf;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmBufMap {
    pub count: ::std::os::raw::c_int,
    pub list: drmBufPtr,
}
#[test]
fn bindgen_test_layout__drmBufMap() {
    assert_eq!(::std::mem::size_of::<_drmBufMap>() , 16usize , concat ! (
               "Size of: " , stringify ! ( _drmBufMap ) ));
    assert_eq! (::std::mem::align_of::<_drmBufMap>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( _drmBufMap ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmBufMap ) ) . count as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmBufMap ) , "::" ,
                stringify ! ( count ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmBufMap ) ) . list as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmBufMap ) , "::" ,
                stringify ! ( list ) ));
}
impl Clone for _drmBufMap {
    fn clone(&self) -> Self { *self }
}
pub type drmBufMap = _drmBufMap;
pub type drmBufMapPtr = *mut _drmBufMap;
#[repr(C)]
pub struct _drmLock {
    pub lock: ::std::os::raw::c_uint,
    pub padding: [::std::os::raw::c_char; 60usize],
}
#[test]
fn bindgen_test_layout__drmLock() {
    assert_eq!(::std::mem::size_of::<_drmLock>() , 64usize , concat ! (
               "Size of: " , stringify ! ( _drmLock ) ));
    assert_eq! (::std::mem::align_of::<_drmLock>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( _drmLock ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmLock ) ) . lock as * const _ as usize
                } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmLock ) , "::" ,
                stringify ! ( lock ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmLock ) ) . padding as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmLock ) , "::" ,
                stringify ! ( padding ) ));
}
pub type drmLock = _drmLock;
pub type drmLockPtr = *mut _drmLock;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmDMAReq {
    pub context: drm_context_t,
    pub send_count: ::std::os::raw::c_int,
    pub send_list: *mut ::std::os::raw::c_int,
    pub send_sizes: *mut ::std::os::raw::c_int,
    pub flags: drmDMAFlags,
    pub request_count: ::std::os::raw::c_int,
    pub request_size: ::std::os::raw::c_int,
    pub request_list: *mut ::std::os::raw::c_int,
    pub request_sizes: *mut ::std::os::raw::c_int,
    pub granted_count: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout__drmDMAReq() {
    assert_eq!(::std::mem::size_of::<_drmDMAReq>() , 64usize , concat ! (
               "Size of: " , stringify ! ( _drmDMAReq ) ));
    assert_eq! (::std::mem::align_of::<_drmDMAReq>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( _drmDMAReq ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmDMAReq ) ) . context as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmDMAReq ) , "::" ,
                stringify ! ( context ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmDMAReq ) ) . send_count as * const _
                as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmDMAReq ) , "::" ,
                stringify ! ( send_count ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmDMAReq ) ) . send_list as * const _
                as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmDMAReq ) , "::" ,
                stringify ! ( send_list ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmDMAReq ) ) . send_sizes as * const _
                as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmDMAReq ) , "::" ,
                stringify ! ( send_sizes ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmDMAReq ) ) . flags as * const _ as
                usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmDMAReq ) , "::" ,
                stringify ! ( flags ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmDMAReq ) ) . request_count as * const
                _ as usize } , 28usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmDMAReq ) , "::" ,
                stringify ! ( request_count ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmDMAReq ) ) . request_size as * const
                _ as usize } , 32usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmDMAReq ) , "::" ,
                stringify ! ( request_size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmDMAReq ) ) . request_list as * const
                _ as usize } , 40usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmDMAReq ) , "::" ,
                stringify ! ( request_list ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmDMAReq ) ) . request_sizes as * const
                _ as usize } , 48usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmDMAReq ) , "::" ,
                stringify ! ( request_sizes ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmDMAReq ) ) . granted_count as * const
                _ as usize } , 56usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmDMAReq ) , "::" ,
                stringify ! ( granted_count ) ));
}
impl Clone for _drmDMAReq {
    fn clone(&self) -> Self { *self }
}
pub type drmDMAReq = _drmDMAReq;
pub type drmDMAReqPtr = *mut _drmDMAReq;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmRegion {
    pub handle: drm_handle_t,
    pub offset: ::std::os::raw::c_uint,
    pub size: drmSize,
    pub map: drmAddress,
}
#[test]
fn bindgen_test_layout__drmRegion() {
    assert_eq!(::std::mem::size_of::<_drmRegion>() , 24usize , concat ! (
               "Size of: " , stringify ! ( _drmRegion ) ));
    assert_eq! (::std::mem::align_of::<_drmRegion>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( _drmRegion ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmRegion ) ) . handle as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmRegion ) , "::" ,
                stringify ! ( handle ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmRegion ) ) . offset as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmRegion ) , "::" ,
                stringify ! ( offset ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmRegion ) ) . size as * const _ as
                usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmRegion ) , "::" ,
                stringify ! ( size ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmRegion ) ) . map as * const _ as
                usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmRegion ) , "::" ,
                stringify ! ( map ) ));
}
impl Clone for _drmRegion {
    fn clone(&self) -> Self { *self }
}
pub type drmRegion = _drmRegion;
pub type drmRegionPtr = *mut _drmRegion;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmTextureRegion {
    pub next: ::std::os::raw::c_uchar,
    pub prev: ::std::os::raw::c_uchar,
    pub in_use: ::std::os::raw::c_uchar,
    pub padding: ::std::os::raw::c_uchar,
    pub age: ::std::os::raw::c_uint,
}
#[test]
fn bindgen_test_layout__drmTextureRegion() {
    assert_eq!(::std::mem::size_of::<_drmTextureRegion>() , 8usize , concat !
               ( "Size of: " , stringify ! ( _drmTextureRegion ) ));
    assert_eq! (::std::mem::align_of::<_drmTextureRegion>() , 4usize , concat
                ! ( "Alignment of " , stringify ! ( _drmTextureRegion ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmTextureRegion ) ) . next as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmTextureRegion ) ,
                "::" , stringify ! ( next ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmTextureRegion ) ) . prev as * const _
                as usize } , 1usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmTextureRegion ) ,
                "::" , stringify ! ( prev ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmTextureRegion ) ) . in_use as * const
                _ as usize } , 2usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmTextureRegion ) ,
                "::" , stringify ! ( in_use ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmTextureRegion ) ) . padding as *
                const _ as usize } , 3usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmTextureRegion ) ,
                "::" , stringify ! ( padding ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmTextureRegion ) ) . age as * const _
                as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmTextureRegion ) ,
                "::" , stringify ! ( age ) ));
}
impl Clone for _drmTextureRegion {
    fn clone(&self) -> Self { *self }
}
pub type drmTextureRegion = _drmTextureRegion;
pub type drmTextureRegionPtr = *mut _drmTextureRegion;
#[repr(u32)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum drmVBlankSeqType {
    DRM_VBLANK_ABSOLUTE = 0,
    DRM_VBLANK_RELATIVE = 1,
    DRM_VBLANK_HIGH_CRTC_MASK = 62,
    DRM_VBLANK_EVENT = 67108864,
    DRM_VBLANK_FLIP = 134217728,
    DRM_VBLANK_NEXTONMISS = 268435456,
    DRM_VBLANK_SECONDARY = 536870912,
    DRM_VBLANK_SIGNAL = 1073741824,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmVBlankReq {
    pub type_: drmVBlankSeqType,
    pub sequence: ::std::os::raw::c_uint,
    pub signal: ::std::os::raw::c_ulong,
}
#[test]
fn bindgen_test_layout__drmVBlankReq() {
    assert_eq!(::std::mem::size_of::<_drmVBlankReq>() , 16usize , concat ! (
               "Size of: " , stringify ! ( _drmVBlankReq ) ));
    assert_eq! (::std::mem::align_of::<_drmVBlankReq>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( _drmVBlankReq ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmVBlankReq ) ) . type_ as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmVBlankReq ) , "::"
                , stringify ! ( type_ ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmVBlankReq ) ) . sequence as * const _
                as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmVBlankReq ) , "::"
                , stringify ! ( sequence ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmVBlankReq ) ) . signal as * const _
                as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmVBlankReq ) , "::"
                , stringify ! ( signal ) ));
}
impl Clone for _drmVBlankReq {
    fn clone(&self) -> Self { *self }
}
pub type drmVBlankReq = _drmVBlankReq;
pub type drmVBlankReqPtr = *mut _drmVBlankReq;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmVBlankReply {
    pub type_: drmVBlankSeqType,
    pub sequence: ::std::os::raw::c_uint,
    pub tval_sec: ::std::os::raw::c_long,
    pub tval_usec: ::std::os::raw::c_long,
}
#[test]
fn bindgen_test_layout__drmVBlankReply() {
    assert_eq!(::std::mem::size_of::<_drmVBlankReply>() , 24usize , concat ! (
               "Size of: " , stringify ! ( _drmVBlankReply ) ));
    assert_eq! (::std::mem::align_of::<_drmVBlankReply>() , 8usize , concat !
                ( "Alignment of " , stringify ! ( _drmVBlankReply ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmVBlankReply ) ) . type_ as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmVBlankReply ) ,
                "::" , stringify ! ( type_ ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmVBlankReply ) ) . sequence as * const
                _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmVBlankReply ) ,
                "::" , stringify ! ( sequence ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmVBlankReply ) ) . tval_sec as * const
                _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmVBlankReply ) ,
                "::" , stringify ! ( tval_sec ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmVBlankReply ) ) . tval_usec as *
                const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmVBlankReply ) ,
                "::" , stringify ! ( tval_usec ) ));
}
impl Clone for _drmVBlankReply {
    fn clone(&self) -> Self { *self }
}
pub type drmVBlankReply = _drmVBlankReply;
pub type drmVBlankReplyPtr = *mut _drmVBlankReply;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmVBlank {
    pub request: __BindgenUnionField<drmVBlankReq>,
    pub reply: __BindgenUnionField<drmVBlankReply>,
    pub bindgen_union_field: [u64; 3usize],
}
#[test]
fn bindgen_test_layout__drmVBlank() {
    assert_eq!(::std::mem::size_of::<_drmVBlank>() , 24usize , concat ! (
               "Size of: " , stringify ! ( _drmVBlank ) ));
    assert_eq! (::std::mem::align_of::<_drmVBlank>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( _drmVBlank ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmVBlank ) ) . request as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmVBlank ) , "::" ,
                stringify ! ( request ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmVBlank ) ) . reply as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmVBlank ) , "::" ,
                stringify ! ( reply ) ));
}
impl Clone for _drmVBlank {
    fn clone(&self) -> Self { *self }
}
pub type drmVBlank = _drmVBlank;
pub type drmVBlankPtr = *mut _drmVBlank;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmSetVersion {
    pub drm_di_major: ::std::os::raw::c_int,
    pub drm_di_minor: ::std::os::raw::c_int,
    pub drm_dd_major: ::std::os::raw::c_int,
    pub drm_dd_minor: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout__drmSetVersion() {
    assert_eq!(::std::mem::size_of::<_drmSetVersion>() , 16usize , concat ! (
               "Size of: " , stringify ! ( _drmSetVersion ) ));
    assert_eq! (::std::mem::align_of::<_drmSetVersion>() , 4usize , concat ! (
                "Alignment of " , stringify ! ( _drmSetVersion ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmSetVersion ) ) . drm_di_major as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmSetVersion ) , "::"
                , stringify ! ( drm_di_major ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmSetVersion ) ) . drm_di_minor as *
                const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmSetVersion ) , "::"
                , stringify ! ( drm_di_minor ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmSetVersion ) ) . drm_dd_major as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmSetVersion ) , "::"
                , stringify ! ( drm_dd_major ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmSetVersion ) ) . drm_dd_minor as *
                const _ as usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmSetVersion ) , "::"
                , stringify ! ( drm_dd_minor ) ));
}
impl Clone for _drmSetVersion {
    fn clone(&self) -> Self { *self }
}
pub type drmSetVersion = _drmSetVersion;
pub type drmSetVersionPtr = *mut _drmSetVersion;
extern "C" {
    pub fn drmAvailable() -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmOpen(name: *const ::std::os::raw::c_char,
                   busid: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmOpenWithType(name: *const ::std::os::raw::c_char,
                           busid: *const ::std::os::raw::c_char,
                           type_: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmOpenControl(minor: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmOpenRender(minor: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmClose(fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmGetVersion(fd: ::std::os::raw::c_int) -> drmVersionPtr;
}
extern "C" {
    pub fn drmGetLibVersion(fd: ::std::os::raw::c_int) -> drmVersionPtr;
}
extern "C" {
    pub fn drmGetCap(fd: ::std::os::raw::c_int, capability: u64,
                     value: *mut u64) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmFreeVersion(arg1: drmVersionPtr);
}
extern "C" {
    pub fn drmGetMagic(fd: ::std::os::raw::c_int, magic: *mut drm_magic_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmGetBusid(fd: ::std::os::raw::c_int)
     -> *mut ::std::os::raw::c_char;
}
extern "C" {
    pub fn drmGetInterruptFromBusID(fd: ::std::os::raw::c_int,
                                    busnum: ::std::os::raw::c_int,
                                    devnum: ::std::os::raw::c_int,
                                    funcnum: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmGetMap(fd: ::std::os::raw::c_int, idx: ::std::os::raw::c_int,
                     offset: *mut drm_handle_t, size: *mut drmSize,
                     type_: *mut drmMapType, flags: *mut drmMapFlags,
                     handle: *mut drm_handle_t,
                     mtrr: *mut ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmGetClient(fd: ::std::os::raw::c_int, idx: ::std::os::raw::c_int,
                        auth: *mut ::std::os::raw::c_int,
                        pid: *mut ::std::os::raw::c_int,
                        uid: *mut ::std::os::raw::c_int,
                        magic: *mut ::std::os::raw::c_ulong,
                        iocs: *mut ::std::os::raw::c_ulong)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmGetStats(fd: ::std::os::raw::c_int, stats: *mut drmStatsT)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmSetInterfaceVersion(fd: ::std::os::raw::c_int,
                                  version: *mut drmSetVersion)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmCommandNone(fd: ::std::os::raw::c_int,
                          drmCommandIndex: ::std::os::raw::c_ulong)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmCommandRead(fd: ::std::os::raw::c_int,
                          drmCommandIndex: ::std::os::raw::c_ulong,
                          data: *mut ::std::os::raw::c_void,
                          size: ::std::os::raw::c_ulong)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmCommandWrite(fd: ::std::os::raw::c_int,
                           drmCommandIndex: ::std::os::raw::c_ulong,
                           data: *mut ::std::os::raw::c_void,
                           size: ::std::os::raw::c_ulong)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmCommandWriteRead(fd: ::std::os::raw::c_int,
                               drmCommandIndex: ::std::os::raw::c_ulong,
                               data: *mut ::std::os::raw::c_void,
                               size: ::std::os::raw::c_ulong)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmFreeBusid(busid: *const ::std::os::raw::c_char);
}
extern "C" {
    pub fn drmSetBusid(fd: ::std::os::raw::c_int,
                       busid: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmAuthMagic(fd: ::std::os::raw::c_int, magic: drm_magic_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmAddMap(fd: ::std::os::raw::c_int, offset: drm_handle_t,
                     size: drmSize, type_: drmMapType, flags: drmMapFlags,
                     handle: *mut drm_handle_t) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmRmMap(fd: ::std::os::raw::c_int, handle: drm_handle_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmAddContextPrivateMapping(fd: ::std::os::raw::c_int,
                                       ctx_id: drm_context_t,
                                       handle: drm_handle_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmAddBufs(fd: ::std::os::raw::c_int, count: ::std::os::raw::c_int,
                      size: ::std::os::raw::c_int, flags: drmBufDescFlags,
                      agp_offset: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmMarkBufs(fd: ::std::os::raw::c_int, low: f64, high: f64)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmCreateContext(fd: ::std::os::raw::c_int,
                            handle: *mut drm_context_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmSetContextFlags(fd: ::std::os::raw::c_int,
                              context: drm_context_t,
                              flags: drm_context_tFlags)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmGetContextFlags(fd: ::std::os::raw::c_int,
                              context: drm_context_t,
                              flags: drm_context_tFlagsPtr)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmAddContextTag(fd: ::std::os::raw::c_int, context: drm_context_t,
                            tag: *mut ::std::os::raw::c_void)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmDelContextTag(fd: ::std::os::raw::c_int, context: drm_context_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmGetContextTag(fd: ::std::os::raw::c_int, context: drm_context_t)
     -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn drmGetReservedContextList(fd: ::std::os::raw::c_int,
                                     count: *mut ::std::os::raw::c_int)
     -> *mut drm_context_t;
}
extern "C" {
    pub fn drmFreeReservedContextList(arg1: *mut drm_context_t);
}
extern "C" {
    pub fn drmSwitchToContext(fd: ::std::os::raw::c_int,
                              context: drm_context_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmDestroyContext(fd: ::std::os::raw::c_int, handle: drm_context_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmCreateDrawable(fd: ::std::os::raw::c_int,
                             handle: *mut drm_drawable_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmDestroyDrawable(fd: ::std::os::raw::c_int,
                              handle: drm_drawable_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmUpdateDrawableInfo(fd: ::std::os::raw::c_int,
                                 handle: drm_drawable_t,
                                 type_: drm_drawable_info_type_t,
                                 num: ::std::os::raw::c_uint,
                                 data: *mut ::std::os::raw::c_void)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmCtlInstHandler(fd: ::std::os::raw::c_int,
                             irq: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmCtlUninstHandler(fd: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmSetClientCap(fd: ::std::os::raw::c_int, capability: u64,
                           value: u64) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmMap(fd: ::std::os::raw::c_int, handle: drm_handle_t,
                  size: drmSize, address: drmAddressPtr)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmUnmap(address: drmAddress, size: drmSize)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmGetBufInfo(fd: ::std::os::raw::c_int) -> drmBufInfoPtr;
}
extern "C" {
    pub fn drmMapBufs(fd: ::std::os::raw::c_int) -> drmBufMapPtr;
}
extern "C" {
    pub fn drmUnmapBufs(bufs: drmBufMapPtr) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmDMA(fd: ::std::os::raw::c_int, request: drmDMAReqPtr)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmFreeBufs(fd: ::std::os::raw::c_int,
                       count: ::std::os::raw::c_int,
                       list: *mut ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmGetLock(fd: ::std::os::raw::c_int, context: drm_context_t,
                      flags: drmLockFlags) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmUnlock(fd: ::std::os::raw::c_int, context: drm_context_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmFinish(fd: ::std::os::raw::c_int,
                     context: ::std::os::raw::c_int, flags: drmLockFlags)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmGetContextPrivateMapping(fd: ::std::os::raw::c_int,
                                       ctx_id: drm_context_t,
                                       handle: *mut drm_handle_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmAgpAcquire(fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmAgpRelease(fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmAgpEnable(fd: ::std::os::raw::c_int,
                        mode: ::std::os::raw::c_ulong)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmAgpAlloc(fd: ::std::os::raw::c_int,
                       size: ::std::os::raw::c_ulong,
                       type_: ::std::os::raw::c_ulong,
                       address: *mut ::std::os::raw::c_ulong,
                       handle: *mut drm_handle_t) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmAgpFree(fd: ::std::os::raw::c_int, handle: drm_handle_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmAgpBind(fd: ::std::os::raw::c_int, handle: drm_handle_t,
                      offset: ::std::os::raw::c_ulong)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmAgpUnbind(fd: ::std::os::raw::c_int, handle: drm_handle_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmAgpVersionMajor(fd: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmAgpVersionMinor(fd: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmAgpGetMode(fd: ::std::os::raw::c_int)
     -> ::std::os::raw::c_ulong;
}
extern "C" {
    pub fn drmAgpBase(fd: ::std::os::raw::c_int) -> ::std::os::raw::c_ulong;
}
extern "C" {
    pub fn drmAgpSize(fd: ::std::os::raw::c_int) -> ::std::os::raw::c_ulong;
}
extern "C" {
    pub fn drmAgpMemoryUsed(fd: ::std::os::raw::c_int)
     -> ::std::os::raw::c_ulong;
}
extern "C" {
    pub fn drmAgpMemoryAvail(fd: ::std::os::raw::c_int)
     -> ::std::os::raw::c_ulong;
}
extern "C" {
    pub fn drmAgpVendorId(fd: ::std::os::raw::c_int)
     -> ::std::os::raw::c_uint;
}
extern "C" {
    pub fn drmAgpDeviceId(fd: ::std::os::raw::c_int)
     -> ::std::os::raw::c_uint;
}
extern "C" {
    pub fn drmScatterGatherAlloc(fd: ::std::os::raw::c_int,
                                 size: ::std::os::raw::c_ulong,
                                 handle: *mut drm_handle_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmScatterGatherFree(fd: ::std::os::raw::c_int,
                                handle: drm_handle_t)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmWaitVBlank(fd: ::std::os::raw::c_int, vbl: drmVBlankPtr)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmSetServerInfo(info: drmServerInfoPtr);
}
extern "C" {
    pub fn drmError(err: ::std::os::raw::c_int,
                    label: *const ::std::os::raw::c_char)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmMalloc(size: ::std::os::raw::c_int)
     -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn drmFree(pt: *mut ::std::os::raw::c_void);
}
extern "C" {
    pub fn drmHashCreate() -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn drmHashDestroy(t: *mut ::std::os::raw::c_void)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmHashLookup(t: *mut ::std::os::raw::c_void,
                         key: ::std::os::raw::c_ulong,
                         value: *mut *mut ::std::os::raw::c_void)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmHashInsert(t: *mut ::std::os::raw::c_void,
                         key: ::std::os::raw::c_ulong,
                         value: *mut ::std::os::raw::c_void)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmHashDelete(t: *mut ::std::os::raw::c_void,
                         key: ::std::os::raw::c_ulong)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmHashFirst(t: *mut ::std::os::raw::c_void,
                        key: *mut ::std::os::raw::c_ulong,
                        value: *mut *mut ::std::os::raw::c_void)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmHashNext(t: *mut ::std::os::raw::c_void,
                       key: *mut ::std::os::raw::c_ulong,
                       value: *mut *mut ::std::os::raw::c_void)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmRandomCreate(seed: ::std::os::raw::c_ulong)
     -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn drmRandomDestroy(state: *mut ::std::os::raw::c_void)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmRandom(state: *mut ::std::os::raw::c_void)
     -> ::std::os::raw::c_ulong;
}
extern "C" {
    pub fn drmRandomDouble(state: *mut ::std::os::raw::c_void) -> f64;
}
extern "C" {
    pub fn drmSLCreate() -> *mut ::std::os::raw::c_void;
}
extern "C" {
    pub fn drmSLDestroy(l: *mut ::std::os::raw::c_void)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmSLLookup(l: *mut ::std::os::raw::c_void,
                       key: ::std::os::raw::c_ulong,
                       value: *mut *mut ::std::os::raw::c_void)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmSLInsert(l: *mut ::std::os::raw::c_void,
                       key: ::std::os::raw::c_ulong,
                       value: *mut ::std::os::raw::c_void)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmSLDelete(l: *mut ::std::os::raw::c_void,
                       key: ::std::os::raw::c_ulong) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmSLNext(l: *mut ::std::os::raw::c_void,
                     key: *mut ::std::os::raw::c_ulong,
                     value: *mut *mut ::std::os::raw::c_void)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmSLFirst(l: *mut ::std::os::raw::c_void,
                      key: *mut ::std::os::raw::c_ulong,
                      value: *mut *mut ::std::os::raw::c_void)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmSLDump(l: *mut ::std::os::raw::c_void);
}
extern "C" {
    pub fn drmSLLookupNeighbors(l: *mut ::std::os::raw::c_void,
                                key: ::std::os::raw::c_ulong,
                                prev_key: *mut ::std::os::raw::c_ulong,
                                prev_value: *mut *mut ::std::os::raw::c_void,
                                next_key: *mut ::std::os::raw::c_ulong,
                                next_value: *mut *mut ::std::os::raw::c_void)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmOpenOnce(unused: *mut ::std::os::raw::c_void,
                       BusID: *const ::std::os::raw::c_char,
                       newlyopened: *mut ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmOpenOnceWithType(BusID: *const ::std::os::raw::c_char,
                               newlyopened: *mut ::std::os::raw::c_int,
                               type_: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmCloseOnce(fd: ::std::os::raw::c_int);
}
extern "C" {
    pub fn drmMsg(format: *const ::std::os::raw::c_char, ...);
}
extern "C" {
    pub fn drmSetMaster(fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmDropMaster(fd: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmEventContext {
    pub version: ::std::os::raw::c_int,
    pub vblank_handler: ::std::option::Option<unsafe extern "C" fn(fd:
                                                                       ::std::os::raw::c_int,
                                                                   sequence:
                                                                       ::std::os::raw::c_uint,
                                                                   tv_sec:
                                                                       ::std::os::raw::c_uint,
                                                                   tv_usec:
                                                                       ::std::os::raw::c_uint,
                                                                   user_data:
                                                                       *mut ::std::os::raw::c_void)>,
    pub page_flip_handler: ::std::option::Option<unsafe extern "C" fn(fd:
                                                                          ::std::os::raw::c_int,
                                                                      sequence:
                                                                          ::std::os::raw::c_uint,
                                                                      tv_sec:
                                                                          ::std::os::raw::c_uint,
                                                                      tv_usec:
                                                                          ::std::os::raw::c_uint,
                                                                      user_data:
                                                                          *mut ::std::os::raw::c_void)>,
}
#[test]
fn bindgen_test_layout__drmEventContext() {
    assert_eq!(::std::mem::size_of::<_drmEventContext>() , 24usize , concat !
               ( "Size of: " , stringify ! ( _drmEventContext ) ));
    assert_eq! (::std::mem::align_of::<_drmEventContext>() , 8usize , concat !
                ( "Alignment of " , stringify ! ( _drmEventContext ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmEventContext ) ) . version as * const
                _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmEventContext ) ,
                "::" , stringify ! ( version ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmEventContext ) ) . vblank_handler as
                * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmEventContext ) ,
                "::" , stringify ! ( vblank_handler ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmEventContext ) ) . page_flip_handler
                as * const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmEventContext ) ,
                "::" , stringify ! ( page_flip_handler ) ));
}
impl Clone for _drmEventContext {
    fn clone(&self) -> Self { *self }
}
pub type drmEventContext = _drmEventContext;
pub type drmEventContextPtr = *mut _drmEventContext;
extern "C" {
    pub fn drmHandleEvent(fd: ::std::os::raw::c_int,
                          evctx: drmEventContextPtr) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmGetDeviceNameFromFd(fd: ::std::os::raw::c_int)
     -> *mut ::std::os::raw::c_char;
}
extern "C" {
    pub fn drmGetDeviceNameFromFd2(fd: ::std::os::raw::c_int)
     -> *mut ::std::os::raw::c_char;
}
extern "C" {
    pub fn drmGetNodeTypeFromFd(fd: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmPrimeHandleToFD(fd: ::std::os::raw::c_int, handle: u32,
                              flags: u32,
                              prime_fd: *mut ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmPrimeFDToHandle(fd: ::std::os::raw::c_int,
                              prime_fd: ::std::os::raw::c_int,
                              handle: *mut u32) -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmGetPrimaryDeviceNameFromFd(fd: ::std::os::raw::c_int)
     -> *mut ::std::os::raw::c_char;
}
extern "C" {
    pub fn drmGetRenderDeviceNameFromFd(fd: ::std::os::raw::c_int)
     -> *mut ::std::os::raw::c_char;
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmPciBusInfo {
    pub domain: u16,
    pub bus: u8,
    pub dev: u8,
    pub func: u8,
}
#[test]
fn bindgen_test_layout__drmPciBusInfo() {
    assert_eq!(::std::mem::size_of::<_drmPciBusInfo>() , 6usize , concat ! (
               "Size of: " , stringify ! ( _drmPciBusInfo ) ));
    assert_eq! (::std::mem::align_of::<_drmPciBusInfo>() , 2usize , concat ! (
                "Alignment of " , stringify ! ( _drmPciBusInfo ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmPciBusInfo ) ) . domain as * const _
                as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmPciBusInfo ) , "::"
                , stringify ! ( domain ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmPciBusInfo ) ) . bus as * const _ as
                usize } , 2usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmPciBusInfo ) , "::"
                , stringify ! ( bus ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmPciBusInfo ) ) . dev as * const _ as
                usize } , 3usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmPciBusInfo ) , "::"
                , stringify ! ( dev ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmPciBusInfo ) ) . func as * const _ as
                usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmPciBusInfo ) , "::"
                , stringify ! ( func ) ));
}
impl Clone for _drmPciBusInfo {
    fn clone(&self) -> Self { *self }
}
pub type drmPciBusInfo = _drmPciBusInfo;
pub type drmPciBusInfoPtr = *mut _drmPciBusInfo;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmPciDeviceInfo {
    pub vendor_id: u16,
    pub device_id: u16,
    pub subvendor_id: u16,
    pub subdevice_id: u16,
    pub revision_id: u8,
}
#[test]
fn bindgen_test_layout__drmPciDeviceInfo() {
    assert_eq!(::std::mem::size_of::<_drmPciDeviceInfo>() , 10usize , concat !
               ( "Size of: " , stringify ! ( _drmPciDeviceInfo ) ));
    assert_eq! (::std::mem::align_of::<_drmPciDeviceInfo>() , 2usize , concat
                ! ( "Alignment of " , stringify ! ( _drmPciDeviceInfo ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmPciDeviceInfo ) ) . vendor_id as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmPciDeviceInfo ) ,
                "::" , stringify ! ( vendor_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmPciDeviceInfo ) ) . device_id as *
                const _ as usize } , 2usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmPciDeviceInfo ) ,
                "::" , stringify ! ( device_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmPciDeviceInfo ) ) . subvendor_id as *
                const _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmPciDeviceInfo ) ,
                "::" , stringify ! ( subvendor_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmPciDeviceInfo ) ) . subdevice_id as *
                const _ as usize } , 6usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmPciDeviceInfo ) ,
                "::" , stringify ! ( subdevice_id ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmPciDeviceInfo ) ) . revision_id as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmPciDeviceInfo ) ,
                "::" , stringify ! ( revision_id ) ));
}
impl Clone for _drmPciDeviceInfo {
    fn clone(&self) -> Self { *self }
}
pub type drmPciDeviceInfo = _drmPciDeviceInfo;
pub type drmPciDeviceInfoPtr = *mut _drmPciDeviceInfo;
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmDevice {
    pub nodes: *mut *mut ::std::os::raw::c_char,
    pub available_nodes: ::std::os::raw::c_int,
    pub bustype: ::std::os::raw::c_int,
    pub businfo: _drmDevice__bindgen_ty_1,
    pub deviceinfo: _drmDevice__bindgen_ty_2,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmDevice__bindgen_ty_1 {
    pub pci: __BindgenUnionField<drmPciBusInfoPtr>,
    pub bindgen_union_field: u64,
}
#[test]
fn bindgen_test_layout__drmDevice__bindgen_ty_1() {
    assert_eq!(::std::mem::size_of::<_drmDevice__bindgen_ty_1>() , 8usize ,
               concat ! (
               "Size of: " , stringify ! ( _drmDevice__bindgen_ty_1 ) ));
    assert_eq! (::std::mem::align_of::<_drmDevice__bindgen_ty_1>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( _drmDevice__bindgen_ty_1 ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmDevice__bindgen_ty_1 ) ) . pci as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                _drmDevice__bindgen_ty_1 ) , "::" , stringify ! ( pci ) ));
}
impl Clone for _drmDevice__bindgen_ty_1 {
    fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _drmDevice__bindgen_ty_2 {
    pub pci: __BindgenUnionField<drmPciDeviceInfoPtr>,
    pub bindgen_union_field: u64,
}
#[test]
fn bindgen_test_layout__drmDevice__bindgen_ty_2() {
    assert_eq!(::std::mem::size_of::<_drmDevice__bindgen_ty_2>() , 8usize ,
               concat ! (
               "Size of: " , stringify ! ( _drmDevice__bindgen_ty_2 ) ));
    assert_eq! (::std::mem::align_of::<_drmDevice__bindgen_ty_2>() , 8usize ,
                concat ! (
                "Alignment of " , stringify ! ( _drmDevice__bindgen_ty_2 ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmDevice__bindgen_ty_2 ) ) . pci as *
                const _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! (
                _drmDevice__bindgen_ty_2 ) , "::" , stringify ! ( pci ) ));
}
impl Clone for _drmDevice__bindgen_ty_2 {
    fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout__drmDevice() {
    assert_eq!(::std::mem::size_of::<_drmDevice>() , 32usize , concat ! (
               "Size of: " , stringify ! ( _drmDevice ) ));
    assert_eq! (::std::mem::align_of::<_drmDevice>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( _drmDevice ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmDevice ) ) . nodes as * const _ as
                usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmDevice ) , "::" ,
                stringify ! ( nodes ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmDevice ) ) . available_nodes as *
                const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmDevice ) , "::" ,
                stringify ! ( available_nodes ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmDevice ) ) . bustype as * const _ as
                usize } , 12usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmDevice ) , "::" ,
                stringify ! ( bustype ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmDevice ) ) . businfo as * const _ as
                usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmDevice ) , "::" ,
                stringify ! ( businfo ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const _drmDevice ) ) . deviceinfo as * const _
                as usize } , 24usize , concat ! (
                "Alignment of field: " , stringify ! ( _drmDevice ) , "::" ,
                stringify ! ( deviceinfo ) ));
}
impl Clone for _drmDevice {
    fn clone(&self) -> Self { *self }
}
pub type drmDevice = _drmDevice;
pub type drmDevicePtr = *mut _drmDevice;
extern "C" {
    pub fn drmGetDevice(fd: ::std::os::raw::c_int, device: *mut drmDevicePtr)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmFreeDevice(device: *mut drmDevicePtr);
}
extern "C" {
    pub fn drmGetDevices(devices: *mut drmDevicePtr,
                         max_devices: ::std::os::raw::c_int)
     -> ::std::os::raw::c_int;
}
extern "C" {
    pub fn drmFreeDevices(devices: *mut drmDevicePtr,
                          count: ::std::os::raw::c_int);
}
pub type __builtin_va_list = [__va_list_tag; 1usize];
#[repr(C)]
#[derive(Debug, Copy)]
pub struct __va_list_tag {
    pub gp_offset: ::std::os::raw::c_uint,
    pub fp_offset: ::std::os::raw::c_uint,
    pub overflow_arg_area: *mut ::std::os::raw::c_void,
    pub reg_save_area: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout___va_list_tag() {
    assert_eq!(::std::mem::size_of::<__va_list_tag>() , 24usize , concat ! (
               "Size of: " , stringify ! ( __va_list_tag ) ));
    assert_eq! (::std::mem::align_of::<__va_list_tag>() , 8usize , concat ! (
                "Alignment of " , stringify ! ( __va_list_tag ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const __va_list_tag ) ) . gp_offset as * const
                _ as usize } , 0usize , concat ! (
                "Alignment of field: " , stringify ! ( __va_list_tag ) , "::"
                , stringify ! ( gp_offset ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const __va_list_tag ) ) . fp_offset as * const
                _ as usize } , 4usize , concat ! (
                "Alignment of field: " , stringify ! ( __va_list_tag ) , "::"
                , stringify ! ( fp_offset ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const __va_list_tag ) ) . overflow_arg_area as
                * const _ as usize } , 8usize , concat ! (
                "Alignment of field: " , stringify ! ( __va_list_tag ) , "::"
                , stringify ! ( overflow_arg_area ) ));
    assert_eq! (unsafe {
                & ( * ( 0 as * const __va_list_tag ) ) . reg_save_area as *
                const _ as usize } , 16usize , concat ! (
                "Alignment of field: " , stringify ! ( __va_list_tag ) , "::"
                , stringify ! ( reg_save_area ) ));
}
impl Clone for __va_list_tag {
    fn clone(&self) -> Self { *self }
}