Welcome to mirror list, hosted at ThFree Co, Russian Federation.

classllfio__v2__xxx_1_1file__handle.html - github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 28b54c1765c2a13219592771eeffd98a3ef32dda (plain)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LLFIO: llfio_v2_xxx::file_handle Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LLFIO
   &#160;<span id="projectnumber">v2.00 late beta</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classllfio__v2__xxx_1_1file__handle.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-static-methods">Static Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classllfio__v2__xxx_1_1file__handle-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">llfio_v2_xxx::file_handle Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A handle to a regular file or device.  
 <a href="classllfio__v2__xxx_1_1file__handle.html#details">More...</a></p>

<p><code>#include &quot;file_handle.hpp&quot;</code></p>
<div class="dynheader">
Inheritance diagram for llfio_v2_xxx::file_handle:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classllfio__v2__xxx_1_1file__handle.png" usemap="#llfio_5Fv2_5Fxxx::file_5Fhandle_map" alt=""/>
  <map id="llfio_5Fv2_5Fxxx::file_5Fhandle_map" name="llfio_5Fv2_5Fxxx::file_5Fhandle_map">
<area href="classllfio__v2__xxx_1_1lockable__io__handle.html" title="A handle to something capable of scatter-gather i/o and which can exclude other concurrent users...." alt="llfio_v2_xxx::lockable_io_handle" shape="rect" coords="0,112,222,136"/>
<area href="classllfio__v2__xxx_1_1fs__handle.html" title="A handle to something with a device and inode number." alt="llfio_v2_xxx::fs_handle" shape="rect" coords="232,112,454,136"/>
<area href="classllfio__v2__xxx_1_1io__handle.html" title="A handle to something capable of scatter-gather byte i/o." alt="llfio_v2_xxx::io_handle" shape="rect" coords="0,56,222,80"/>
<area href="classllfio__v2__xxx_1_1handle.html" title="A native_handle_type which is managed by the lifetime of this object instance." alt="llfio_v2_xxx::handle" shape="rect" coords="0,0,222,24"/>
<area href="classllfio__v2__xxx_1_1fast__random__file__handle.html" title="A handle to synthesised, non-cryptographic, pseudo-random data." alt="llfio_v2_xxx::fast_random_file_handle" shape="rect" coords="0,224,222,248"/>
<area href="classllfio__v2__xxx_1_1mapped__file__handle.html" title="A memory mapped regular file or device." alt="llfio_v2_xxx::mapped_file_handle" shape="rect" coords="232,224,454,248"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structllfio__v2__xxx_1_1file__handle_1_1extent__pair.html">extent_pair</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pair of valid extents.  <a href="structllfio__v2__xxx_1_1file__handle_1_1extent__pair.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a68412ff0d490ac8d545ec2766d2da677"><td class="memItemLeft" align="right" valign="top"><a id="a68412ff0d490ac8d545ec2766d2da677"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>path_type</b> = io_handle::path_type</td></tr>
<tr class="separator:a68412ff0d490ac8d545ec2766d2da677"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c3dad6c677c2680a351c67444d3cb8c"><td class="memItemLeft" align="right" valign="top"><a id="a7c3dad6c677c2680a351c67444d3cb8c"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>extent_type</b> = io_handle::extent_type</td></tr>
<tr class="separator:a7c3dad6c677c2680a351c67444d3cb8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f710a7dc78385ffeea9d0619243dd8f"><td class="memItemLeft" align="right" valign="top"><a id="a5f710a7dc78385ffeea9d0619243dd8f"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>size_type</b> = io_handle::size_type</td></tr>
<tr class="separator:a5f710a7dc78385ffeea9d0619243dd8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dbd617575d8cf99a864988e9202a915"><td class="memItemLeft" align="right" valign="top"><a id="a1dbd617575d8cf99a864988e9202a915"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>mode</b> = <a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dca">io_handle::mode</a></td></tr>
<tr class="separator:a1dbd617575d8cf99a864988e9202a915"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a465a6a796482f26866b4d2e566bf0ecc"><td class="memItemLeft" align="right" valign="top"><a id="a465a6a796482f26866b4d2e566bf0ecc"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>creation</b> = <a class="el" href="classllfio__v2__xxx_1_1handle.html#af0b352d0f273ba6fa70c178b2c2fee42">io_handle::creation</a></td></tr>
<tr class="separator:a465a6a796482f26866b4d2e566bf0ecc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7afcacdae9224a8587b8163eb3f5db8b"><td class="memItemLeft" align="right" valign="top"><a id="a7afcacdae9224a8587b8163eb3f5db8b"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>caching</b> = <a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">io_handle::caching</a></td></tr>
<tr class="separator:a7afcacdae9224a8587b8163eb3f5db8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbcde75e9429b8271adbca234e63d522"><td class="memItemLeft" align="right" valign="top"><a id="acbcde75e9429b8271adbca234e63d522"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>flag</b> = io_handle::flag</td></tr>
<tr class="separator:acbcde75e9429b8271adbca234e63d522"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e478777fb31b49b95bcddbee612a13b"><td class="memItemLeft" align="right" valign="top"><a id="a1e478777fb31b49b95bcddbee612a13b"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>buffer_type</b> = <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1buffer__type.html">io_handle::buffer_type</a></td></tr>
<tr class="separator:a1e478777fb31b49b95bcddbee612a13b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae68f0cbc7793647a8ae07d72929e8fd6"><td class="memItemLeft" align="right" valign="top"><a id="ae68f0cbc7793647a8ae07d72929e8fd6"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>const_buffer_type</b> = <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1const__buffer__type.html">io_handle::const_buffer_type</a></td></tr>
<tr class="separator:ae68f0cbc7793647a8ae07d72929e8fd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a50713d6a6aec1ecacc0cdf12d61298"><td class="memItemLeft" align="right" valign="top"><a id="a4a50713d6a6aec1ecacc0cdf12d61298"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>buffers_type</b> = io_handle::buffers_type</td></tr>
<tr class="separator:a4a50713d6a6aec1ecacc0cdf12d61298"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf4f016382816f3ad07838fece06bd25"><td class="memItemLeft" align="right" valign="top"><a id="adf4f016382816f3ad07838fece06bd25"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>const_buffers_type</b> = io_handle::const_buffers_type</td></tr>
<tr class="separator:adf4f016382816f3ad07838fece06bd25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bec420bc6d39c811d1fe32d97a6dcb0"><td class="memTemplParams" colspan="2"><a id="a2bec420bc6d39c811d1fe32d97a6dcb0"></a>
template&lt;class T &gt; </td></tr>
<tr class="memitem:a2bec420bc6d39c811d1fe32d97a6dcb0"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><b>io_request</b> = <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_handle::io_request</a>&lt; T &gt;</td></tr>
<tr class="separator:a2bec420bc6d39c811d1fe32d97a6dcb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5d6eb50ef495e0ca7a8dca48a787878"><td class="memTemplParams" colspan="2"><a id="ac5d6eb50ef495e0ca7a8dca48a787878"></a>
template&lt;class T &gt; </td></tr>
<tr class="memitem:ac5d6eb50ef495e0ca7a8dca48a787878"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><b>io_result</b> = <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_handle::io_result</a>&lt; T &gt;</td></tr>
<tr class="separator:ac5d6eb50ef495e0ca7a8dca48a787878"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a138431a6267d39120b71257af252ddd0"><td class="memItemLeft" align="right" valign="top"><a id="a138431a6267d39120b71257af252ddd0"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>dev_t</b> = fs_handle::dev_t</td></tr>
<tr class="separator:a138431a6267d39120b71257af252ddd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac86af2e1397d2b6b5e6ab3df8e073817"><td class="memItemLeft" align="right" valign="top"><a id="ac86af2e1397d2b6b5e6ab3df8e073817"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>ino_t</b> = fs_handle::ino_t</td></tr>
<tr class="separator:ac86af2e1397d2b6b5e6ab3df8e073817"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a987fcc0fc8a6874cb8275ad0efb1a576"><td class="memItemLeft" align="right" valign="top"><a id="a987fcc0fc8a6874cb8275ad0efb1a576"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>path_view_type</b> = <a class="el" href="classllfio__v2__xxx_1_1fs__handle.html#abcd8c8171f4e561620864295e8d5879b">fs_handle::path_view_type</a></td></tr>
<tr class="separator:a987fcc0fc8a6874cb8275ad0efb1a576"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e3d363c01073647a00a2fbbd7b50fbf"><td class="memItemLeft" align="right" valign="top"><a id="a0e3d363c01073647a00a2fbbd7b50fbf"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>barrier_kind</b> = <a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html#ace3fed6888ea1b5b6f1f641e2cf7cd26">io_multiplexer::barrier_kind</a></td></tr>
<tr class="separator:a0e3d363c01073647a00a2fbbd7b50fbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f6466750a7411512da502cd60d3c461"><td class="memItemLeft" align="right" valign="top"><a id="a9f6466750a7411512da502cd60d3c461"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>registered_buffer_type</b> = <a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html#a9991b48f4cd8c77ef7fd31e6c48003b3">io_multiplexer::registered_buffer_type</a></td></tr>
<tr class="separator:a9f6466750a7411512da502cd60d3c461"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7a2e68c2f5d49187ec3d179e40b33ea"><td class="memTemplParams" colspan="2"><a id="ac7a2e68c2f5d49187ec3d179e40b33ea"></a>
template&lt;class T &gt; </td></tr>
<tr class="memitem:ac7a2e68c2f5d49187ec3d179e40b33ea"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><b>awaitable</b> = <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1awaitable.html">io_multiplexer::awaitable</a>&lt; T &gt;</td></tr>
<tr class="separator:ac7a2e68c2f5d49187ec3d179e40b33ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a65884346740af7fb4648c79d44a750"><td class="memItemLeft" align="right" valign="top"><a id="a1a65884346740af7fb4648c79d44a750"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1fs__handle.html#a1a65884346740af7fb4648c79d44a750">unique_id_type</a> = QUICKCPPLIB_NAMESPACE::integers128::uint128</td></tr>
<tr class="memdesc:a1a65884346740af7fb4648c79d44a750"><td class="mdescLeft">&#160;</td><td class="mdescRight">The unique identifier type used by this handle. <br /></td></tr>
<tr class="separator:a1a65884346740af7fb4648c79d44a750"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab82a83c5e44659e01a2218f0af41bde7"><td class="memItemLeft" align="right" valign="top"><a id="ab82a83c5e44659e01a2218f0af41bde7"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1fs__handle.html#ab82a83c5e44659e01a2218f0af41bde7">unique_id_type_hasher</a> = QUICKCPPLIB_NAMESPACE::integers128::uint128_hasher</td></tr>
<tr class="memdesc:ab82a83c5e44659e01a2218f0af41bde7"><td class="mdescLeft">&#160;</td><td class="mdescRight">A hasher for the unique identifier type used by this handle. <br /></td></tr>
<tr class="separator:ab82a83c5e44659e01a2218f0af41bde7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8f754fdbf69fbb9b989c5aab409f2cb2"><td class="memItemLeft" align="right" valign="top"><a id="a8f754fdbf69fbb9b989c5aab409f2cb2"></a>
constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#a8f754fdbf69fbb9b989c5aab409f2cb2">file_handle</a> ()</td></tr>
<tr class="memdesc:a8f754fdbf69fbb9b989c5aab409f2cb2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:a8f754fdbf69fbb9b989c5aab409f2cb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a543ed77b286d9838f4e8ac0263089da1"><td class="memItemLeft" align="right" valign="top"><a id="a543ed77b286d9838f4e8ac0263089da1"></a>
constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#a543ed77b286d9838f4e8ac0263089da1">file_handle</a> (<a class="el" href="structllfio__v2__xxx_1_1native__handle__type.html">native_handle_type</a> h, dev_t devid, ino_t inode, <a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a> <a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a>, flag <a class="el" href="classllfio__v2__xxx_1_1handle.html#a013936bc1254b1a47567fe29698d1b1c">flags</a>, <a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html">io_multiplexer</a> *ctx)</td></tr>
<tr class="memdesc:a543ed77b286d9838f4e8ac0263089da1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a handle from a supplied native handle. <br /></td></tr>
<tr class="separator:a543ed77b286d9838f4e8ac0263089da1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52c20d224c94e42ecb290fe9ad3bd5a2"><td class="memItemLeft" align="right" valign="top"><a id="a52c20d224c94e42ecb290fe9ad3bd5a2"></a>
constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#a52c20d224c94e42ecb290fe9ad3bd5a2">file_handle</a> (<a class="el" href="structllfio__v2__xxx_1_1native__handle__type.html">native_handle_type</a> h, <a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a> <a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a>, flag <a class="el" href="classllfio__v2__xxx_1_1handle.html#a013936bc1254b1a47567fe29698d1b1c">flags</a>, <a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html">io_multiplexer</a> *ctx)</td></tr>
<tr class="memdesc:a52c20d224c94e42ecb290fe9ad3bd5a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a handle from a supplied native handle. <br /></td></tr>
<tr class="separator:a52c20d224c94e42ecb290fe9ad3bd5a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cb49b1828d6a0cf4a7ea6668c38ca42"><td class="memItemLeft" align="right" valign="top"><a id="a9cb49b1828d6a0cf4a7ea6668c38ca42"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#a9cb49b1828d6a0cf4a7ea6668c38ca42">file_handle</a> (const <a class="el" href="classllfio__v2__xxx_1_1file__handle.html">file_handle</a> &amp;)=delete</td></tr>
<tr class="memdesc:a9cb49b1828d6a0cf4a7ea6668c38ca42"><td class="mdescLeft">&#160;</td><td class="mdescRight">No copy construction (use clone()) <br /></td></tr>
<tr class="separator:a9cb49b1828d6a0cf4a7ea6668c38ca42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bba96c52082c14bf168e12f4e9e2fa6"><td class="memItemLeft" align="right" valign="top"><a id="a3bba96c52082c14bf168e12f4e9e2fa6"></a>
<a class="el" href="classllfio__v2__xxx_1_1file__handle.html">file_handle</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#a3bba96c52082c14bf168e12f4e9e2fa6">operator=</a> (const <a class="el" href="classllfio__v2__xxx_1_1file__handle.html">file_handle</a> &amp;)=delete</td></tr>
<tr class="memdesc:a3bba96c52082c14bf168e12f4e9e2fa6"><td class="mdescLeft">&#160;</td><td class="mdescRight">No copy assignment. <br /></td></tr>
<tr class="separator:a3bba96c52082c14bf168e12f4e9e2fa6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72f5dad56f8bb4544d36637892f74ae7"><td class="memItemLeft" align="right" valign="top"><a id="a72f5dad56f8bb4544d36637892f74ae7"></a>
constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#a72f5dad56f8bb4544d36637892f74ae7">file_handle</a> (<a class="el" href="classllfio__v2__xxx_1_1file__handle.html">file_handle</a> &amp;&amp;o) noexcept</td></tr>
<tr class="memdesc:a72f5dad56f8bb4544d36637892f74ae7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implicit move construction of file_handle permitted. <br /></td></tr>
<tr class="separator:a72f5dad56f8bb4544d36637892f74ae7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd1ae18344268c59c0fad54fecdf8746"><td class="memItemLeft" align="right" valign="top"><a id="afd1ae18344268c59c0fad54fecdf8746"></a>
constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#afd1ae18344268c59c0fad54fecdf8746">file_handle</a> (<a class="el" href="classllfio__v2__xxx_1_1handle.html">handle</a> &amp;&amp;o, dev_t devid, ino_t inode, <a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html">io_multiplexer</a> *ctx) noexcept</td></tr>
<tr class="memdesc:afd1ae18344268c59c0fad54fecdf8746"><td class="mdescLeft">&#160;</td><td class="mdescRight">Explicit conversion from handle permitted. <br /></td></tr>
<tr class="separator:afd1ae18344268c59c0fad54fecdf8746"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac37c3543feb868914199515ddd9d445e"><td class="memItemLeft" align="right" valign="top"><a id="ac37c3543feb868914199515ddd9d445e"></a>
constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#ac37c3543feb868914199515ddd9d445e">file_handle</a> (<a class="el" href="classllfio__v2__xxx_1_1handle.html">handle</a> &amp;&amp;o, <a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html">io_multiplexer</a> *ctx) noexcept</td></tr>
<tr class="memdesc:ac37c3543feb868914199515ddd9d445e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Explicit conversion from handle permitted. <br /></td></tr>
<tr class="separator:ac37c3543feb868914199515ddd9d445e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01c1f1c49426ec9193a83e3e4488ad42"><td class="memItemLeft" align="right" valign="top"><a id="a01c1f1c49426ec9193a83e3e4488ad42"></a>
constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#a01c1f1c49426ec9193a83e3e4488ad42">file_handle</a> (<a class="el" href="classllfio__v2__xxx_1_1io__handle.html">io_handle</a> &amp;&amp;o, dev_t devid, ino_t inode) noexcept</td></tr>
<tr class="memdesc:a01c1f1c49426ec9193a83e3e4488ad42"><td class="mdescLeft">&#160;</td><td class="mdescRight">Explicit conversion from io_handle permitted. <br /></td></tr>
<tr class="separator:a01c1f1c49426ec9193a83e3e4488ad42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98c4d089c8d05f1a1ae934a8afbaa8fd"><td class="memItemLeft" align="right" valign="top"><a id="a98c4d089c8d05f1a1ae934a8afbaa8fd"></a>
constexpr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#a98c4d089c8d05f1a1ae934a8afbaa8fd">file_handle</a> (<a class="el" href="classllfio__v2__xxx_1_1io__handle.html">io_handle</a> &amp;&amp;o) noexcept</td></tr>
<tr class="memdesc:a98c4d089c8d05f1a1ae934a8afbaa8fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Explicit conversion from io_handle permitted. <br /></td></tr>
<tr class="separator:a98c4d089c8d05f1a1ae934a8afbaa8fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcfaf6aee5ab7a92e7c5bb5aed0fff9a"><td class="memItemLeft" align="right" valign="top"><a id="abcfaf6aee5ab7a92e7c5bb5aed0fff9a"></a>
<a class="el" href="classllfio__v2__xxx_1_1file__handle.html">file_handle</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#abcfaf6aee5ab7a92e7c5bb5aed0fff9a">operator=</a> (<a class="el" href="classllfio__v2__xxx_1_1file__handle.html">file_handle</a> &amp;&amp;o) noexcept</td></tr>
<tr class="memdesc:abcfaf6aee5ab7a92e7c5bb5aed0fff9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move assignment of file_handle permitted. <br /></td></tr>
<tr class="separator:abcfaf6aee5ab7a92e7c5bb5aed0fff9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0cfbde678b809518ca005251ec64808"><td class="memItemLeft" align="right" valign="top"><a id="ad0cfbde678b809518ca005251ec64808"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#ad0cfbde678b809518ca005251ec64808">swap</a> (<a class="el" href="classllfio__v2__xxx_1_1file__handle.html">file_handle</a> &amp;o) noexcept</td></tr>
<tr class="memdesc:ad0cfbde678b809518ca005251ec64808"><td class="mdescLeft">&#160;</td><td class="mdescRight">Swap with another instance. <br /></td></tr>
<tr class="separator:ad0cfbde678b809518ca005251ec64808"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a665ddf5aa47e1d8a94580570a0457c8a"><td class="memItemLeft" align="right" valign="top"><a id="a665ddf5aa47e1d8a94580570a0457c8a"></a>
virtual result&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#a665ddf5aa47e1d8a94580570a0457c8a">close</a> () noexcept override</td></tr>
<tr class="memdesc:a665ddf5aa47e1d8a94580570a0457c8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Immediately close the native handle type managed by this handle. <br /></td></tr>
<tr class="separator:a665ddf5aa47e1d8a94580570a0457c8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa276caa8542cca700a2574459395ff60"><td class="memItemLeft" align="right" valign="top">result&lt; <a class="el" href="classllfio__v2__xxx_1_1file__handle.html">file_handle</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#aa276caa8542cca700a2574459395ff60">reopen</a> (<a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dca">mode</a> mode_=mode::unchanged, <a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a> caching_=caching::unchanged, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=std::chrono::seconds(30)) const noexcept</td></tr>
<tr class="separator:aa276caa8542cca700a2574459395ff60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8040aa44a0482224dbf5e9fc3131b19"><td class="memTemplParams" colspan="2"><a id="aa8040aa44a0482224dbf5e9fc3131b19"></a>
template&lt;class... Args&gt; </td></tr>
<tr class="memitem:aa8040aa44a0482224dbf5e9fc3131b19"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_reopen</b> (Args &amp;&amp;... args) noexcept</td></tr>
<tr class="separator:aa8040aa44a0482224dbf5e9fc3131b19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d89a5de0941ba6d1193a5b87cde28af"><td class="memTemplParams" colspan="2"><a id="a5d89a5de0941ba6d1193a5b87cde28af"></a>
template&lt;class... Args, class Rep , class Period &gt; </td></tr>
<tr class="memitem:a5d89a5de0941ba6d1193a5b87cde28af"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_reopen_for</b> (Args &amp;&amp;... args, const std::chrono::duration&lt; Rep, Period &gt; &amp;duration) noexcept</td></tr>
<tr class="separator:a5d89a5de0941ba6d1193a5b87cde28af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af620e483e3963be3b09794da4040db12"><td class="memTemplParams" colspan="2"><a id="af620e483e3963be3b09794da4040db12"></a>
template&lt;class... Args, class Clock , class Duration &gt; </td></tr>
<tr class="memitem:af620e483e3963be3b09794da4040db12"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_reopen_until</b> (Args &amp;&amp;... args, const std::chrono::time_point&lt; Clock, Duration &gt; &amp;timeout) noexcept</td></tr>
<tr class="separator:af620e483e3963be3b09794da4040db12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7991af58283025b80a7225866643f0b4"><td class="memItemLeft" align="right" valign="top">virtual result&lt; extent_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#a7991af58283025b80a7225866643f0b4">maximum_extent</a> () const noexcept</td></tr>
<tr class="separator:a7991af58283025b80a7225866643f0b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2be41c54aff8578e2d0afbf4ae73049f"><td class="memItemLeft" align="right" valign="top">virtual result&lt; extent_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#a2be41c54aff8578e2d0afbf4ae73049f">truncate</a> (extent_type newsize) noexcept</td></tr>
<tr class="separator:a2be41c54aff8578e2d0afbf4ae73049f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e30345e9aa4fa263b009efe2c97466a"><td class="memItemLeft" align="right" valign="top">virtual result&lt; std::vector&lt; <a class="el" href="structllfio__v2__xxx_1_1file__handle_1_1extent__pair.html">extent_pair</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#a6e30345e9aa4fa263b009efe2c97466a">extents</a> () const noexcept</td></tr>
<tr class="memdesc:a6e30345e9aa4fa263b009efe2c97466a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a list of currently valid extents for this open file. WARNING: racy!  <a href="classllfio__v2__xxx_1_1file__handle.html#a6e30345e9aa4fa263b009efe2c97466a">More...</a><br /></td></tr>
<tr class="separator:a6e30345e9aa4fa263b009efe2c97466a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2aea4109a6ac4323b8cb4ea435ec9c94"><td class="memItemLeft" align="right" valign="top">virtual result&lt; <a class="el" href="structllfio__v2__xxx_1_1file__handle_1_1extent__pair.html">extent_pair</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#a2aea4109a6ac4323b8cb4ea435ec9c94">clone_extents_to</a> (<a class="el" href="structllfio__v2__xxx_1_1file__handle_1_1extent__pair.html">extent_pair</a> extent, <a class="el" href="classllfio__v2__xxx_1_1io__handle.html">io_handle</a> &amp;dest, io_handle::extent_type destoffset, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d={}, bool force_copy_now=false, bool emulate_if_unsupported=true) noexcept</td></tr>
<tr class="memdesc:a2aea4109a6ac4323b8cb4ea435ec9c94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clones the extents referred to by <code>extent</code> to <code>dest</code> at <code>destoffset</code>. This is how you ought to copy file content, including within the same file. This is fundamentally a racy call with respect to concurrent modification of the files.  <a href="classllfio__v2__xxx_1_1file__handle.html#a2aea4109a6ac4323b8cb4ea435ec9c94">More...</a><br /></td></tr>
<tr class="separator:a2aea4109a6ac4323b8cb4ea435ec9c94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c7af63bc67f6eacd7097e4cae3f85ce"><td class="memItemLeft" align="right" valign="top"><a id="a4c7af63bc67f6eacd7097e4cae3f85ce"></a>
result&lt; <a class="el" href="structllfio__v2__xxx_1_1file__handle_1_1extent__pair.html">extent_pair</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#a4c7af63bc67f6eacd7097e4cae3f85ce">clone_extents_to</a> (<a class="el" href="classllfio__v2__xxx_1_1io__handle.html">io_handle</a> &amp;dest, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d={}, bool force_copy_now=false, bool emulate_if_unsupported=true) noexcept</td></tr>
<tr class="memdesc:a4c7af63bc67f6eacd7097e4cae3f85ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. <br /></td></tr>
<tr class="separator:a4c7af63bc67f6eacd7097e4cae3f85ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a299dd43c5d218b0253e0ce9760c955ab"><td class="memItemLeft" align="right" valign="top">virtual result&lt; extent_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#a299dd43c5d218b0253e0ce9760c955ab">zero</a> (<a class="el" href="structllfio__v2__xxx_1_1file__handle_1_1extent__pair.html">extent_pair</a> extent, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="memdesc:a299dd43c5d218b0253e0ce9760c955ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Efficiently zero, and possibly deallocate, data on storage.  <a href="classllfio__v2__xxx_1_1file__handle.html#a299dd43c5d218b0253e0ce9760c955ab">More...</a><br /></td></tr>
<tr class="separator:a299dd43c5d218b0253e0ce9760c955ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a800b4d046b9648a9a4a69a7797548ee4"><td class="memItemLeft" align="right" valign="top"><a id="a800b4d046b9648a9a4a69a7797548ee4"></a>
result&lt; extent_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#a800b4d046b9648a9a4a69a7797548ee4">zero</a> (extent_type offset, extent_type bytes, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="memdesc:a800b4d046b9648a9a4a69a7797548ee4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. <br /></td></tr>
<tr class="separator:a800b4d046b9648a9a4a69a7797548ee4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afab4b38fba3730a36ba0b2f849dc6777"><td class="memTemplParams" colspan="2"><a id="afab4b38fba3730a36ba0b2f849dc6777"></a>
template&lt;class... Args&gt; </td></tr>
<tr class="memitem:afab4b38fba3730a36ba0b2f849dc6777"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_zero</b> (Args &amp;&amp;... args) noexcept</td></tr>
<tr class="separator:afab4b38fba3730a36ba0b2f849dc6777"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab4e4f580aee606c0796c6352f1f327a"><td class="memTemplParams" colspan="2"><a id="aab4e4f580aee606c0796c6352f1f327a"></a>
template&lt;class... Args, class Rep , class Period &gt; </td></tr>
<tr class="memitem:aab4e4f580aee606c0796c6352f1f327a"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_zero_for</b> (Args &amp;&amp;... args, const std::chrono::duration&lt; Rep, Period &gt; &amp;duration) noexcept</td></tr>
<tr class="separator:aab4e4f580aee606c0796c6352f1f327a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e64021bc1f570d8c0c8b9c413981289"><td class="memTemplParams" colspan="2"><a id="a9e64021bc1f570d8c0c8b9c413981289"></a>
template&lt;class... Args, class Clock , class Duration &gt; </td></tr>
<tr class="memitem:a9e64021bc1f570d8c0c8b9c413981289"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_zero_until</b> (Args &amp;&amp;... args, const std::chrono::time_point&lt; Clock, Duration &gt; &amp;timeout) noexcept</td></tr>
<tr class="separator:a9e64021bc1f570d8c0c8b9c413981289"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a469019e3bbcd7b37499b8604af713b40"><td class="memItemLeft" align="right" valign="top">virtual result&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1lockable__io__handle.html#a469019e3bbcd7b37499b8604af713b40">lock_file</a> () noexcept</td></tr>
<tr class="memdesc:a469019e3bbcd7b37499b8604af713b40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Locks the inode referred to by the open handle for exclusive access.  <a href="classllfio__v2__xxx_1_1lockable__io__handle.html#a469019e3bbcd7b37499b8604af713b40">More...</a><br /></td></tr>
<tr class="separator:a469019e3bbcd7b37499b8604af713b40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e6a25ad5d9efd45e69d22e70a754a9e"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1lockable__io__handle.html#a6e6a25ad5d9efd45e69d22e70a754a9e">try_lock_file</a> () noexcept</td></tr>
<tr class="memdesc:a6e6a25ad5d9efd45e69d22e70a754a9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tries to lock the inode referred to by the open handle for exclusive access, returning <code>false</code> if lock is currently unavailable.  <a href="classllfio__v2__xxx_1_1lockable__io__handle.html#a6e6a25ad5d9efd45e69d22e70a754a9e">More...</a><br /></td></tr>
<tr class="separator:a6e6a25ad5d9efd45e69d22e70a754a9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a561ef83b4fe400b59c9d92444913c180"><td class="memItemLeft" align="right" valign="top"><a id="a561ef83b4fe400b59c9d92444913c180"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1lockable__io__handle.html#a561ef83b4fe400b59c9d92444913c180">unlock_file</a> () noexcept</td></tr>
<tr class="memdesc:a561ef83b4fe400b59c9d92444913c180"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unlocks a previously acquired exclusive lock. <br /></td></tr>
<tr class="separator:a561ef83b4fe400b59c9d92444913c180"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa24a432125e5b51b13f21d9b74fa4721"><td class="memItemLeft" align="right" valign="top">virtual result&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1lockable__io__handle.html#aa24a432125e5b51b13f21d9b74fa4721">lock_file_shared</a> () noexcept</td></tr>
<tr class="memdesc:aa24a432125e5b51b13f21d9b74fa4721"><td class="mdescLeft">&#160;</td><td class="mdescRight">Locks the inode referred to by the open handle for shared access.  <a href="classllfio__v2__xxx_1_1lockable__io__handle.html#aa24a432125e5b51b13f21d9b74fa4721">More...</a><br /></td></tr>
<tr class="separator:aa24a432125e5b51b13f21d9b74fa4721"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8e3d809cb954d99e228ee756bac1c64"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1lockable__io__handle.html#ad8e3d809cb954d99e228ee756bac1c64">try_lock_file_shared</a> () noexcept</td></tr>
<tr class="memdesc:ad8e3d809cb954d99e228ee756bac1c64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tries to lock the inode referred to by the open handle for shared access, returning <code>false</code> if lock is currently unavailable.  <a href="classllfio__v2__xxx_1_1lockable__io__handle.html#ad8e3d809cb954d99e228ee756bac1c64">More...</a><br /></td></tr>
<tr class="separator:ad8e3d809cb954d99e228ee756bac1c64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc5ba16c0377a56b7e1a66a9c6d0a703"><td class="memItemLeft" align="right" valign="top"><a id="afc5ba16c0377a56b7e1a66a9c6d0a703"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1lockable__io__handle.html#afc5ba16c0377a56b7e1a66a9c6d0a703">unlock_file_shared</a> () noexcept</td></tr>
<tr class="memdesc:afc5ba16c0377a56b7e1a66a9c6d0a703"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unlocks a previously acquired shared lock. <br /></td></tr>
<tr class="separator:afc5ba16c0377a56b7e1a66a9c6d0a703"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ece4f0a48e1e67debc438a9742a1f4c"><td class="memItemLeft" align="right" valign="top">virtual result&lt; <a class="el" href="classllfio__v2__xxx_1_1lockable__io__handle_1_1extent__guard.html">extent_guard</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1lockable__io__handle.html#a0ece4f0a48e1e67debc438a9742a1f4c">lock_file_range</a> (extent_type offset, extent_type bytes, <a class="el" href="namespacellfio__v2__xxx.html#ae79486289ff1386b26d1ce60bb797d33">lock_kind</a> kind, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="memdesc:a0ece4f0a48e1e67debc438a9742a1f4c"><td class="mdescLeft">&#160;</td><td class="mdescRight">EXTENSION: Tries to lock the range of bytes specified for shared or exclusive access. Note that this may, or MAY NOT, observe whole file locks placed with <code>lock()</code>, <code>lock_shared()</code> etc.  <a href="classllfio__v2__xxx_1_1lockable__io__handle.html#a0ece4f0a48e1e67debc438a9742a1f4c">More...</a><br /></td></tr>
<tr class="separator:a0ece4f0a48e1e67debc438a9742a1f4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9582b139a2b92ff13708a4de547c5605"><td class="memItemLeft" align="right" valign="top"><a id="a9582b139a2b92ff13708a4de547c5605"></a>
result&lt; <a class="el" href="classllfio__v2__xxx_1_1lockable__io__handle_1_1extent__guard.html">extent_guard</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>lock_file_range</b> (<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; buffers_type &gt; reqs, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="separator:a9582b139a2b92ff13708a4de547c5605"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa87c3e22aa12084cb48fb29c5b10c78d"><td class="memItemLeft" align="right" valign="top"><a id="aa87c3e22aa12084cb48fb29c5b10c78d"></a>
result&lt; <a class="el" href="classllfio__v2__xxx_1_1lockable__io__handle_1_1extent__guard.html">extent_guard</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>lock_file_range</b> (<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; const_buffers_type &gt; reqs, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="separator:aa87c3e22aa12084cb48fb29c5b10c78d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a393d056936c3f262aff76ed406858a95"><td class="memTemplParams" colspan="2"><a id="a393d056936c3f262aff76ed406858a95"></a>
template&lt;class... Args&gt; </td></tr>
<tr class="memitem:a393d056936c3f262aff76ed406858a95"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_lock_file_range</b> (Args &amp;&amp;... args) noexcept</td></tr>
<tr class="separator:a393d056936c3f262aff76ed406858a95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3b16c444914200a7e5ab3cd0ba2d002"><td class="memTemplParams" colspan="2"><a id="ae3b16c444914200a7e5ab3cd0ba2d002"></a>
template&lt;class... Args, class Rep , class Period &gt; </td></tr>
<tr class="memitem:ae3b16c444914200a7e5ab3cd0ba2d002"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_lock_file_range_for</b> (Args &amp;&amp;... args, const std::chrono::duration&lt; Rep, Period &gt; &amp;duration) noexcept</td></tr>
<tr class="separator:ae3b16c444914200a7e5ab3cd0ba2d002"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7727a23852d90bd5ea4e47044d20cfee"><td class="memTemplParams" colspan="2"><a id="a7727a23852d90bd5ea4e47044d20cfee"></a>
template&lt;class... Args, class Clock , class Duration &gt; </td></tr>
<tr class="memitem:a7727a23852d90bd5ea4e47044d20cfee"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_lock_file_range_until</b> (Args &amp;&amp;... args, const std::chrono::time_point&lt; Clock, Duration &gt; &amp;timeout) noexcept</td></tr>
<tr class="separator:a7727a23852d90bd5ea4e47044d20cfee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5572735777dfdd3f7c5c1f6dc8260287"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1lockable__io__handle.html#a5572735777dfdd3f7c5c1f6dc8260287">unlock_file_range</a> (extent_type offset, extent_type bytes) noexcept</td></tr>
<tr class="memdesc:a5572735777dfdd3f7c5c1f6dc8260287"><td class="mdescLeft">&#160;</td><td class="mdescRight">EXTENSION: Unlocks a byte range previously locked.  <a href="classllfio__v2__xxx_1_1lockable__io__handle.html#a5572735777dfdd3f7c5c1f6dc8260287">More...</a><br /></td></tr>
<tr class="separator:a5572735777dfdd3f7c5c1f6dc8260287"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac44b02d62334e55b99a5668d67ad484e"><td class="memItemLeft" align="right" valign="top"><a id="ac44b02d62334e55b99a5668d67ad484e"></a>
<a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html">io_multiplexer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1io__handle.html#ac44b02d62334e55b99a5668d67ad484e">multiplexer</a> () const noexcept</td></tr>
<tr class="memdesc:ac44b02d62334e55b99a5668d67ad484e"><td class="mdescLeft">&#160;</td><td class="mdescRight">The i/o multiplexer this handle will use to multiplex i/o. If this returns null, then this handle has not been registered with an i/o multiplexer yet. <br /></td></tr>
<tr class="separator:ac44b02d62334e55b99a5668d67ad484e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a281467f83f70f2e12aaedf5847fd818c"><td class="memItemLeft" align="right" valign="top">virtual result&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1io__handle.html#a281467f83f70f2e12aaedf5847fd818c">set_multiplexer</a> (<a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html">io_multiplexer</a> *c=<a class="el" href="namespacellfio__v2__xxx_1_1this__thread.html#afd6a1f179a8f8027f6c051badadf2707">this_thread::multiplexer</a>()) noexcept</td></tr>
<tr class="memdesc:a281467f83f70f2e12aaedf5847fd818c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the i/o multiplexer this handle will use to implement <code>read()</code>, <code>write()</code> and <code>barrier()</code>.  <a href="classllfio__v2__xxx_1_1io__handle.html#a281467f83f70f2e12aaedf5847fd818c">More...</a><br /></td></tr>
<tr class="separator:a281467f83f70f2e12aaedf5847fd818c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3465a87f2c732cd6465cd3a832a26f0"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1io__handle.html#aa3465a87f2c732cd6465cd3a832a26f0">max_buffers</a> () const noexcept</td></tr>
<tr class="memdesc:aa3465a87f2c732cd6465cd3a832a26f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <em>maximum</em> number of buffers which a single read or write syscall can (atomically) process at a time for this specific open handle. On POSIX, this is known as <code>IOV_MAX</code>. Preferentially uses any i/o multiplexer set over the virtually overridable per-class implementation.  <a href="classllfio__v2__xxx_1_1io__handle.html#aa3465a87f2c732cd6465cd3a832a26f0">More...</a><br /></td></tr>
<tr class="separator:aa3465a87f2c732cd6465cd3a832a26f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97ac1b43da39d9935919ac848ee3e8d3"><td class="memItemLeft" align="right" valign="top">result&lt; registered_buffer_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1io__handle.html#a97ac1b43da39d9935919ac848ee3e8d3">allocate_registered_buffer</a> (size_t &amp;bytes) noexcept</td></tr>
<tr class="memdesc:a97ac1b43da39d9935919ac848ee3e8d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Request the allocation of a new registered i/o buffer with the system suitable for maximum performance i/o, preferentially using any i/o multiplexer set over the virtually overridable per-class implementation.  <a href="classllfio__v2__xxx_1_1io__handle.html#a97ac1b43da39d9935919ac848ee3e8d3">More...</a><br /></td></tr>
<tr class="separator:a97ac1b43da39d9935919ac848ee3e8d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae04ada27942187f03b59044cd1328f49"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; buffers_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1io__handle.html#ae04ada27942187f03b59044cd1328f49">read</a> (<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; buffers_type &gt; reqs, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="memdesc:ae04ada27942187f03b59044cd1328f49"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read data from the open handle, preferentially using any i/o multiplexer set over the virtually overridable per-class implementation.  <a href="classllfio__v2__xxx_1_1io__handle.html#ae04ada27942187f03b59044cd1328f49">More...</a><br /></td></tr>
<tr class="separator:ae04ada27942187f03b59044cd1328f49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a411cebe2880393c7c61caa6a168b128b"><td class="memItemLeft" align="right" valign="top"><a id="a411cebe2880393c7c61caa6a168b128b"></a>
<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; buffers_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>read</b> (registered_buffer_type base, <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; buffers_type &gt; reqs, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="separator:a411cebe2880393c7c61caa6a168b128b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac0369e8025ae1320e7d607922f61b48"><td class="memItemLeft" align="right" valign="top"><a id="aac0369e8025ae1320e7d607922f61b48"></a>
<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; size_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>read</b> (extent_type offset, std::initializer_list&lt; <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1buffer__type.html">buffer_type</a> &gt; lst, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="separator:aac0369e8025ae1320e7d607922f61b48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a785c739c96c277a7a75135ee3b77548a"><td class="memTemplParams" colspan="2"><a id="a785c739c96c277a7a75135ee3b77548a"></a>
template&lt;class... Args&gt; </td></tr>
<tr class="memitem:a785c739c96c277a7a75135ee3b77548a"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_read</b> (Args &amp;&amp;... args) noexcept</td></tr>
<tr class="separator:a785c739c96c277a7a75135ee3b77548a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab955e35f67130e85f13048f984b3b5ac"><td class="memTemplParams" colspan="2"><a id="ab955e35f67130e85f13048f984b3b5ac"></a>
template&lt;class... Args, class Rep , class Period &gt; </td></tr>
<tr class="memitem:ab955e35f67130e85f13048f984b3b5ac"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_read_for</b> (Args &amp;&amp;... args, const std::chrono::duration&lt; Rep, Period &gt; &amp;duration) noexcept</td></tr>
<tr class="separator:ab955e35f67130e85f13048f984b3b5ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c3fa301d864c8863c4b464a10aec4e0"><td class="memTemplParams" colspan="2"><a id="a1c3fa301d864c8863c4b464a10aec4e0"></a>
template&lt;class... Args, class Clock , class Duration &gt; </td></tr>
<tr class="memitem:a1c3fa301d864c8863c4b464a10aec4e0"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_read_until</b> (Args &amp;&amp;... args, const std::chrono::time_point&lt; Clock, Duration &gt; &amp;timeout) noexcept</td></tr>
<tr class="separator:a1c3fa301d864c8863c4b464a10aec4e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7848ef15e774eacec7e4446a8c365a3d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; const_buffers_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1io__handle.html#a7848ef15e774eacec7e4446a8c365a3d">write</a> (<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; const_buffers_type &gt; reqs, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="memdesc:a7848ef15e774eacec7e4446a8c365a3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write data to the open handle, preferentially using any i/o multiplexer set over the virtually overridable per-class implementation.  <a href="classllfio__v2__xxx_1_1io__handle.html#a7848ef15e774eacec7e4446a8c365a3d">More...</a><br /></td></tr>
<tr class="separator:a7848ef15e774eacec7e4446a8c365a3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31ccfbd651d91a4f00e5192e0614cf6c"><td class="memItemLeft" align="right" valign="top"><a id="a31ccfbd651d91a4f00e5192e0614cf6c"></a>
<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; const_buffers_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>write</b> (registered_buffer_type base, <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; const_buffers_type &gt; reqs, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="separator:a31ccfbd651d91a4f00e5192e0614cf6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab500784aa806dc7c2d90028d2f72de57"><td class="memItemLeft" align="right" valign="top"><a id="ab500784aa806dc7c2d90028d2f72de57"></a>
<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; size_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>write</b> (extent_type offset, std::initializer_list&lt; <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1const__buffer__type.html">const_buffer_type</a> &gt; lst, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="separator:ab500784aa806dc7c2d90028d2f72de57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee4c492a592eb15a5bf48e2d3deeec3a"><td class="memTemplParams" colspan="2"><a id="aee4c492a592eb15a5bf48e2d3deeec3a"></a>
template&lt;class... Args&gt; </td></tr>
<tr class="memitem:aee4c492a592eb15a5bf48e2d3deeec3a"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_write</b> (Args &amp;&amp;... args) noexcept</td></tr>
<tr class="separator:aee4c492a592eb15a5bf48e2d3deeec3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac93b34407da6944f70000b1dd656c8e7"><td class="memTemplParams" colspan="2"><a id="ac93b34407da6944f70000b1dd656c8e7"></a>
template&lt;class... Args, class Rep , class Period &gt; </td></tr>
<tr class="memitem:ac93b34407da6944f70000b1dd656c8e7"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_write_for</b> (Args &amp;&amp;... args, const std::chrono::duration&lt; Rep, Period &gt; &amp;duration) noexcept</td></tr>
<tr class="separator:ac93b34407da6944f70000b1dd656c8e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8f08b7afac7020b8901eb9d353a817e"><td class="memTemplParams" colspan="2"><a id="ae8f08b7afac7020b8901eb9d353a817e"></a>
template&lt;class... Args, class Clock , class Duration &gt; </td></tr>
<tr class="memitem:ae8f08b7afac7020b8901eb9d353a817e"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_write_until</b> (Args &amp;&amp;... args, const std::chrono::time_point&lt; Clock, Duration &gt; &amp;timeout) noexcept</td></tr>
<tr class="separator:ae8f08b7afac7020b8901eb9d353a817e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a1044eeb6ab16939e4669bbeb071b32"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; const_buffers_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1io__handle.html#a6a1044eeb6ab16939e4669bbeb071b32">barrier</a> (<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; const_buffers_type &gt; reqs=<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; const_buffers_type &gt;(), <a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html#ace3fed6888ea1b5b6f1f641e2cf7cd26">barrier_kind</a> kind=<a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html#ace3fed6888ea1b5b6f1f641e2cf7cd26a2f6648dac37731813bb84ae9b24bdfdb">barrier_kind::nowait_data_only</a>, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="memdesc:a6a1044eeb6ab16939e4669bbeb071b32"><td class="mdescLeft">&#160;</td><td class="mdescRight">Issue a write reordering barrier such that writes preceding the barrier will reach storage before writes after this barrier, preferentially using any i/o multiplexer set over the virtually overridable per-class implementation.  <a href="classllfio__v2__xxx_1_1io__handle.html#a6a1044eeb6ab16939e4669bbeb071b32">More...</a><br /></td></tr>
<tr class="separator:a6a1044eeb6ab16939e4669bbeb071b32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa38e8a96767e65a11b7b12b08a4b44ca"><td class="memItemLeft" align="right" valign="top"><a id="aa38e8a96767e65a11b7b12b08a4b44ca"></a>
<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; const_buffers_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>barrier</b> (<a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html#ace3fed6888ea1b5b6f1f641e2cf7cd26">barrier_kind</a> kind, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="separator:aa38e8a96767e65a11b7b12b08a4b44ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89cb37107cf0ec70dc99ae1f944c1b1b"><td class="memTemplParams" colspan="2"><a id="a89cb37107cf0ec70dc99ae1f944c1b1b"></a>
template&lt;class... Args&gt; </td></tr>
<tr class="memitem:a89cb37107cf0ec70dc99ae1f944c1b1b"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_barrier</b> (Args &amp;&amp;... args) noexcept</td></tr>
<tr class="separator:a89cb37107cf0ec70dc99ae1f944c1b1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad021935ffbf5f753f123ac5af723184f"><td class="memTemplParams" colspan="2"><a id="ad021935ffbf5f753f123ac5af723184f"></a>
template&lt;class... Args, class Rep , class Period &gt; </td></tr>
<tr class="memitem:ad021935ffbf5f753f123ac5af723184f"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_barrier_for</b> (Args &amp;&amp;... args, const std::chrono::duration&lt; Rep, Period &gt; &amp;duration) noexcept</td></tr>
<tr class="separator:ad021935ffbf5f753f123ac5af723184f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2427c3fc217848e107af94fb0f1590ba"><td class="memTemplParams" colspan="2"><a id="a2427c3fc217848e107af94fb0f1590ba"></a>
template&lt;class... Args, class Clock , class Duration &gt; </td></tr>
<tr class="memitem:a2427c3fc217848e107af94fb0f1590ba"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_barrier_until</b> (Args &amp;&amp;... args, const std::chrono::time_point&lt; Clock, Duration &gt; &amp;timeout) noexcept</td></tr>
<tr class="separator:a2427c3fc217848e107af94fb0f1590ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30eca672189ffc408a4e01b064e8b78e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1awaitable.html">awaitable</a>&lt; <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; buffers_type &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1io__handle.html#a30eca672189ffc408a4e01b064e8b78e">co_read</a> (<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; buffers_type &gt; reqs, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="memdesc:a30eca672189ffc408a4e01b064e8b78e"><td class="mdescLeft">&#160;</td><td class="mdescRight">A coroutinised equivalent to <code>.read()</code> which suspends the coroutine until the i/o finishes. <b>Blocks execution</b> i.e is equivalent to <code>.read()</code> if no i/o multiplexer has been set on this handle!  <a href="classllfio__v2__xxx_1_1io__handle.html#a30eca672189ffc408a4e01b064e8b78e">More...</a><br /></td></tr>
<tr class="separator:a30eca672189ffc408a4e01b064e8b78e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a883a0fd7de8f10fd8b67a8aee415d735"><td class="memItemLeft" align="right" valign="top"><a id="a883a0fd7de8f10fd8b67a8aee415d735"></a>
<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1awaitable.html">awaitable</a>&lt; <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; buffers_type &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>co_read</b> (registered_buffer_type base, <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; buffers_type &gt; reqs, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="separator:a883a0fd7de8f10fd8b67a8aee415d735"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a608634d1664d2a43fbdc2e18cae464ee"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1awaitable.html">awaitable</a>&lt; <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; const_buffers_type &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1io__handle.html#a608634d1664d2a43fbdc2e18cae464ee">co_write</a> (<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; const_buffers_type &gt; reqs, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="memdesc:a608634d1664d2a43fbdc2e18cae464ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">A coroutinised equivalent to <code>.write()</code> which suspends the coroutine until the i/o finishes. <b>Blocks execution</b> i.e is equivalent to <code>.write()</code> if no i/o multiplexer has been set on this handle!  <a href="classllfio__v2__xxx_1_1io__handle.html#a608634d1664d2a43fbdc2e18cae464ee">More...</a><br /></td></tr>
<tr class="separator:a608634d1664d2a43fbdc2e18cae464ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1847e17496a22bc107f509c3cdfecdd"><td class="memItemLeft" align="right" valign="top"><a id="aa1847e17496a22bc107f509c3cdfecdd"></a>
<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1awaitable.html">awaitable</a>&lt; <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; const_buffers_type &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>co_write</b> (registered_buffer_type base, <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; const_buffers_type &gt; reqs, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="separator:aa1847e17496a22bc107f509c3cdfecdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a359f780e7468407b38978cc5eb7b2555"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1awaitable.html">awaitable</a>&lt; <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; const_buffers_type &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1io__handle.html#a359f780e7468407b38978cc5eb7b2555">co_barrier</a> (<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; const_buffers_type &gt; reqs=<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; const_buffers_type &gt;(), <a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html#ace3fed6888ea1b5b6f1f641e2cf7cd26">barrier_kind</a> kind=<a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html#ace3fed6888ea1b5b6f1f641e2cf7cd26a2f6648dac37731813bb84ae9b24bdfdb">barrier_kind::nowait_data_only</a>, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="memdesc:a359f780e7468407b38978cc5eb7b2555"><td class="mdescLeft">&#160;</td><td class="mdescRight">A coroutinised equivalent to <code>.barrier()</code> which suspends the coroutine until the i/o finishes. <b>Blocks execution</b> i.e is equivalent to <code>.barrier()</code> if no i/o multiplexer has been set on this handle!  <a href="classllfio__v2__xxx_1_1io__handle.html#a359f780e7468407b38978cc5eb7b2555">More...</a><br /></td></tr>
<tr class="separator:a359f780e7468407b38978cc5eb7b2555"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5222904f116c9beb0515a4a5aa850bf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#ac5222904f116c9beb0515a4a5aa850bf">QUICKCPPLIB_BITFIELD_BEGIN</a> (flag)</td></tr>
<tr class="memdesc:ac5222904f116c9beb0515a4a5aa850bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bitwise flags which can be specified.  <a href="classllfio__v2__xxx_1_1handle.html#ac5222904f116c9beb0515a4a5aa850bf">More...</a><br /></td></tr>
<tr class="separator:ac5222904f116c9beb0515a4a5aa850bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7e9bedf8c7a4c4a79a644a6e1857ee4"><td class="memItemLeft" align="right" valign="top"><a id="aa7e9bedf8c7a4c4a79a644a6e1857ee4"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>QUICKCPPLIB_BITFIELD_END</b> (flag)</td></tr>
<tr class="separator:aa7e9bedf8c7a4c4a79a644a6e1857ee4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4716696b8700953889006251e0678aa4"><td class="memItemLeft" align="right" valign="top"><a id="a4716696b8700953889006251e0678aa4"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a4716696b8700953889006251e0678aa4">swap</a> (<a class="el" href="classllfio__v2__xxx_1_1handle.html">handle</a> &amp;o) noexcept</td></tr>
<tr class="memdesc:a4716696b8700953889006251e0678aa4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Swap with another instance. <br /></td></tr>
<tr class="separator:a4716696b8700953889006251e0678aa4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00a85eec5a41f7edb2c574d40cf04535"><td class="memItemLeft" align="right" valign="top">virtual result&lt; path_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a00a85eec5a41f7edb2c574d40cf04535">current_path</a> () const noexcept</td></tr>
<tr class="separator:a00a85eec5a41f7edb2c574d40cf04535"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeea4389189021b94dde6d8f2c3ccc5b3"><td class="memItemLeft" align="right" valign="top">result&lt; <a class="el" href="classllfio__v2__xxx_1_1handle.html">handle</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#aeea4389189021b94dde6d8f2c3ccc5b3">clone</a> () const noexcept</td></tr>
<tr class="separator:aeea4389189021b94dde6d8f2c3ccc5b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d273e38c061eb11f5012f624e9a202e"><td class="memItemLeft" align="right" valign="top"><a id="a1d273e38c061eb11f5012f624e9a202e"></a>
virtual <a class="el" href="structllfio__v2__xxx_1_1native__handle__type.html">native_handle_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a1d273e38c061eb11f5012f624e9a202e">release</a> () noexcept</td></tr>
<tr class="memdesc:a1d273e38c061eb11f5012f624e9a202e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Release the native handle type managed by this handle. <br /></td></tr>
<tr class="separator:a1d273e38c061eb11f5012f624e9a202e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c7f6a0a8ffdea22763c75a9319ba0c2"><td class="memItemLeft" align="right" valign="top"><a id="a5c7f6a0a8ffdea22763c75a9319ba0c2"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a5c7f6a0a8ffdea22763c75a9319ba0c2">is_valid</a> () const noexcept</td></tr>
<tr class="memdesc:a5c7f6a0a8ffdea22763c75a9319ba0c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if the handle is valid (and usually open) <br /></td></tr>
<tr class="separator:a5c7f6a0a8ffdea22763c75a9319ba0c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97e0884c27147b4929be98961b8e9254"><td class="memItemLeft" align="right" valign="top"><a id="a97e0884c27147b4929be98961b8e9254"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a97e0884c27147b4929be98961b8e9254">is_readable</a> () const noexcept</td></tr>
<tr class="memdesc:a97e0884c27147b4929be98961b8e9254"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if the handle is readable. <br /></td></tr>
<tr class="separator:a97e0884c27147b4929be98961b8e9254"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a211fee447a47bdeb5424a2a5ae1de852"><td class="memItemLeft" align="right" valign="top"><a id="a211fee447a47bdeb5424a2a5ae1de852"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a211fee447a47bdeb5424a2a5ae1de852">is_writable</a> () const noexcept</td></tr>
<tr class="memdesc:a211fee447a47bdeb5424a2a5ae1de852"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if the handle is writable. <br /></td></tr>
<tr class="separator:a211fee447a47bdeb5424a2a5ae1de852"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3aa3dc009822c0e437f317864534feb"><td class="memItemLeft" align="right" valign="top"><a id="ac3aa3dc009822c0e437f317864534feb"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#ac3aa3dc009822c0e437f317864534feb">is_append_only</a> () const noexcept</td></tr>
<tr class="memdesc:ac3aa3dc009822c0e437f317864534feb"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if the handle is append only. <br /></td></tr>
<tr class="separator:ac3aa3dc009822c0e437f317864534feb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a101620e9fff0c0e8c346af0e9de58b6a"><td class="memItemLeft" align="right" valign="top">virtual result&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a101620e9fff0c0e8c346af0e9de58b6a">set_append_only</a> (bool enable) noexcept</td></tr>
<tr class="memdesc:a101620e9fff0c0e8c346af0e9de58b6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">EXTENSION: Changes whether this handle is append only or not.  <a href="classllfio__v2__xxx_1_1handle.html#a101620e9fff0c0e8c346af0e9de58b6a">More...</a><br /></td></tr>
<tr class="separator:a101620e9fff0c0e8c346af0e9de58b6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade2416b9154d1e56937c99cd514324f8"><td class="memItemLeft" align="right" valign="top"><a id="ade2416b9154d1e56937c99cd514324f8"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#ade2416b9154d1e56937c99cd514324f8">is_multiplexable</a> () const noexcept</td></tr>
<tr class="memdesc:ade2416b9154d1e56937c99cd514324f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if multiplexable. <br /></td></tr>
<tr class="separator:ade2416b9154d1e56937c99cd514324f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a501aa723172f6852e82738b0969278ae"><td class="memItemLeft" align="right" valign="top"><a id="a501aa723172f6852e82738b0969278ae"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a501aa723172f6852e82738b0969278ae">is_nonblocking</a> () const noexcept</td></tr>
<tr class="memdesc:a501aa723172f6852e82738b0969278ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if nonblocking. <br /></td></tr>
<tr class="separator:a501aa723172f6852e82738b0969278ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a695ce0ed1606d540cfa452790ea71632"><td class="memItemLeft" align="right" valign="top"><a id="a695ce0ed1606d540cfa452790ea71632"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a695ce0ed1606d540cfa452790ea71632">is_seekable</a> () const noexcept</td></tr>
<tr class="memdesc:a695ce0ed1606d540cfa452790ea71632"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if seekable. <br /></td></tr>
<tr class="separator:a695ce0ed1606d540cfa452790ea71632"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a751e912d8dab755ea969a418c1d544eb"><td class="memItemLeft" align="right" valign="top"><a id="a751e912d8dab755ea969a418c1d544eb"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a751e912d8dab755ea969a418c1d544eb">requires_aligned_io</a> () const noexcept</td></tr>
<tr class="memdesc:a751e912d8dab755ea969a418c1d544eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if requires aligned i/o. <br /></td></tr>
<tr class="separator:a751e912d8dab755ea969a418c1d544eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7751fbb4b1aff527f469412ea33116ed"><td class="memItemLeft" align="right" valign="top"><a id="a7751fbb4b1aff527f469412ea33116ed"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a7751fbb4b1aff527f469412ea33116ed">is_regular</a> () const noexcept</td></tr>
<tr class="memdesc:a7751fbb4b1aff527f469412ea33116ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a regular file or device. <br /></td></tr>
<tr class="separator:a7751fbb4b1aff527f469412ea33116ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ca48bdcd6d6bf8b41d0cebb304fe9ce"><td class="memItemLeft" align="right" valign="top"><a id="a4ca48bdcd6d6bf8b41d0cebb304fe9ce"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a4ca48bdcd6d6bf8b41d0cebb304fe9ce">is_directory</a> () const noexcept</td></tr>
<tr class="memdesc:a4ca48bdcd6d6bf8b41d0cebb304fe9ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a directory. <br /></td></tr>
<tr class="separator:a4ca48bdcd6d6bf8b41d0cebb304fe9ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0d5de068f71628e9491c5669f89dca0"><td class="memItemLeft" align="right" valign="top"><a id="ae0d5de068f71628e9491c5669f89dca0"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#ae0d5de068f71628e9491c5669f89dca0">is_symlink</a> () const noexcept</td></tr>
<tr class="memdesc:ae0d5de068f71628e9491c5669f89dca0"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a symlink. <br /></td></tr>
<tr class="separator:ae0d5de068f71628e9491c5669f89dca0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac52242425f6e71c3fddcb6cdbe2c3b4e"><td class="memItemLeft" align="right" valign="top"><a id="ac52242425f6e71c3fddcb6cdbe2c3b4e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#ac52242425f6e71c3fddcb6cdbe2c3b4e">is_pipe</a> () const noexcept</td></tr>
<tr class="memdesc:ac52242425f6e71c3fddcb6cdbe2c3b4e"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a pipe. <br /></td></tr>
<tr class="separator:ac52242425f6e71c3fddcb6cdbe2c3b4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9280ab1e6f2a65bc73ee0cba5a8deea"><td class="memItemLeft" align="right" valign="top"><a id="ac9280ab1e6f2a65bc73ee0cba5a8deea"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#ac9280ab1e6f2a65bc73ee0cba5a8deea">is_socket</a> () const noexcept</td></tr>
<tr class="memdesc:ac9280ab1e6f2a65bc73ee0cba5a8deea"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a socket. <br /></td></tr>
<tr class="separator:ac9280ab1e6f2a65bc73ee0cba5a8deea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a018de0f7c177e3cff239016d14582e9a"><td class="memItemLeft" align="right" valign="top"><a id="a018de0f7c177e3cff239016d14582e9a"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a018de0f7c177e3cff239016d14582e9a">is_multiplexer</a> () const noexcept</td></tr>
<tr class="memdesc:a018de0f7c177e3cff239016d14582e9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a multiplexer like BSD kqueues, Linux epoll or Windows IOCP. <br /></td></tr>
<tr class="separator:a018de0f7c177e3cff239016d14582e9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade0d0e05b844e77f425669da87bf48bb"><td class="memItemLeft" align="right" valign="top"><a id="ade0d0e05b844e77f425669da87bf48bb"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#ade0d0e05b844e77f425669da87bf48bb">is_process</a> () const noexcept</td></tr>
<tr class="memdesc:ade0d0e05b844e77f425669da87bf48bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a process. <br /></td></tr>
<tr class="separator:ade0d0e05b844e77f425669da87bf48bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a354c9168af7759f7151a071c1e1b7b19"><td class="memItemLeft" align="right" valign="top"><a id="a354c9168af7759f7151a071c1e1b7b19"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a354c9168af7759f7151a071c1e1b7b19">is_section</a> () const noexcept</td></tr>
<tr class="memdesc:a354c9168af7759f7151a071c1e1b7b19"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a memory section. <br /></td></tr>
<tr class="separator:a354c9168af7759f7151a071c1e1b7b19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a028fbead3b3c4d4eed2da7fa51c75036"><td class="memItemLeft" align="right" valign="top"><a id="a028fbead3b3c4d4eed2da7fa51c75036"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a028fbead3b3c4d4eed2da7fa51c75036">is_allocation</a> () const noexcept</td></tr>
<tr class="memdesc:a028fbead3b3c4d4eed2da7fa51c75036"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a memory allocation. <br /></td></tr>
<tr class="separator:a028fbead3b3c4d4eed2da7fa51c75036"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90bf8668df002dac5a7d9397486b2946"><td class="memItemLeft" align="right" valign="top"><a id="a90bf8668df002dac5a7d9397486b2946"></a>
<a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a90bf8668df002dac5a7d9397486b2946">kernel_caching</a> () const noexcept</td></tr>
<tr class="memdesc:a90bf8668df002dac5a7d9397486b2946"><td class="mdescLeft">&#160;</td><td class="mdescRight">Kernel cache strategy used by this handle. <br /></td></tr>
<tr class="separator:a90bf8668df002dac5a7d9397486b2946"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7126a726b2a06e4c1eca1a94c41163ff"><td class="memItemLeft" align="right" valign="top"><a id="a7126a726b2a06e4c1eca1a94c41163ff"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a7126a726b2a06e4c1eca1a94c41163ff">are_reads_from_cache</a> () const noexcept</td></tr>
<tr class="memdesc:a7126a726b2a06e4c1eca1a94c41163ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if the handle uses the kernel page cache for reads. <br /></td></tr>
<tr class="separator:a7126a726b2a06e4c1eca1a94c41163ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8036792f332459064172d7b0cfaee3cf"><td class="memItemLeft" align="right" valign="top"><a id="a8036792f332459064172d7b0cfaee3cf"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a8036792f332459064172d7b0cfaee3cf">are_writes_durable</a> () const noexcept</td></tr>
<tr class="memdesc:a8036792f332459064172d7b0cfaee3cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if writes are safely on storage on completion. <br /></td></tr>
<tr class="separator:a8036792f332459064172d7b0cfaee3cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a2a5896f5e373fa032cdae1c1fff2c1"><td class="memItemLeft" align="right" valign="top"><a id="a0a2a5896f5e373fa032cdae1c1fff2c1"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a0a2a5896f5e373fa032cdae1c1fff2c1">are_safety_barriers_issued</a> () const noexcept</td></tr>
<tr class="memdesc:a0a2a5896f5e373fa032cdae1c1fff2c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if issuing safety fsyncs is on. <br /></td></tr>
<tr class="separator:a0a2a5896f5e373fa032cdae1c1fff2c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a013936bc1254b1a47567fe29698d1b1c"><td class="memItemLeft" align="right" valign="top"><a id="a013936bc1254b1a47567fe29698d1b1c"></a>
flag&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a013936bc1254b1a47567fe29698d1b1c">flags</a> () const noexcept</td></tr>
<tr class="memdesc:a013936bc1254b1a47567fe29698d1b1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">The flags this handle was opened with. <br /></td></tr>
<tr class="separator:a013936bc1254b1a47567fe29698d1b1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a942b0d276c9f20fe41baab679b88fe72"><td class="memItemLeft" align="right" valign="top"><a id="a942b0d276c9f20fe41baab679b88fe72"></a>
<a class="el" href="structllfio__v2__xxx_1_1native__handle__type.html">native_handle_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a942b0d276c9f20fe41baab679b88fe72">native_handle</a> () const noexcept</td></tr>
<tr class="memdesc:a942b0d276c9f20fe41baab679b88fe72"><td class="mdescLeft">&#160;</td><td class="mdescRight">The native handle used by this handle. <br /></td></tr>
<tr class="separator:a942b0d276c9f20fe41baab679b88fe72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac24ed4cdb96690d7da95cd17b0f3d090"><td class="memItemLeft" align="right" valign="top"><a id="ac24ed4cdb96690d7da95cd17b0f3d090"></a>
dev_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1fs__handle.html#ac24ed4cdb96690d7da95cd17b0f3d090">st_dev</a> () const noexcept</td></tr>
<tr class="memdesc:ac24ed4cdb96690d7da95cd17b0f3d090"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unless <code>flag::disable_safety_unlinks</code> is set, the device id of the file when opened. <br /></td></tr>
<tr class="separator:ac24ed4cdb96690d7da95cd17b0f3d090"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad6465d30ee438b860ccc59c0e0fc4dc"><td class="memItemLeft" align="right" valign="top"><a id="aad6465d30ee438b860ccc59c0e0fc4dc"></a>
ino_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1fs__handle.html#aad6465d30ee438b860ccc59c0e0fc4dc">st_ino</a> () const noexcept</td></tr>
<tr class="memdesc:aad6465d30ee438b860ccc59c0e0fc4dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unless <code>flag::disable_safety_unlinks</code> is set, the inode of the file when opened. When combined with st_dev(), forms a unique identifer on this system. <br /></td></tr>
<tr class="separator:aad6465d30ee438b860ccc59c0e0fc4dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9793fe40564fda2437783488bd51b9f1"><td class="memItemLeft" align="right" valign="top"><a id="a9793fe40564fda2437783488bd51b9f1"></a>
<a class="el" href="classllfio__v2__xxx_1_1fs__handle.html#a1a65884346740af7fb4648c79d44a750">unique_id_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1fs__handle.html#a9793fe40564fda2437783488bd51b9f1">unique_id</a> () const noexcept</td></tr>
<tr class="memdesc:a9793fe40564fda2437783488bd51b9f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">A unique identifier for this handle across the entire system. Can be used in hash tables etc. <br /></td></tr>
<tr class="separator:a9793fe40564fda2437783488bd51b9f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a865caad2f7f4bdf12fb74aabfe3c5ff5"><td class="memItemLeft" align="right" valign="top">virtual result&lt; <a class="el" href="classllfio__v2__xxx_1_1path__handle.html">path_handle</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1fs__handle.html#a865caad2f7f4bdf12fb74aabfe3c5ff5">parent_path_handle</a> (<a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=std::chrono::seconds(30)) const noexcept</td></tr>
<tr class="separator:a865caad2f7f4bdf12fb74aabfe3c5ff5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1eeaf9d77a1279b4f0d3062de509f77f"><td class="memTemplParams" colspan="2"><a id="a1eeaf9d77a1279b4f0d3062de509f77f"></a>
template&lt;class... Args&gt; </td></tr>
<tr class="memitem:a1eeaf9d77a1279b4f0d3062de509f77f"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_parent_path_handle</b> (Args &amp;&amp;... args) noexcept</td></tr>
<tr class="separator:a1eeaf9d77a1279b4f0d3062de509f77f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41ea4bd2d5a66fbde4cdbfe463166a4f"><td class="memTemplParams" colspan="2"><a id="a41ea4bd2d5a66fbde4cdbfe463166a4f"></a>
template&lt;class... Args, class Rep , class Period &gt; </td></tr>
<tr class="memitem:a41ea4bd2d5a66fbde4cdbfe463166a4f"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_parent_path_handle_for</b> (Args &amp;&amp;... args, const std::chrono::duration&lt; Rep, Period &gt; &amp;duration) noexcept</td></tr>
<tr class="separator:a41ea4bd2d5a66fbde4cdbfe463166a4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbb1fe8c7901382307d84848fdc0afcb"><td class="memTemplParams" colspan="2"><a id="acbb1fe8c7901382307d84848fdc0afcb"></a>
template&lt;class... Args, class Clock , class Duration &gt; </td></tr>
<tr class="memitem:acbb1fe8c7901382307d84848fdc0afcb"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_parent_path_handle_until</b> (Args &amp;&amp;... args, const std::chrono::time_point&lt; Clock, Duration &gt; &amp;timeout) noexcept</td></tr>
<tr class="separator:acbb1fe8c7901382307d84848fdc0afcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8700edc9ecd4dd35d5aad7c65dd0eca2"><td class="memItemLeft" align="right" valign="top">virtual result&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1fs__handle.html#a8700edc9ecd4dd35d5aad7c65dd0eca2">relink</a> (const <a class="el" href="classllfio__v2__xxx_1_1path__handle.html">path_handle</a> &amp;base, <a class="el" href="classllfio__v2__xxx_1_1path__view.html">path_view_type</a> <a class="el" href="namespacellfio__v2__xxx.html#a49f7bb77eb38fbe1280019225b66b78b">path</a>, bool atomic_replace=true, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=std::chrono::seconds(30)) noexcept</td></tr>
<tr class="separator:a8700edc9ecd4dd35d5aad7c65dd0eca2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f5f9892f6652359f2330bf6d9b89e17"><td class="memTemplParams" colspan="2"><a id="a7f5f9892f6652359f2330bf6d9b89e17"></a>
template&lt;class... Args&gt; </td></tr>
<tr class="memitem:a7f5f9892f6652359f2330bf6d9b89e17"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_relink</b> (Args &amp;&amp;... args) noexcept</td></tr>
<tr class="separator:a7f5f9892f6652359f2330bf6d9b89e17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5565cd5f2fcbb9472b2a00795cc0bcc"><td class="memTemplParams" colspan="2"><a id="af5565cd5f2fcbb9472b2a00795cc0bcc"></a>
template&lt;class... Args, class Rep , class Period &gt; </td></tr>
<tr class="memitem:af5565cd5f2fcbb9472b2a00795cc0bcc"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_relink_for</b> (Args &amp;&amp;... args, const std::chrono::duration&lt; Rep, Period &gt; &amp;duration) noexcept</td></tr>
<tr class="separator:af5565cd5f2fcbb9472b2a00795cc0bcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fc4e2ade67dfb9140007cc31f4b6b20"><td class="memTemplParams" colspan="2"><a id="a1fc4e2ade67dfb9140007cc31f4b6b20"></a>
template&lt;class... Args, class Clock , class Duration &gt; </td></tr>
<tr class="memitem:a1fc4e2ade67dfb9140007cc31f4b6b20"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_relink_until</b> (Args &amp;&amp;... args, const std::chrono::time_point&lt; Clock, Duration &gt; &amp;timeout) noexcept</td></tr>
<tr class="separator:a1fc4e2ade67dfb9140007cc31f4b6b20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7770c6b7c478d74654f25b8c1a1585c"><td class="memItemLeft" align="right" valign="top">virtual result&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1fs__handle.html#aa7770c6b7c478d74654f25b8c1a1585c">link</a> (const <a class="el" href="classllfio__v2__xxx_1_1path__handle.html">path_handle</a> &amp;base, <a class="el" href="classllfio__v2__xxx_1_1path__view.html">path_view_type</a> <a class="el" href="namespacellfio__v2__xxx.html#a49f7bb77eb38fbe1280019225b66b78b">path</a>, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=std::chrono::seconds(30)) noexcept</td></tr>
<tr class="separator:aa7770c6b7c478d74654f25b8c1a1585c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad43b812385c7fc8aae9e59838a1411bb"><td class="memTemplParams" colspan="2"><a id="ad43b812385c7fc8aae9e59838a1411bb"></a>
template&lt;class... Args&gt; </td></tr>
<tr class="memitem:ad43b812385c7fc8aae9e59838a1411bb"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_link</b> (Args &amp;&amp;... args) noexcept</td></tr>
<tr class="separator:ad43b812385c7fc8aae9e59838a1411bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65d73e0e89bac484ce40427b58dcfe53"><td class="memTemplParams" colspan="2"><a id="a65d73e0e89bac484ce40427b58dcfe53"></a>
template&lt;class... Args, class Rep , class Period &gt; </td></tr>
<tr class="memitem:a65d73e0e89bac484ce40427b58dcfe53"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_link_for</b> (Args &amp;&amp;... args, const std::chrono::duration&lt; Rep, Period &gt; &amp;duration) noexcept</td></tr>
<tr class="separator:a65d73e0e89bac484ce40427b58dcfe53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2703814c7599d2081ca10763bbeba4a"><td class="memTemplParams" colspan="2"><a id="ad2703814c7599d2081ca10763bbeba4a"></a>
template&lt;class... Args, class Clock , class Duration &gt; </td></tr>
<tr class="memitem:ad2703814c7599d2081ca10763bbeba4a"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_link_until</b> (Args &amp;&amp;... args, const std::chrono::time_point&lt; Clock, Duration &gt; &amp;timeout) noexcept</td></tr>
<tr class="separator:ad2703814c7599d2081ca10763bbeba4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dd7923bb65456af4da41ebe7cb84982"><td class="memItemLeft" align="right" valign="top">virtual result&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1fs__handle.html#a1dd7923bb65456af4da41ebe7cb84982">unlink</a> (<a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d=std::chrono::seconds(30)) noexcept</td></tr>
<tr class="separator:a1dd7923bb65456af4da41ebe7cb84982"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f77a249baf4e0c5de2172669a7724d7"><td class="memTemplParams" colspan="2"><a id="a7f77a249baf4e0c5de2172669a7724d7"></a>
template&lt;class... Args&gt; </td></tr>
<tr class="memitem:a7f77a249baf4e0c5de2172669a7724d7"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_unlink</b> (Args &amp;&amp;... args) noexcept</td></tr>
<tr class="separator:a7f77a249baf4e0c5de2172669a7724d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a209de025a2d3e202a61c50b52d43f2af"><td class="memTemplParams" colspan="2"><a id="a209de025a2d3e202a61c50b52d43f2af"></a>
template&lt;class... Args, class Rep , class Period &gt; </td></tr>
<tr class="memitem:a209de025a2d3e202a61c50b52d43f2af"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_unlink_for</b> (Args &amp;&amp;... args, const std::chrono::duration&lt; Rep, Period &gt; &amp;duration) noexcept</td></tr>
<tr class="separator:a209de025a2d3e202a61c50b52d43f2af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9c4133fef23811abcb01e1faf2b19d3"><td class="memTemplParams" colspan="2"><a id="ae9c4133fef23811abcb01e1faf2b19d3"></a>
template&lt;class... Args, class Clock , class Duration &gt; </td></tr>
<tr class="memitem:ae9c4133fef23811abcb01e1faf2b19d3"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>try_unlink_until</b> (Args &amp;&amp;... args, const std::chrono::time_point&lt; Clock, Duration &gt; &amp;timeout) noexcept</td></tr>
<tr class="separator:ae9c4133fef23811abcb01e1faf2b19d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a09e6b3e9806b328a687a55e955b885a3"><td class="memItemLeft" align="right" valign="top">static result&lt; <a class="el" href="classllfio__v2__xxx_1_1file__handle.html">file_handle</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#a09e6b3e9806b328a687a55e955b885a3">file</a> (const <a class="el" href="classllfio__v2__xxx_1_1path__handle.html">path_handle</a> &amp;base, <a class="el" href="classllfio__v2__xxx_1_1path__view.html">path_view_type</a> <a class="el" href="namespacellfio__v2__xxx.html#a49f7bb77eb38fbe1280019225b66b78b">path</a>, <a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dca">mode</a> _mode=<a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dcaaecae13117d6f0584c25a9da6c8f8415e">mode::read</a>, <a class="el" href="classllfio__v2__xxx_1_1handle.html#af0b352d0f273ba6fa70c178b2c2fee42">creation</a> _creation=<a class="el" href="classllfio__v2__xxx_1_1handle.html#af0b352d0f273ba6fa70c178b2c2fee42aa200dcd6176417e93be2405188ae7cc9">creation::open_existing</a>, <a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a> _caching=<a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852aa181a603769c1f98ad927e7367c7aa51">caching::all</a>, flag <a class="el" href="classllfio__v2__xxx_1_1handle.html#a013936bc1254b1a47567fe29698d1b1c">flags</a>=flag::none) noexcept</td></tr>
<tr class="separator:a09e6b3e9806b328a687a55e955b885a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b7aa986243527fe224425f61c179709"><td class="memItemLeft" align="right" valign="top">static result&lt; <a class="el" href="classllfio__v2__xxx_1_1file__handle.html">file_handle</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#a8b7aa986243527fe224425f61c179709">uniquely_named_file</a> (const <a class="el" href="classllfio__v2__xxx_1_1path__handle.html">path_handle</a> &amp;dirpath, <a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dca">mode</a> _mode=<a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dcaaefb2a684e4afb7d55e6147fbe5a332ee">mode::write</a>, <a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a> _caching=<a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852ad5197d93c063a2b1e22d1630a39b7aef">caching::temporary</a>, flag <a class="el" href="classllfio__v2__xxx_1_1handle.html#a013936bc1254b1a47567fe29698d1b1c">flags</a>=flag::none) noexcept</td></tr>
<tr class="separator:a8b7aa986243527fe224425f61c179709"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a428114e3c8628c0621b1aa156051651c"><td class="memItemLeft" align="right" valign="top">static result&lt; <a class="el" href="classllfio__v2__xxx_1_1file__handle.html">file_handle</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#a428114e3c8628c0621b1aa156051651c">temp_file</a> (<a class="el" href="classllfio__v2__xxx_1_1path__view.html">path_view_type</a> name=<a class="el" href="classllfio__v2__xxx_1_1path__view.html">path_view_type</a>(), <a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dca">mode</a> _mode=<a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dcaaefb2a684e4afb7d55e6147fbe5a332ee">mode::write</a>, <a class="el" href="classllfio__v2__xxx_1_1handle.html#af0b352d0f273ba6fa70c178b2c2fee42">creation</a> _creation=<a class="el" href="classllfio__v2__xxx_1_1handle.html#af0b352d0f273ba6fa70c178b2c2fee42a8f0339e854eb5321306a443ce9199e1d">creation::if_needed</a>, <a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a> _caching=<a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852ad5197d93c063a2b1e22d1630a39b7aef">caching::temporary</a>, flag <a class="el" href="classllfio__v2__xxx_1_1handle.html#a013936bc1254b1a47567fe29698d1b1c">flags</a>=flag::unlink_on_first_close) noexcept</td></tr>
<tr class="separator:a428114e3c8628c0621b1aa156051651c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1eff21e1833be0c21f72477c593fadc5"><td class="memItemLeft" align="right" valign="top">static result&lt; <a class="el" href="classllfio__v2__xxx_1_1file__handle.html">file_handle</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html#a1eff21e1833be0c21f72477c593fadc5">temp_inode</a> (const <a class="el" href="classllfio__v2__xxx_1_1path__handle.html">path_handle</a> &amp;dirh=<a class="el" href="namespacellfio__v2__xxx_1_1path__discovery.html#a2dd74ea752f3f511d58ccccdcac7f4fd">path_discovery::storage_backed_temporary_files_directory</a>(), <a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dca">mode</a> _mode=<a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dcaaefb2a684e4afb7d55e6147fbe5a332ee">mode::write</a>, flag <a class="el" href="classllfio__v2__xxx_1_1handle.html#a013936bc1254b1a47567fe29698d1b1c">flags</a>=flag::none) noexcept</td></tr>
<tr class="separator:a1eff21e1833be0c21f72477c593fadc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ae5ec845b3e2c2e31c2dc3de1d276a7e3"><td class="memItemLeft" align="right" valign="top"><a id="ae5ec845b3e2c2e31c2dc3de1d276a7e3"></a>
virtual size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1io__handle.html#ae5ec845b3e2c2e31c2dc3de1d276a7e3">_do_max_buffers</a> () const noexcept</td></tr>
<tr class="memdesc:ae5ec845b3e2c2e31c2dc3de1d276a7e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">The virtualised implementation of <code>max_buffers()</code> used if no multiplexer has been set. <br /></td></tr>
<tr class="separator:ae5ec845b3e2c2e31c2dc3de1d276a7e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad17b8879c355d86174187f198b70baaa"><td class="memItemLeft" align="right" valign="top"><a id="ad17b8879c355d86174187f198b70baaa"></a>
virtual result&lt; registered_buffer_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1io__handle.html#ad17b8879c355d86174187f198b70baaa">_do_allocate_registered_buffer</a> (size_t &amp;bytes) noexcept</td></tr>
<tr class="memdesc:ad17b8879c355d86174187f198b70baaa"><td class="mdescLeft">&#160;</td><td class="mdescRight">The virtualised implementation of <code>allocate_registered_buffer()</code> used if no multiplexer has been set. <br /></td></tr>
<tr class="separator:ad17b8879c355d86174187f198b70baaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4379e3f84b913f606bb2ec6a194d4380"><td class="memItemLeft" align="right" valign="top"><a id="a4379e3f84b913f606bb2ec6a194d4380"></a>
virtual <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; buffers_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1io__handle.html#a4379e3f84b913f606bb2ec6a194d4380">_do_read</a> (<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; buffers_type &gt; reqs, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d) noexcept</td></tr>
<tr class="memdesc:a4379e3f84b913f606bb2ec6a194d4380"><td class="mdescLeft">&#160;</td><td class="mdescRight">The virtualised implementation of <code>read()</code> used if no multiplexer has been set. <br /></td></tr>
<tr class="separator:a4379e3f84b913f606bb2ec6a194d4380"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc47501ff4d4278e497758643ddb332a"><td class="memItemLeft" align="right" valign="top"><a id="adc47501ff4d4278e497758643ddb332a"></a>
virtual <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; buffers_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1io__handle.html#adc47501ff4d4278e497758643ddb332a">_do_read</a> (registered_buffer_type base, <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; buffers_type &gt; reqs, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d) noexcept</td></tr>
<tr class="memdesc:adc47501ff4d4278e497758643ddb332a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The virtualised implementation of <code>read()</code> used if no multiplexer has been set. <br /></td></tr>
<tr class="separator:adc47501ff4d4278e497758643ddb332a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2102f73a4872e8fd8bbe1c71ef82c97f"><td class="memItemLeft" align="right" valign="top"><a id="a2102f73a4872e8fd8bbe1c71ef82c97f"></a>
virtual <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; const_buffers_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1io__handle.html#a2102f73a4872e8fd8bbe1c71ef82c97f">_do_write</a> (<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; const_buffers_type &gt; reqs, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d) noexcept</td></tr>
<tr class="memdesc:a2102f73a4872e8fd8bbe1c71ef82c97f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The virtualised implementation of <code>write()</code> used if no multiplexer has been set. <br /></td></tr>
<tr class="separator:a2102f73a4872e8fd8bbe1c71ef82c97f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0611d9a49a6d5fd5ffd713ecaf4da1f"><td class="memItemLeft" align="right" valign="top"><a id="aa0611d9a49a6d5fd5ffd713ecaf4da1f"></a>
virtual <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; const_buffers_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1io__handle.html#aa0611d9a49a6d5fd5ffd713ecaf4da1f">_do_write</a> (registered_buffer_type base, <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; const_buffers_type &gt; reqs, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d) noexcept</td></tr>
<tr class="memdesc:aa0611d9a49a6d5fd5ffd713ecaf4da1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The virtualised implementation of <code>write()</code> used if no multiplexer has been set. <br /></td></tr>
<tr class="separator:aa0611d9a49a6d5fd5ffd713ecaf4da1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f1d67fa1ad7f0d0b1256b6138929d60"><td class="memItemLeft" align="right" valign="top"><a id="a0f1d67fa1ad7f0d0b1256b6138929d60"></a>
virtual <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; const_buffers_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1io__handle.html#a0f1d67fa1ad7f0d0b1256b6138929d60">_do_barrier</a> (<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; const_buffers_type &gt; reqs, <a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html#ace3fed6888ea1b5b6f1f641e2cf7cd26">barrier_kind</a> kind, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d) noexcept</td></tr>
<tr class="memdesc:a0f1d67fa1ad7f0d0b1256b6138929d60"><td class="mdescLeft">&#160;</td><td class="mdescRight">The virtualised implementation of <code>barrier()</code> used if no multiplexer has been set. <br /></td></tr>
<tr class="separator:a0f1d67fa1ad7f0d0b1256b6138929d60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a684c961072904a3a7c83198aa595bb0d"><td class="memItemLeft" align="right" valign="top"><a id="a684c961072904a3a7c83198aa595bb0d"></a>
<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; buffers_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>_do_multiplexer_read</b> (registered_buffer_type &amp;&amp;base, <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; buffers_type &gt; reqs, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d) noexcept</td></tr>
<tr class="separator:a684c961072904a3a7c83198aa595bb0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea936231e3b8113562b9923bb660d64a"><td class="memItemLeft" align="right" valign="top"><a id="aea936231e3b8113562b9923bb660d64a"></a>
<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; const_buffers_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>_do_multiplexer_write</b> (registered_buffer_type &amp;&amp;base, <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; const_buffers_type &gt; reqs, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d) noexcept</td></tr>
<tr class="separator:aea936231e3b8113562b9923bb660d64a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ad2a78d5e63c1f12f34e496e2cc999e"><td class="memItemLeft" align="right" valign="top"><a id="a6ad2a78d5e63c1f12f34e496e2cc999e"></a>
<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt; const_buffers_type &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>_do_multiplexer_barrier</b> (registered_buffer_type &amp;&amp;base, <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; const_buffers_type &gt; reqs, <a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html#ace3fed6888ea1b5b6f1f641e2cf7cd26">barrier_kind</a> kind, <a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a> d) noexcept</td></tr>
<tr class="separator:a6ad2a78d5e63c1f12f34e496e2cc999e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc2b24484565bcb0cf654adf2f732f7e"><td class="memItemLeft" align="right" valign="top"><a id="adc2b24484565bcb0cf654adf2f732f7e"></a>
result&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classllfio__v2__xxx_1_1fs__handle.html#adc2b24484565bcb0cf654adf2f732f7e">_fetch_inode</a> () const noexcept</td></tr>
<tr class="memdesc:adc2b24484565bcb0cf654adf2f732f7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fill in _devid and _inode from the handle via fstat() <br /></td></tr>
<tr class="separator:adc2b24484565bcb0cf654adf2f732f7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-methods"></a>
Static Protected Member Functions</h2></td></tr>
<tr class="memitem:a1dd1abc0bd1fa1f10782301dddf802b7"><td class="memItemLeft" align="right" valign="top"><a id="a1dd1abc0bd1fa1f10782301dddf802b7"></a>
static constexpr void&#160;</td><td class="memItemRight" valign="bottom"><b>_set_caching</b> (<a class="el" href="structllfio__v2__xxx_1_1native__handle__type.html">native_handle_type</a> &amp;nativeh, <a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a> <a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a>) noexcept</td></tr>
<tr class="separator:a1dd1abc0bd1fa1f10782301dddf802b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:aa0f48150ffdbd275ac910ecb70be282c"><td class="memItemLeft" align="right" valign="top"><a id="aa0f48150ffdbd275ac910ecb70be282c"></a>
<a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html">io_multiplexer</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>_ctx</b> {nullptr}</td></tr>
<tr class="separator:aa0f48150ffdbd275ac910ecb70be282c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d6911771ac743fd9d64063c12429deb"><td class="memItemLeft" align="right" valign="top"><a id="a1d6911771ac743fd9d64063c12429deb"></a>
<a class="el" href="structllfio__v2__xxx_1_1native__handle__type.html">native_handle_type</a>&#160;</td><td class="memItemRight" valign="bottom"><b>_v</b></td></tr>
<tr class="separator:a1d6911771ac743fd9d64063c12429deb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad758cf1eb2e0b4c63583eab05e7f6820"><td class="memItemLeft" align="right" valign="top"><a id="ad758cf1eb2e0b4c63583eab05e7f6820"></a>
flag&#160;</td><td class="memItemRight" valign="bottom"><b>_flags</b> {flag::none}</td></tr>
<tr class="separator:ad758cf1eb2e0b4c63583eab05e7f6820"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d20a64cf182162a49962ed25d2126b3"><td class="memItemLeft" align="right" valign="top"><a id="a4d20a64cf182162a49962ed25d2126b3"></a>
dev_t&#160;</td><td class="memItemRight" valign="bottom"><b>_devid</b> {0}</td></tr>
<tr class="separator:a4d20a64cf182162a49962ed25d2126b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8454764db3cd47e65ec7853b9cb0b3fa"><td class="memItemLeft" align="right" valign="top"><a id="a8454764db3cd47e65ec7853b9cb0b3fa"></a>
ino_t&#160;</td><td class="memItemRight" valign="bottom"><b>_inode</b> {0}</td></tr>
<tr class="separator:a8454764db3cd47e65ec7853b9cb0b3fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A handle to a regular file or device. </p>
<table class="doxtable">
<tr>
<th></th><th>Cost of opening</th><th>Cost of i/o</th><th>Concurrency and Atomicity</th><th>Other remarks </th></tr>
<tr>
<td><code>file_handle</code></td><td>Least</td><td>Syscall</td><td>POSIX guarantees (usually)</td><td>Least gotcha </td></tr>
<tr>
<td><code>mapped_file_handle</code></td><td>Most</td><td>Least</td><td>None</td><td>Cannot be used with uncached i/o </td></tr>
</table>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a97ac1b43da39d9935919ac848ee3e8d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97ac1b43da39d9935919ac848ee3e8d3">&#9670;&nbsp;</a></span>allocate_registered_buffer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">result&lt;registered_buffer_type&gt; llfio_v2_xxx::io_handle::allocate_registered_buffer </td>
          <td>(</td>
          <td class="paramtype">size_t &amp;&#160;</td>
          <td class="paramname"><em>bytes</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Request the allocation of a new registered i/o buffer with the system suitable for maximum performance i/o, preferentially using any i/o multiplexer set over the virtually overridable per-class implementation. </p>
<dl class="section return"><dt>Returns</dt><dd>A shared pointer to the i/o buffer. Note that the pointer returned is not the resource under management, using shared ptr's aliasing feature. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bytes</td><td>The size of the i/o buffer requested. This may be rounded (considerably) upwards, you should always use the value returned.</td></tr>
  </table>
  </dd>
</dl>
<p>Some i/o multiplexer implementations have the ability to allocate i/o buffers in special memory shared between the i/o hardware and user space processes. Using registered i/o buffers can entirely eliminate all kernel transitions and memory copying during i/o, and can saturate very high end hardware from a single kernel thread.</p>
<p>If no multiplexer is set, the default implementation uses <code>map_handle</code> to allocate raw memory pages from the OS kernel. If the requested buffer size is a multiple of one of the larger page sizes from <code>utils::page_sizes()</code>, an attempt to satisfy the request using the larger page size will be attempted first. </p>
<div class="fragment"><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;  {</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;    <span class="keywordflow">if</span>(_ctx == <span class="keyword">nullptr</span>)</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;    {</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="classllfio__v2__xxx_1_1io__handle.html#ad17b8879c355d86174187f198b70baaa">_do_allocate_registered_buffer</a>(bytes);</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;    }</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;    <span class="keywordflow">return</span> _ctx-&gt;<a class="code" href="classllfio__v2__xxx_1_1io__multiplexer.html#a3e79fd19de80e77c274b93d0d01b2f10">do_io_handle_allocate_registered_buffer</a>(<span class="keyword">this</span>, bytes);</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;  }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a6a1044eeb6ab16939e4669bbeb071b32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a1044eeb6ab16939e4669bbeb071b32">&#9670;&nbsp;</a></span>barrier()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt;const_buffers_type&gt; llfio_v2_xxx::io_handle::barrier </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; const_buffers_type &gt;&#160;</td>
          <td class="paramname"><em>reqs</em> = <code><a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt;const_buffers_type&gt;()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html#ace3fed6888ea1b5b6f1f641e2cf7cd26">barrier_kind</a>&#160;</td>
          <td class="paramname"><em>kind</em> = <code><a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html#ace3fed6888ea1b5b6f1f641e2cf7cd26a2f6648dac37731813bb84ae9b24bdfdb">barrier_kind::nowait_data_only</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Issue a write reordering barrier such that writes preceding the barrier will reach storage before writes after this barrier, preferentially using any i/o multiplexer set over the virtually overridable per-class implementation. </p>
<dl class="section warning"><dt>Warning</dt><dd><b>Assume that this call is a no-op</b>. It is not reliably implemented in many common use cases, for example if your code is running inside a LXC container, or if the user has mounted the filing system with non-default options. Instead open the handle with <code>caching::reads</code> which means that all writes form a strict sequential order not completing until acknowledged by the storage device. Filing system can and do use different algorithms to give much better performance with <code>caching::reads</code>, some (e.g. ZFS) spectacularly better.</dd>
<dd>
Let me repeat again: consider this call to be a <b>hint</b> to poke the kernel with a stick to go start to do some work sooner rather than later. <b>It may be ignored entirely</b>.</dd>
<dd>
For portability, you can only assume that barriers write order for a single handle instance. You cannot assume that barriers write order across multiple handles to the same inode, or across processes.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The buffers barriered, which may not be the buffers input. The size of each scatter-gather buffer is updated with the number of bytes of that buffer barriered. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">reqs</td><td>A scatter-gather and offset request for what range to barrier. May be ignored on some platforms which always write barrier the entire file. Supplying a default initialised reqs write barriers the entire file. </td></tr>
    <tr><td class="paramname">kind</td><td>Which kind of write reordering barrier to perform. </td></tr>
    <tr><td class="paramname">d</td><td>An optional deadline by which the i/o must complete, else it is cancelled. Note function may return significantly after this deadline if the i/o takes long to cancel. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Errors returnable\n Any of the values POSIX fdatasync() or Windows NtFlushBuffersFileEx() can return.</dt><dd></dd></dl>
<dl class="section user"><dt>Memory Allocations\n None.</dt><dd></dd></dl>
<div class="fragment"><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;  {</div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;    <span class="keywordflow">return</span> (_ctx == <span class="keyword">nullptr</span>) ? <a class="code" href="classllfio__v2__xxx_1_1io__handle.html#a0f1d67fa1ad7f0d0b1256b6138929d60">_do_barrier</a>(reqs, kind, d) : _do_multiplexer_barrier({}, std::move(reqs), kind, d);</div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;  }</div>
</div><!-- fragment -->
</div>
</div>
<a id="aeea4389189021b94dde6d8f2c3ccc5b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeea4389189021b94dde6d8f2c3ccc5b3">&#9670;&nbsp;</a></span>clone()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">result&lt;<a class="el" href="classllfio__v2__xxx_1_1handle.html">handle</a>&gt; llfio_v2_xxx::handle::clone </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Clone this handle (copy constructor is disabled to avoid accidental copying)</p>
<dl class="section user"><dt>Errors returnable\n Any of the values POSIX dup() or DuplicateHandle() can return.</dt><dd></dd></dl>

</div>
</div>
<a id="a2aea4109a6ac4323b8cb4ea435ec9c94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2aea4109a6ac4323b8cb4ea435ec9c94">&#9670;&nbsp;</a></span>clone_extents_to()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual result&lt;<a class="el" href="structllfio__v2__xxx_1_1file__handle_1_1extent__pair.html">extent_pair</a>&gt; llfio_v2_xxx::file_handle::clone_extents_to </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1file__handle_1_1extent__pair.html">extent_pair</a>&#160;</td>
          <td class="paramname"><em>extent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1io__handle.html">io_handle</a> &amp;&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">io_handle::extent_type&#160;</td>
          <td class="paramname"><em>destoffset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code>{}</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>force_copy_now</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>emulate_if_unsupported</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clones the extents referred to by <code>extent</code> to <code>dest</code> at <code>destoffset</code>. This is how you ought to copy file content, including within the same file. This is fundamentally a racy call with respect to concurrent modification of the files. </p>
<p>Some of the filesystems on the major operating systems implement copy-on-write extent reference counting, and thus can very cheaply link a "copy" of extents in one file into another file (at the time of writing - Linux: XFS, btrfs, ocfs2, smbfs; Mac OS: APFS; Windows: ReFS, CIFS). Upon first write into an extent, only then is a new copy formed for the specific extents being modified. Note that extent cloning is usually only possible in cluster sized amounts, so if the portion you clone is not so aligned, new extents will be allocated for the spill into non-aligned portions. Obviously, cloning an entire file in a single shot does not have that problem.</p>
<p>Networked filing systems typically can also implement remote extent copying, such that extents can be copied between files entirely upon the remote server, and avoiding the copy going over the network. This is usually far more efficient.</p>
<p>This implementation first enumerates the valid extents for the region requested, and only clones extents which are reported as valid. It then iterates the platform specific syscall to cause the extents to be cloned in <code>utils::page_allocator&lt;T&gt;</code> sized chunks (i.e. the next large page greater or equal to 1Mb). Generally speaking, if the dedicated syscalls fail, the implementation falls back to a user space emulation, unless <code>emulate_if_unsupported</code> is false.</p>
<p>If the region being cloned does not exist in the source file, the region is truncated to what is available. If the destination file is not big enough to receive the cloned region, it is extended. If the clone is occurring within the same inode, you should ensure that the regions do not overlap, as cloning regions which overlap has platform-specific semantics. If they do overlap, you should always set <code>force_copy_now</code> for portable code.</p>
<dl class="section note"><dt>Note</dt><dd>The current implementation does not permit overlapping clones within the same inode to differ by less than <code>utils::page_allocator&lt;T&gt;</code> sized chunks. It will fail with an error code comparing equal to <code>errc::invalid_parameter</code>.</dd></dl>
<p>If you really want the copy to happen now, and not later via copy-on-write, set <code>force_copy_now</code>. Note that this forces <code>emulate_if_unsupported</code> to true.</p>
<p>If <code>dest</code> is not a <code>file_handle</code>, <code>sendfile()</code> is used and the destination offset and gaps in the source valid extents are ignored. </p>

</div>
</div>
<a id="a359f780e7468407b38978cc5eb7b2555"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a359f780e7468407b38978cc5eb7b2555">&#9670;&nbsp;</a></span>co_barrier()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1awaitable.html">awaitable</a>&lt;<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt;const_buffers_type&gt; &gt; llfio_v2_xxx::io_handle::co_barrier </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; const_buffers_type &gt;&#160;</td>
          <td class="paramname"><em>reqs</em> = <code><a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt;const_buffers_type&gt;()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html#ace3fed6888ea1b5b6f1f641e2cf7cd26">barrier_kind</a>&#160;</td>
          <td class="paramname"><em>kind</em> = <code><a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html#ace3fed6888ea1b5b6f1f641e2cf7cd26a2f6648dac37731813bb84ae9b24bdfdb">barrier_kind::nowait_data_only</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A coroutinised equivalent to <code>.barrier()</code> which suspends the coroutine until the i/o finishes. <b>Blocks execution</b> i.e is equivalent to <code>.barrier()</code> if no i/o multiplexer has been set on this handle! </p>
<p>The awaitable returned is <b>eager</b> i.e. it immediately begins the i/o. If the i/o completes and finishes immediately, no coroutine suspension occurs. </p>
<div class="fragment"><div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;  {</div>
<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;    <span class="keywordflow">if</span>(_ctx == <span class="keyword">nullptr</span>)</div>
<div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;    {</div>
<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;      <span class="keywordflow">return</span> awaitable&lt;io_result&lt;const_buffers_type&gt;&gt;(<a class="code" href="classllfio__v2__xxx_1_1io__handle.html#a6a1044eeb6ab16939e4669bbeb071b32">barrier</a>(std::move(reqs), kind, d));</div>
<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;    }</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;    awaitable&lt;io_result&lt;const_buffers_type&gt;&gt; ret;</div>
<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;    ret.set_state(_ctx-&gt;<a class="code" href="classllfio__v2__xxx_1_1io__multiplexer.html#a00bf4ea26d854a7e8c9734f357d417f3">construct</a>(ret._state_storage, <span class="keyword">this</span>, <span class="keyword">nullptr</span>, {}, d, std::move(reqs), kind));</div>
<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;    <span class="keywordflow">return</span> ret;</div>
<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;  }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a30eca672189ffc408a4e01b064e8b78e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30eca672189ffc408a4e01b064e8b78e">&#9670;&nbsp;</a></span>co_read()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1awaitable.html">awaitable</a>&lt;<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt;buffers_type&gt; &gt; llfio_v2_xxx::io_handle::co_read </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; buffers_type &gt;&#160;</td>
          <td class="paramname"><em>reqs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A coroutinised equivalent to <code>.read()</code> which suspends the coroutine until the i/o finishes. <b>Blocks execution</b> i.e is equivalent to <code>.read()</code> if no i/o multiplexer has been set on this handle! </p>
<p>The awaitable returned is <b>eager</b> i.e. it immediately begins the i/o. If the i/o completes and finishes immediately, no coroutine suspension occurs. </p>
<div class="fragment"><div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;  {</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;    <span class="keywordflow">if</span>(_ctx == <span class="keyword">nullptr</span>)</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;    {</div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;      <span class="keywordflow">return</span> awaitable&lt;io_result&lt;buffers_type&gt;&gt;(<a class="code" href="classllfio__v2__xxx_1_1io__handle.html#ae04ada27942187f03b59044cd1328f49">read</a>(std::move(reqs), d));</div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;    }</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;    awaitable&lt;io_result&lt;buffers_type&gt;&gt; ret;</div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;    ret.set_state(_ctx-&gt;<a class="code" href="classllfio__v2__xxx_1_1io__multiplexer.html#a00bf4ea26d854a7e8c9734f357d417f3">construct</a>(ret._state_storage, <span class="keyword">this</span>, <span class="keyword">nullptr</span>, {}, d, std::move(reqs)));</div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;    <span class="keywordflow">return</span> ret;</div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;  }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a608634d1664d2a43fbdc2e18cae464ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a608634d1664d2a43fbdc2e18cae464ee">&#9670;&nbsp;</a></span>co_write()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1awaitable.html">awaitable</a>&lt;<a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt;const_buffers_type&gt; &gt; llfio_v2_xxx::io_handle::co_write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; const_buffers_type &gt;&#160;</td>
          <td class="paramname"><em>reqs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A coroutinised equivalent to <code>.write()</code> which suspends the coroutine until the i/o finishes. <b>Blocks execution</b> i.e is equivalent to <code>.write()</code> if no i/o multiplexer has been set on this handle! </p>
<p>The awaitable returned is <b>eager</b> i.e. it immediately begins the i/o. If the i/o completes and finishes immediately, no coroutine suspension occurs. </p>
<div class="fragment"><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;  {</div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;    <span class="keywordflow">if</span>(_ctx == <span class="keyword">nullptr</span>)</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;    {</div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;      <span class="keywordflow">return</span> awaitable&lt;io_result&lt;const_buffers_type&gt;&gt;(<a class="code" href="classllfio__v2__xxx_1_1io__handle.html#a7848ef15e774eacec7e4446a8c365a3d">write</a>(std::move(reqs), d));</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;    }</div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;    awaitable&lt;io_result&lt;const_buffers_type&gt;&gt; ret;</div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;    ret.set_state(_ctx-&gt;<a class="code" href="classllfio__v2__xxx_1_1io__multiplexer.html#a00bf4ea26d854a7e8c9734f357d417f3">construct</a>(ret._state_storage, <span class="keyword">this</span>, <span class="keyword">nullptr</span>, {}, d, std::move(reqs)));</div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;    <span class="keywordflow">return</span> ret;</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;  }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a00a85eec5a41f7edb2c574d40cf04535"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00a85eec5a41f7edb2c574d40cf04535">&#9670;&nbsp;</a></span>current_path()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual result&lt;path_type&gt; llfio_v2_xxx::handle::current_path </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the current path of the open handle as said by the operating system. Note that you are NOT guaranteed that any path refreshed bears any resemblance to the original, some operating systems will return some different path which still reaches the same inode via some other route e.g. hardlinks, dereferenced symbolic links, etc. Windows and Linux correctly track changes to the specific path the handle was opened with, not getting confused by other hard links. MacOS nearly gets it right, but under some circumstances e.g. renaming may switch to a different hard link's path which is almost certainly a bug.</p>
<p>If LLFIO was not able to determine the current path for this open handle e.g. the inode has been unlinked, it returns an empty path. Be aware that FreeBSD can return an empty (deleted) path for file inodes no longer cached by the kernel path cache, LLFIO cannot detect the difference. FreeBSD will also return any path leading to the inode if it is hard linked. FreeBSD does implement path retrieval for directory inodes correctly however, and see <code>algorithm::cached_parent_handle_adapter&lt;T&gt;</code> for a handle adapter which makes use of that.</p>
<p>On Linux if <code>/proc</code> is not mounted, this call fails with an error. All APIs in LLFIO which require the use of <code>current_path()</code> can be told to not use it e.g. <code>flag::disable_safety_unlinks</code>. It is up to you to detect if <code>current_path()</code> is not working, and to change how you call LLFIO appropriately.</p>
<p>On Windows, you will almost certainly get back a path of the form <code>\!!\Device\HarddiskVolume10\Users\ned\...</code>. See <code>path_view</code> for what all the path prefix sequences mean, but to summarise the <code>\!!\</code> prefix is LLFIO-only and will not be accepted by other Windows APIs. Pass LLFIO derived paths through the function <code>to_win32_path()</code> to Win32-ise them. This function is also available on Linux where it does nothing, so you can use it in portable code.</p>
<dl class="section warning"><dt>Warning</dt><dd>This call is expensive, it always asks the kernel for the current path, and no checking is done to ensure what the kernel returns is accurate or even sensible. Be aware that despite these precautions, paths are unstable and <b>can change randomly at any moment</b>. Most code written to use absolute file systems paths is <b>racy</b>, so don't do it, use <code>path_handle</code> to fix a base location on the file system and work from that anchor instead!</dd></dl>
<dl class="section user"><dt>Memory Allocations\n At least one malloc for the path_type, likely several more.</dt><dd></dd></dl>
<dl class="section see"><dt>See also</dt><dd><code>algorithm::cached_parent_handle_adapter&lt;T&gt;</code> which overrides this with an implementation based on retrieving the current path of a cached handle to the parent directory. On platforms with instability or failure to retrieve the correct current path for regular files, the cached parent handle adapter works around the problem by taking advantage of directory inodes not having the same instability problems on any platform. </dd></dl>

<p>Reimplemented in <a class="el" href="classllfio__v2__xxx_1_1symlink__handle.html#aea44ed050acfd8e4f9dec59ff194c746">llfio_v2_xxx::symlink_handle</a>, and <a class="el" href="classllfio__v2__xxx_1_1process__handle.html#a8ed1f5dda9dcf9d59710acc9c91df943">llfio_v2_xxx::process_handle</a>.</p>

</div>
</div>
<a id="a6e30345e9aa4fa263b009efe2c97466a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e30345e9aa4fa263b009efe2c97466a">&#9670;&nbsp;</a></span>extents()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual result&lt;std::vector&lt;<a class="el" href="structllfio__v2__xxx_1_1file__handle_1_1extent__pair.html">extent_pair</a>&gt; &gt; llfio_v2_xxx::file_handle::extents </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a list of currently valid extents for this open file. WARNING: racy! </p>
<dl class="section return"><dt>Returns</dt><dd>A vector of pairs of extent offset + extent length representing the valid extents in this file. Filing systems which do not support extents return a single extent matching the length of the file rather than returning an error. </dd></dl>

<p>Reimplemented in <a class="el" href="classllfio__v2__xxx_1_1fast__random__file__handle.html#a8026691789a70593329230076357fc96">llfio_v2_xxx::fast_random_file_handle</a>.</p>

</div>
</div>
<a id="a09e6b3e9806b328a687a55e955b885a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09e6b3e9806b328a687a55e955b885a3">&#9670;&nbsp;</a></span>file()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static result&lt;<a class="el" href="classllfio__v2__xxx_1_1file__handle.html">file_handle</a>&gt; llfio_v2_xxx::file_handle::file </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classllfio__v2__xxx_1_1path__handle.html">path_handle</a> &amp;&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1path__view.html">path_view_type</a>&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dca">mode</a>&#160;</td>
          <td class="paramname"><em>_mode</em> = <code><a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dcaaecae13117d6f0584c25a9da6c8f8415e">mode::read</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1handle.html#af0b352d0f273ba6fa70c178b2c2fee42">creation</a>&#160;</td>
          <td class="paramname"><em>_creation</em> = <code><a class="el" href="classllfio__v2__xxx_1_1handle.html#af0b352d0f273ba6fa70c178b2c2fee42aa200dcd6176417e93be2405188ae7cc9">creation::open_existing</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a>&#160;</td>
          <td class="paramname"><em>_caching</em> = <code><a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852aa181a603769c1f98ad927e7367c7aa51">caching::all</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">flag&#160;</td>
          <td class="paramname"><em>flags</em> = <code>flag::none</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Create a file handle opening access to a file on path </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>Handle to a base location on the filing system. Pass <code>{}</code> to indicate that path will be absolute. </td></tr>
    <tr><td class="paramname">path</td><td>The path relative to base to open. </td></tr>
    <tr><td class="paramname">_mode</td><td>How to open the file. </td></tr>
    <tr><td class="paramname">_creation</td><td>How to create the file. </td></tr>
    <tr><td class="paramname">_caching</td><td>How to ask the kernel to cache the file. </td></tr>
    <tr><td class="paramname">flags</td><td>Any additional custom behaviours.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Errors returnable\n Any of the values POSIX open() or CreateFile() can return.</dt><dd></dd></dl>

</div>
</div>
<a id="aa7770c6b7c478d74654f25b8c1a1585c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7770c6b7c478d74654f25b8c1a1585c">&#9670;&nbsp;</a></span>link()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual result&lt;void&gt; llfio_v2_xxx::fs_handle::link </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classllfio__v2__xxx_1_1path__handle.html">path_handle</a> &amp;&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1fs__handle.html#abcd8c8171f4e561620864295e8d5879b">path_view_type</a>&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code>std::chrono::seconds(30)</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Links the inode referred to by this open handle to the path specified. The current path of this open handle is not changed, unless it has no current path due to being unlinked.</p>
<dl class="section warning"><dt>Warning</dt><dd>Some operating systems provide a race free syscall for linking an open handle to a new location (Linux, Windows). On all other operating systems this call is <b>racy</b> and can result in the wrong inode being linked. Note that unless <code>flag::disable_safety_unlinks</code> is set, this implementation opens a <code>path_handle</code> to the source containing directory first, then checks before linking that the item about to be hard linked has the same inode as the open file handle. It will retry this matching until success until the deadline given. This should prevent most unmalicious accidental loss of data.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>Base for any relative path. </td></tr>
    <tr><td class="paramname">path</td><td>The relative or absolute new path to hard link to. </td></tr>
    <tr><td class="paramname">d</td><td>The deadline by which the matching of the containing directory to the open handle's inode must succeed, else <code>errc::timed_out</code> will be returned. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Memory Allocations\n Except on platforms with race free syscalls for renaming open handles (Windows), calls</dt><dd><code>current_path()</code> via <code>parent_path_handle()</code> and thus is both expensive and calls malloc many times. </dd></dl>

</div>
</div>
<a id="a469019e3bbcd7b37499b8604af713b40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a469019e3bbcd7b37499b8604af713b40">&#9670;&nbsp;</a></span>lock_file()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual result&lt;void&gt; llfio_v2_xxx::lockable_io_handle::lock_file </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Locks the inode referred to by the open handle for exclusive access. </p>
<p>Note that this may, or may not, interact with the byte range lock extensions. See <code>unique_file_lock</code> for a RAII locker. </p><dl class="section user"><dt>Errors returnable\n Any of the values POSIX flock() can return.</dt><dd></dd></dl>
<dl class="section user"><dt>Memory Allocations\n The default synchronous implementation in file_handle performs no memory allocation.</dt><dd></dd></dl>

</div>
</div>
<a id="a0ece4f0a48e1e67debc438a9742a1f4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ece4f0a48e1e67debc438a9742a1f4c">&#9670;&nbsp;</a></span>lock_file_range()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual result&lt;<a class="el" href="classllfio__v2__xxx_1_1lockable__io__handle_1_1extent__guard.html">extent_guard</a>&gt; llfio_v2_xxx::lockable_io_handle::lock_file_range </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a4ee58f1b6a24af5e64d850d1e3eed07f">extent_type</a>&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a4ee58f1b6a24af5e64d850d1e3eed07f">extent_type</a>&#160;</td>
          <td class="paramname"><em>bytes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespacellfio__v2__xxx.html#ae79486289ff1386b26d1ce60bb797d33">lock_kind</a>&#160;</td>
          <td class="paramname"><em>kind</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>EXTENSION: Tries to lock the range of bytes specified for shared or exclusive access. Note that this may, or MAY NOT, observe whole file locks placed with <code>lock()</code>, <code>lock_shared()</code> etc. </p>
<p>Be aware this passes through the same semantics as the underlying OS call, including any POSIX insanity present on your platform:</p>
<ul>
<li>Any fd closed on an inode must release all byte range locks on that inode for all other fds. If your OS isn't new enough to support the non-insane lock API, <code>flag::byte_lock_insanity</code> will be set in flags() after the first call to this function.</li>
<li>Threads replace each other's locks, indeed locks replace each other's locks.</li>
</ul>
<p>You almost cetainly should use your choice of an <code>algorithm::shared_fs_mutex::*</code> instead of this as those are more portable and performant, or use the <code>SharedMutex</code> modelling member functions which lock the whole inode for exclusive or shared access.</p>
<dl class="section warning"><dt>Warning</dt><dd>This is a low-level API which you should not use directly in portable code. Another issue is that atomic lock upgrade/downgrade, if your platform implements that (you should assume it does not in portable code), means that on POSIX you need to <em>release</em> the old <code>extent_guard</code> after creating a new one over the same byte range, otherwise the old <code>extent_guard</code>'s destructor will simply unlock the range entirely. On Windows however upgrade/downgrade locks overlay, so on that platform you must <em>not</em> release the old <code>extent_guard</code>. Look into <code>algorithm::shared_fs_mutex::safe_byte_ranges</code> for a portable solution.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>An extent guard, the destruction of which will call unlock(). </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">offset</td><td>The offset to lock. Note that on POSIX the top bit is always cleared before use as POSIX uses signed transport for offsets. If you want an advisory rather than mandatory lock on Windows, one technique is to force top bit set so the region you lock is not the one you will i/o - obviously this reduces maximum file size to (2^63)-1. </td></tr>
    <tr><td class="paramname">bytes</td><td>The number of bytes to lock. Setting this and the offset to zero causes the whole file to be locked. </td></tr>
    <tr><td class="paramname">kind</td><td>Whether the lock is to be shared or exclusive. </td></tr>
    <tr><td class="paramname">d</td><td>An optional deadline by which the lock must complete, else it is cancelled. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Errors returnable\n Any of the values POSIX fcntl() can return, errc::timed_out, errc::not_supported may be</dt><dd>returned if deadline i/o is not possible with this particular handle configuration (e.g. non-overlapped HANDLE on Windows). </dd></dl>
<dl class="section user"><dt>Memory Allocations\n The default synchronous implementation in file_handle performs no memory allocation.</dt><dd></dd></dl>

<p>Reimplemented in <a class="el" href="classllfio__v2__xxx_1_1fast__random__file__handle.html#a6bba3f508224b7412f2fb3c050ca9711">llfio_v2_xxx::fast_random_file_handle</a>.</p>

</div>
</div>
<a id="aa24a432125e5b51b13f21d9b74fa4721"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa24a432125e5b51b13f21d9b74fa4721">&#9670;&nbsp;</a></span>lock_file_shared()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual result&lt;void&gt; llfio_v2_xxx::lockable_io_handle::lock_file_shared </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Locks the inode referred to by the open handle for shared access. </p>
<p>Note that this may, or may not, interact with the byte range lock extensions. See <code>unique_file_lock</code> for a RAII locker. </p><dl class="section user"><dt>Errors returnable\n Any of the values POSIX flock() can return.</dt><dd></dd></dl>
<dl class="section user"><dt>Memory Allocations\n The default synchronous implementation in file_handle performs no memory allocation.</dt><dd></dd></dl>

</div>
</div>
<a id="aa3465a87f2c732cd6465cd3a832a26f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa3465a87f2c732cd6465cd3a832a26f0">&#9670;&nbsp;</a></span>max_buffers()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t llfio_v2_xxx::io_handle::max_buffers </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The <em>maximum</em> number of buffers which a single read or write syscall can (atomically) process at a time for this specific open handle. On POSIX, this is known as <code>IOV_MAX</code>. Preferentially uses any i/o multiplexer set over the virtually overridable per-class implementation. </p>
<p>Note that the actual number of buffers accepted for a read or a write may be significantly lower than this system-defined limit, depending on available resources. The <code>read()</code> or <code>write()</code> call will return the buffers accepted at the time of invoking the syscall.</p>
<p>Note also that some OSs will error out if you supply more than this limit to <code>read()</code> or <code>write()</code>, but other OSs do not. Some OSs guarantee that each i/o syscall has effects atomically visible or not to other i/o, other OSs do not.</p>
<p>OS X does not implement scatter-gather file i/o syscalls. Thus this function will always return <code>1</code> in that situation.</p>
<p>Microsoft Windows <em>may</em> implement scatter-gather i/o under certain handle configurations. Most of the time for non-socket handles this function will return <code>1</code>.</p>
<p>For handles which implement i/o entirely in user space, and thus syscalls are not involved, this function will return <code>0</code>. </p>
<div class="fragment"><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;  {</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;    <span class="keywordflow">if</span>(_ctx == <span class="keyword">nullptr</span>)</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;    {</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="classllfio__v2__xxx_1_1io__handle.html#ae5ec845b3e2c2e31c2dc3de1d276a7e3">_do_max_buffers</a>();</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;    }</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    <span class="keywordflow">return</span> _ctx-&gt;<a class="code" href="classllfio__v2__xxx_1_1io__multiplexer.html#a1cc4f56ad15d1bed49d68c56a278ad0c">do_io_handle_max_buffers</a>(<span class="keyword">this</span>);</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;  }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a7991af58283025b80a7225866643f0b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7991af58283025b80a7225866643f0b4">&#9670;&nbsp;</a></span>maximum_extent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual result&lt;extent_type&gt; llfio_v2_xxx::file_handle::maximum_extent </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Return the current maximum permitted extent of the file.</p>
<dl class="section user"><dt>Errors returnable\n Any of the values POSIX fstat() or GetFileInformationByHandleEx() can return.</dt><dd></dd></dl>

<p>Reimplemented in <a class="el" href="classllfio__v2__xxx_1_1mapped__file__handle.html#a0723a6ba04a578754bb601541be832d0">llfio_v2_xxx::mapped_file_handle</a>, and <a class="el" href="classllfio__v2__xxx_1_1fast__random__file__handle.html#a800e1a97e8dc3f9cc74dc2115d476398">llfio_v2_xxx::fast_random_file_handle</a>.</p>

</div>
</div>
<a id="a865caad2f7f4bdf12fb74aabfe3c5ff5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a865caad2f7f4bdf12fb74aabfe3c5ff5">&#9670;&nbsp;</a></span>parent_path_handle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual result&lt;<a class="el" href="classllfio__v2__xxx_1_1path__handle.html">path_handle</a>&gt; llfio_v2_xxx::fs_handle::parent_path_handle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code>std::chrono::seconds(30)</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Obtain a handle to the path <b>currently</b> containing this handle's file entry.</p>
<dl class="section warning"><dt>Warning</dt><dd>This call is <b>racy</b> and can result in the wrong path handle being returned. Note that unless <code>flag::disable_safety_unlinks</code> is set, this implementation opens a <code>path_handle</code> to the source containing directory, then checks if the file entry within has the same inode as the open file handle. It will retry this matching until success until the deadline given.</dd></dl>
<dl class="section user"><dt>Memory Allocations\n Calls current_path() and thus is both expensive and calls malloc many times.</dt><dd></dd></dl>
<dl class="section see"><dt>See also</dt><dd><code>algorithm::cached_parent_handle_adapter&lt;T&gt;</code> which overrides this with a zero cost implementation, thus making unlinking and relinking very considerably quicker. </dd></dl>

</div>
</div>
<a id="ac5222904f116c9beb0515a4a5aa850bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5222904f116c9beb0515a4a5aa850bf">&#9670;&nbsp;</a></span>QUICKCPPLIB_BITFIELD_BEGIN()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">llfio_v2_xxx::handle::QUICKCPPLIB_BITFIELD_BEGIN </td>
          <td>(</td>
          <td class="paramtype">flag&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Bitwise flags which can be specified. </p>
<p>&lt; No flags</p>
<p>Unlinks the file on handle close. On POSIX, this simply unlinks whatever is pointed to by <code>path()</code> upon the call of <code>close()</code> if and only if the inode matches. On Windows, if you are on Windows 10 1709 or later, exactly the same thing occurs. If on previous editions of Windows, the file entry does not disappears but becomes unavailable for anyone else to open with an <code>errc::resource_unavailable_try_again</code> error return. Because this is confusing, unless the <code>win_disable_unlink_emulation</code> flag is also specified, this POSIX behaviour is somewhat emulated by LLFIO on older Windows by renaming the file to a random name on <code>close()</code> causing it to appear to have been unlinked immediately.</p>
<p>Some kernel caching modes have unhelpfully inconsistent behaviours in getting your data onto storage, so by default unless this flag is specified LLFIO adds extra fsyncs to the following operations for the caching modes specified below: truncation of file length either explicitly or during file open. closing of the handle either explicitly or in the destructor.</p>
<p>Additionally on Linux only to prevent loss of file metadata: On the parent directory whenever a file might have been created. On the parent directory on file close.</p>
<p>This only occurs for these kernel caching modes: caching::none caching::reads caching::reads_and_metadata caching::safety_barriers</p>
<p><code>file_handle::unlink()</code> could accidentally delete the wrong file if someone has renamed the open file handle since the time it was opened. To prevent this occuring, where the OS doesn't provide race free unlink-by-open-handle we compare the inode of the path we are about to unlink with that of the open handle before unlinking. </p><dl class="section warning"><dt>Warning</dt><dd>This does not prevent races where in between the time of checking the inode and executing the unlink a third party changes the item about to be unlinked. Only operating systems with a true race-free unlink syscall are race free.</dd></dl>
<p>Ask the OS to disable prefetching of data. This can improve random i/o performance.</p>
<p>Ask the OS to maximise prefetching of data, possibly prefetching the entire file into kernel cache. This can improve sequential i/o performance.</p>
<p>&lt; See the documentation for <code>unlink_on_first_close</code></p>
<p>Microsoft Windows NTFS, having been created in the late 1980s, did not originally implement extents-based storage and thus could only represent sparse files via efficient compression of intermediate zeros. With NTFS v3.0 (Microsoft Windows 2000), a proper extents-based on-storage representation was added, thus allowing only 64Kb extent chunks written to be stored irrespective of whatever the maximum file extent was set to.</p>
<p>For various historical reasons, extents-based storage is disabled by default in newly created files on NTFS, unlike in almost every other major filing system. You have to explicitly "opt in" to extents-based storage.</p>
<p>As extents-based storage is nearly cost free on NTFS, LLFIO by default opts in to extents-based storage for any empty file it creates. If you don't want this, you can specify this flag to prevent that happening.</p>
<p>Filesystems tend to be embarrassingly parallel for operations performed to different inodes. Where LLFIO performs i/o to multiple inodes at a time, it will use OpenMP or the Parallelism or Concurrency standard library extensions to usually complete the operation in constant rather than linear time. If you don't want this default, you can disable default using this flag.</p>
<p>Microsoft Windows NTFS has the option, when creating a directory, to set whether leafname lookup will be case sensitive. This is the only way of getting exact POSIX semantics on Windows without resorting to editing the system registry, however it also affects all code doing lookups within that directory, so we must default it to off.</p>
<p>Create the handle in a way where i/o upon it can be multiplexed with other i/o on the same initiating thread of execution i.e. you can perform more than one read concurrently, without using threads. The blocking operations <code>.read()</code> and <code>.write()</code> may have to use a less efficient, but cancellable, blocking implementation for handles created in this way. On Microsoft Windows, this creates handles with <code>OVERLAPPED</code> semantics. On POSIX, this creates handles with nonblocking semantics for non-file handles such as pipes and sockets, however for file, directory and symlink handles it does not set nonblocking, as it is non-portable.</p>
<p>&lt; Using insane POSIX byte range locks</p>
<p>&lt; This is an inode created with no representation on the filing system</p>
<div class="fragment"><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;                                  {</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;  none = 0,  <span class="comment">//!&lt; No flags</span></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="comment"></span><span class="comment">  /*! Unlinks the file on handle close. On POSIX, this simply unlinks whatever is pointed</span></div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="comment">  to by `path()` upon the call of `close()` if and only if the inode matches. On Windows,</span></div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="comment">  if you are on Windows 10 1709 or later, exactly the same thing occurs. If on previous</span></div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="comment">  editions of Windows, the file entry does not disappears but becomes unavailable for</span></div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="comment">  anyone else to open with an `errc::resource_unavailable_try_again` error return. Because this is confusing, unless the</span></div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="comment">  `win_disable_unlink_emulation` flag is also specified, this POSIX behaviour is</span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="comment">  somewhat emulated by LLFIO on older Windows by renaming the file to a random name on `close()`</span></div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="comment">  causing it to appear to have been unlinked immediately.</span></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<span class="comment">  */</span></div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;  unlink_on_first_close = 1U &lt;&lt; 0U,</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="comment">  /*! Some kernel caching modes have unhelpfully inconsistent behaviours</span></div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="comment">  in getting your data onto storage, so by default unless this flag is</span></div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="comment">  specified LLFIO adds extra fsyncs to the following operations for the</span></div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="comment">  caching modes specified below:</span></div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="comment">  * truncation of file length either explicitly or during file open.</span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="comment">  * closing of the handle either explicitly or in the destructor.</span></div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="comment">  Additionally on Linux only to prevent loss of file metadata:</span></div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="comment">  * On the parent directory whenever a file might have been created.</span></div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="comment">  * On the parent directory on file close.</span></div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="comment">  This only occurs for these kernel caching modes:</span></div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="comment">  * caching::none</span></div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="comment">  * caching::reads</span></div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="comment">  * caching::reads_and_metadata</span></div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="comment">  * caching::safety_barriers</span></div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="comment">  */</span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;  disable_safety_barriers = 1U &lt;&lt; 2U,<span class="comment"></span></div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="comment">  /*! `file_handle::unlink()` could accidentally delete the wrong file if someone has</span></div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="comment">  renamed the open file handle since the time it was opened. To prevent this occuring,</span></div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="comment">  where the OS doesn&#39;t provide race free unlink-by-open-handle we compare the inode of</span></div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="comment">  the path we are about to unlink with that of the open handle before unlinking.</span></div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="comment">  \warning This does not prevent races where in between the time of checking the inode</span></div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="comment">  and executing the unlink a third party changes the item about to be unlinked. Only</span></div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="comment">  operating systems with a true race-free unlink syscall are race free.</span></div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="comment">  */</span></div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;  disable_safety_unlinks = 1U &lt;&lt; 3U,<span class="comment"></span></div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="comment">  /*! Ask the OS to disable prefetching of data. This can improve random</span></div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="comment">  i/o performance.</span></div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="comment">  */</span></div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;  disable_prefetching = 1U &lt;&lt; 4U,<span class="comment"></span></div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="comment">  /*! Ask the OS to maximise prefetching of data, possibly prefetching the entire file</span></div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="comment">  into kernel cache. This can improve sequential i/o performance.</span></div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="comment">  */</span></div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;  maximum_prefetching = 1U &lt;&lt; 5U,</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160; </div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;  win_disable_unlink_emulation = 1U &lt;&lt; 24U,  <span class="comment">//!&lt; See the documentation for `unlink_on_first_close`</span></div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="comment"></span><span class="comment">  /*! Microsoft Windows NTFS, having been created in the late 1980s, did not originally</span></div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="comment">  implement extents-based storage and thus could only represent sparse files via</span></div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="comment">  efficient compression of intermediate zeros. With NTFS v3.0 (Microsoft Windows 2000),</span></div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="comment">  a proper extents-based on-storage representation was added, thus allowing only 64Kb</span></div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="comment">  extent chunks written to be stored irrespective of whatever the maximum file extent</span></div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="comment">  was set to.</span></div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="comment">  For various historical reasons, extents-based storage is disabled by default in newly</span></div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="comment">  created files on NTFS, unlike in almost every other major filing system. You have to</span></div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="comment">  explicitly &quot;opt in&quot; to extents-based storage.</span></div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="comment">  As extents-based storage is nearly cost free on NTFS, LLFIO by default opts in to</span></div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="comment">  extents-based storage for any empty file it creates. If you don&#39;t want this, you</span></div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="comment">  can specify this flag to prevent that happening.</span></div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="comment">  */</span></div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;  win_disable_sparse_file_creation = 1U &lt;&lt; 25U,<span class="comment"></span></div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="comment">  /*! Filesystems tend to be embarrassingly parallel for operations performed to different</span></div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="comment">  inodes. Where LLFIO performs i/o to multiple inodes at a time, it will use OpenMP or</span></div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="comment">  the Parallelism or Concurrency standard library extensions to usually complete the</span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="comment">  operation in constant rather than linear time. If you don&#39;t want this default, you can</span></div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="comment">  disable default using this flag.</span></div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="comment">  */</span></div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;  disable_parallelism = 1U &lt;&lt; 26U,<span class="comment"></span></div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="comment">  /*! Microsoft Windows NTFS has the option, when creating a directory, to set whether</span></div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="comment">  leafname lookup will be case sensitive. This is the only way of getting exact POSIX</span></div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="comment">  semantics on Windows without resorting to editing the system registry, however it also</span></div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="comment">  affects all code doing lookups within that directory, so we must default it to off.</span></div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="comment">  */</span></div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;  win_create_case_sensitive_directory = 1U &lt;&lt; 27U,</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<span class="comment">  /*! Create the handle in a way where i/o upon it can be multiplexed with other i/o</span></div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="comment">  on the same initiating thread of execution i.e. you can perform more than one read</span></div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="comment">  concurrently, without using threads. The blocking operations `.read()` and `.write()`</span></div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="comment">  may have to use a less efficient, but cancellable, blocking implementation for handles created</span></div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="comment">  in this way. On Microsoft Windows, this creates handles with `OVERLAPPED` semantics.</span></div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="comment">  On POSIX, this creates handles with nonblocking semantics for non-file handles such</span></div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;<span class="comment">  as pipes and sockets, however for file, directory and symlink handles it does not set</span></div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="comment">  nonblocking, as it is non-portable.</span></div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="comment">  */</span></div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;  multiplexable = 1U &lt;&lt; 28U,</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160; </div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;  <span class="comment">// NOTE: IF UPDATING THIS UPDATE THE std::ostream PRINTER BELOW!!!</span></div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160; </div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;  byte_lock_insanity = 1U &lt;&lt; 29U,  <span class="comment">//!&lt; Using insane POSIX byte range locks</span></div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;<span class="comment"></span>  anonymous_inode = 1U &lt;&lt; 30U      <span class="comment">//!&lt; This is an inode created with no representation on the filing system</span></div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;<span class="comment"></span>  } QUICKCPPLIB_BITFIELD_END(flag);</div>
</div><!-- fragment -->
</div>
</div>
<a id="ae04ada27942187f03b59044cd1328f49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae04ada27942187f03b59044cd1328f49">&#9670;&nbsp;</a></span>read()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt;buffers_type&gt; llfio_v2_xxx::io_handle::read </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; buffers_type &gt;&#160;</td>
          <td class="paramname"><em>reqs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Read data from the open handle, preferentially using any i/o multiplexer set over the virtually overridable per-class implementation. </p>
<dl class="section warning"><dt>Warning</dt><dd>Depending on the implementation backend, <b>very</b> different buffers may be returned than you supplied. You should <b>always</b> use the buffers returned and assume that they point to different memory and that each buffer's size will have changed.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The buffers read, which may not be the buffers input. The size of each scatter-gather buffer returned is updated with the number of bytes of that buffer transferred, and the pointer to the data may be <em>completely</em> different to what was submitted (e.g. it may point into a memory map). </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">reqs</td><td>A scatter-gather and offset request. </td></tr>
    <tr><td class="paramname">d</td><td>An optional deadline by which the i/o must complete, else it is cancelled. Note function may return significantly after this deadline if the i/o takes long to cancel. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Errors returnable\n Any of the values POSIX read() can return, errc::timed_out, errc::operation_canceled. errc::not_supported may be</dt><dd>returned if deadline i/o is not possible with this particular handle configuration (e.g. reading from regular files on POSIX or reading from a non-overlapped HANDLE on Windows). </dd></dl>
<dl class="section user"><dt>Memory Allocations\n The default synchronous implementation in file_handle performs no memory allocation.</dt><dd></dd></dl>
<div class="fragment"><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;{ <span class="keywordflow">return</span> (_ctx == <span class="keyword">nullptr</span>) ? <a class="code" href="classllfio__v2__xxx_1_1io__handle.html#a4379e3f84b913f606bb2ec6a194d4380">_do_read</a>(reqs, d) : _do_multiplexer_read({}, reqs, d); }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a8700edc9ecd4dd35d5aad7c65dd0eca2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8700edc9ecd4dd35d5aad7c65dd0eca2">&#9670;&nbsp;</a></span>relink()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual result&lt;void&gt; llfio_v2_xxx::fs_handle::relink </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classllfio__v2__xxx_1_1path__handle.html">path_handle</a> &amp;&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1fs__handle.html#abcd8c8171f4e561620864295e8d5879b">path_view_type</a>&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>atomic_replace</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code>std::chrono::seconds(30)</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Relinks the current path of this open handle to the new path specified. If <code>atomic_replace</code> is true, the relink <b>atomically</b> and silently replaces any item at the new path specified. This operation is both atomic and matching POSIX behaviour even on Microsoft Windows where no Win32 API can match POSIX semantics.</p>
<p>Note that if <code>atomic_replace</code> is false, the operation <em>may</em> be implemented as creating a hard link to the destination (which fails if the destination exists), opening a new file descriptor to the destination, closing the existing file descriptor, replacing the existing file descriptor with the new one (this is to ensure path tracking continues to work), then unlinking the previous link. Thus <code>native_handle()</code>'s value <em>may</em> change. This is not the case on Microsoft Windows nor Linux, both of which provide syscalls capable of refusing to rename if the destination exists.</p>
<p>If the handle refers to a pipe, on Microsoft Windows the base path handle is ignored as there is a single global named pipe namespace. Unless the path fragment begins with <code>\</code>, the string <code>\??\</code> is prefixed to the name before passing it to the NT kernel API which performs the rename. This is because <code>\\.\</code> in Win32 maps onto <code>\??\</code> in the NT kernel.</p>
<dl class="section warning"><dt>Warning</dt><dd>Some operating systems provide a race free syscall for renaming an open handle (Windows). On all other operating systems this call is <b>racy</b> and can result in the wrong file entry being relinked. Note that unless <code>flag::disable_safety_unlinks</code> is set, this implementation opens a <code>path_handle</code> to the source containing directory first, then checks before relinking that the item about to be relinked has the same inode as the open file handle. It will retry this matching until success until the deadline given. This should prevent most unmalicious accidental loss of data.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>Base for any relative path. </td></tr>
    <tr><td class="paramname">path</td><td>The relative or absolute new path to relink to. </td></tr>
    <tr><td class="paramname">atomic_replace</td><td>Atomically replace the destination if a file entry already is present there. Choosing false for this will fail if a file entry is already present at the destination, and may not be an atomic operation on some platforms (i.e. both the old and new names may be linked to the same inode for a very short period of time). Windows and recent Linuxes are always atomic. </td></tr>
    <tr><td class="paramname">d</td><td>The deadline by which the matching of the containing directory to the open handle's inode must succeed, else <code>errc::timed_out</code> will be returned. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Memory Allocations\n Except on platforms with race free syscalls for renaming open handles (Windows), calls</dt><dd><code>current_path()</code> via <code>parent_path_handle()</code> and thus is both expensive and calls malloc many times. </dd></dl>

<p>Reimplemented in <a class="el" href="classllfio__v2__xxx_1_1mapped__file__handle.html#a35d3754438d64a63a7fe63c5ade23a62">llfio_v2_xxx::mapped_file_handle</a>, and <a class="el" href="classllfio__v2__xxx_1_1symlink__handle.html#afea9ef2b36cac3f6dfcae7555ca3303c">llfio_v2_xxx::symlink_handle</a>.</p>

</div>
</div>
<a id="aa276caa8542cca700a2574459395ff60"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa276caa8542cca700a2574459395ff60">&#9670;&nbsp;</a></span>reopen()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">result&lt;<a class="el" href="classllfio__v2__xxx_1_1file__handle.html">file_handle</a>&gt; llfio_v2_xxx::file_handle::reopen </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dca">mode</a>&#160;</td>
          <td class="paramname"><em>mode_</em> = <code>mode::unchanged</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a>&#160;</td>
          <td class="paramname"><em>caching_</em> = <code>caching::unchanged</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code>std::chrono::seconds(30)</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Reopen this handle (copy constructor is disabled to avoid accidental copying), optionally race free reopening the handle with different access or caching.</p>
<p>Microsoft Windows provides a syscall for cloning an existing handle but with new access. On POSIX, if not changing the mode, we change caching via <code>fcntl()</code>, if changing the mode we must loop calling <code>current_path()</code>, trying to open the path returned and making sure it is the same inode.</p>
<dl class="section user"><dt>Errors returnable\n Any of the values POSIX dup() or DuplicateHandle() can return.</dt><dd></dd></dl>
<dl class="section user"><dt>Memory Allocations\n On POSIX if changing the mode, we must loop calling current_path() and</dt><dd>trying to open the path returned. Thus many allocations may occur. </dd></dl>

</div>
</div>
<a id="a101620e9fff0c0e8c346af0e9de58b6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a101620e9fff0c0e8c346af0e9de58b6a">&#9670;&nbsp;</a></span>set_append_only()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual result&lt;void&gt; llfio_v2_xxx::handle::set_append_only </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>EXTENSION: Changes whether this handle is append only or not. </p>
<dl class="section warning"><dt>Warning</dt><dd>On Windows this is implemented as a bit of a hack to make it fast like on POSIX, so make sure you open the handle for read/write originally. Note unlike on POSIX the append_only disposition will be the only one toggled, seekable and readable will remain turned on.</dd></dl>
<dl class="section user"><dt>Errors returnable\n Whatever POSIX fcntl() returns. On Windows nothing is changed on the handle.</dt><dd></dd></dl>
<dl class="section user"><dt>Memory Allocations\n No memory allocation.</dt><dd></dd></dl>

<p>Reimplemented in <a class="el" href="classllfio__v2__xxx_1_1process__handle.html#ab64c9fc14fc555b5ec8571863458bf83">llfio_v2_xxx::process_handle</a>.</p>

</div>
</div>
<a id="a281467f83f70f2e12aaedf5847fd818c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a281467f83f70f2e12aaedf5847fd818c">&#9670;&nbsp;</a></span>set_multiplexer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">result&lt; void &gt; llfio_v2_xxx::io_handle::set_multiplexer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1io__multiplexer.html">io_multiplexer</a> *&#160;</td>
          <td class="paramname"><em>c</em> = <code><a class="el" href="namespacellfio__v2__xxx_1_1this__thread.html#afd6a1f179a8f8027f6c051badadf2707">this_thread::multiplexer</a>()</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets the i/o multiplexer this handle will use to implement <code>read()</code>, <code>write()</code> and <code>barrier()</code>. </p>
<p>Note that this call deregisters this handle from any existing i/o multiplexer, and registers it with the new i/o multiplexer. You must therefore not call it if any i/o is currently outstanding on this handle. You should also be aware that multiple dynamic memory allocations and deallocations may occur, as well as multiple syscalls (i.e. this is an expensive call, try to do it from cold code).</p>
<p>If the handle was not created as multiplexable, this call always fails.</p>
<dl class="section user"><dt>Memory Allocations\n Multiple dynamic memory allocations and deallocations.</dt><dd></dd></dl>

<p>Reimplemented in <a class="el" href="classllfio__v2__xxx_1_1mapped__file__handle.html#ac9a87793288b496940bdae0ff07cae0c">llfio_v2_xxx::mapped_file_handle</a>.</p>
<div class="fragment"><div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;{</div>
<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;  <span class="keywordflow">if</span>(!<a class="code" href="classllfio__v2__xxx_1_1handle.html#ade2416b9154d1e56937c99cd514324f8">is_multiplexable</a>())</div>
<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;  {</div>
<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;    <span class="keywordflow">return</span> errc::operation_not_supported;</div>
<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;  }</div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;  <span class="keywordflow">if</span>(c == _ctx)</div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;  {</div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;    <span class="keywordflow">return</span> success();</div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;  }</div>
<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;  <span class="keywordflow">if</span>(_ctx != <span class="keyword">nullptr</span>)</div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;  {</div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;    OUTCOME_TRY(_ctx-&gt;<a class="code" href="classllfio__v2__xxx_1_1io__multiplexer.html#a7c9d163a9e1ca06acbce1f135cfef087">do_io_handle_deregister</a>(<span class="keyword">this</span>));</div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;    _ctx = <span class="keyword">nullptr</span>;</div>
<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;  }</div>
<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;  <span class="keywordflow">if</span>(c != <span class="keyword">nullptr</span>)</div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;  {</div>
<div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;    OUTCOME_TRY(<span class="keyword">auto</span> &amp;&amp;state, c-&gt;do_io_handle_register(<span class="keyword">this</span>));</div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;    _v.behaviour = (_v.behaviour &amp; ~(native_handle_type::disposition::_multiplexer_state_bit0 | native_handle_type::disposition::_multiplexer_state_bit1));</div>
<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;    <span class="keywordflow">if</span>((state &amp; 1) != 0)</div>
<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;    {</div>
<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;      _v.behaviour |= native_handle_type::disposition::_multiplexer_state_bit0;</div>
<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;    }</div>
<div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;    <span class="keywordflow">if</span>((state &amp; 2) != 0)</div>
<div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;    {</div>
<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;      _v.behaviour |= native_handle_type::disposition::_multiplexer_state_bit1;</div>
<div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;    }</div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;  }</div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;  _ctx = c;</div>
<div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;  <span class="keywordflow">return</span> success();</div>
<div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<a id="a428114e3c8628c0621b1aa156051651c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a428114e3c8628c0621b1aa156051651c">&#9670;&nbsp;</a></span>temp_file()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static result&lt;<a class="el" href="classllfio__v2__xxx_1_1file__handle.html">file_handle</a>&gt; llfio_v2_xxx::file_handle::temp_file </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1path__view.html">path_view_type</a>&#160;</td>
          <td class="paramname"><em>name</em> = <code><a class="el" href="classllfio__v2__xxx_1_1path__view.html">path_view_type</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dca">mode</a>&#160;</td>
          <td class="paramname"><em>_mode</em> = <code><a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dcaaefb2a684e4afb7d55e6147fbe5a332ee">mode::write</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1handle.html#af0b352d0f273ba6fa70c178b2c2fee42">creation</a>&#160;</td>
          <td class="paramname"><em>_creation</em> = <code><a class="el" href="classllfio__v2__xxx_1_1handle.html#af0b352d0f273ba6fa70c178b2c2fee42a8f0339e854eb5321306a443ce9199e1d">creation::if_needed</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a>&#160;</td>
          <td class="paramname"><em>_caching</em> = <code><a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852ad5197d93c063a2b1e22d1630a39b7aef">caching::temporary</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">flag&#160;</td>
          <td class="paramname"><em>flags</em> = <code>flag::unlink_on_first_close</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Create a file handle creating the named file on some path which the OS declares to be suitable for temporary files. Most OSs are very lazy about flushing changes made to these temporary files. Note the default flags are to have the newly created file deleted on first handle close. Note also that an empty name is equivalent to calling <code>uniquely_named_file(path_discovery::storage_backed_temporary_files_directory())</code> and the creation parameter is ignored.</p>
<dl class="section note"><dt>Note</dt><dd>If the temporary file you are creating is not going to have its path sent to another process for usage, this is the WRONG function to use. Use <code>temp_inode()</code> instead, it is far more secure.</dd></dl>
<dl class="section user"><dt>Errors returnable\n Any of the values POSIX open() or CreateFile() can return.</dt><dd></dd></dl>
<div class="fragment"><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;  {</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    <span class="keyword">auto</span> &amp;tempdirh = <a class="code" href="namespacellfio__v2__xxx_1_1path__discovery.html#a2dd74ea752f3f511d58ccccdcac7f4fd">path_discovery::storage_backed_temporary_files_directory</a>();</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    <span class="keywordflow">return</span> name.empty() ? <a class="code" href="classllfio__v2__xxx_1_1file__handle.html#a8b7aa986243527fe224425f61c179709">uniquely_named_file</a>(tempdirh, _mode, _caching, <a class="code" href="classllfio__v2__xxx_1_1handle.html#a013936bc1254b1a47567fe29698d1b1c">flags</a>) : <a class="code" href="classllfio__v2__xxx_1_1file__handle.html#a09e6b3e9806b328a687a55e955b885a3">file</a>(tempdirh, name, _mode, _creation, _caching, <a class="code" href="classllfio__v2__xxx_1_1handle.html#a013936bc1254b1a47567fe29698d1b1c">flags</a>);</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;  }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a1eff21e1833be0c21f72477c593fadc5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1eff21e1833be0c21f72477c593fadc5">&#9670;&nbsp;</a></span>temp_inode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static result&lt;<a class="el" href="classllfio__v2__xxx_1_1file__handle.html">file_handle</a>&gt; llfio_v2_xxx::file_handle::temp_inode </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classllfio__v2__xxx_1_1path__handle.html">path_handle</a> &amp;&#160;</td>
          <td class="paramname"><em>dirh</em> = <code><a class="el" href="namespacellfio__v2__xxx_1_1path__discovery.html#a2dd74ea752f3f511d58ccccdcac7f4fd">path_discovery::storage_backed_temporary_files_directory</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dca">mode</a>&#160;</td>
          <td class="paramname"><em>_mode</em> = <code><a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dcaaefb2a684e4afb7d55e6147fbe5a332ee">mode::write</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">flag&#160;</td>
          <td class="paramname"><em>flags</em> = <code>flag::none</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p><em>Securely</em> create a file handle creating a temporary anonymous inode in the filesystem referred to by <em>dirpath</em>. The inode created has no name nor accessible path on the filing system and ceases to exist as soon as the last handle is closed, making it ideal for use as a temporary file where other processes do not need to have access to its contents via some path on the filing system (a classic use case is for backing shared memory maps).</p>
<dl class="section user"><dt>Errors returnable\n Any of the values POSIX open() or CreateFile() can return.</dt><dd></dd></dl>

</div>
</div>
<a id="a2be41c54aff8578e2d0afbf4ae73049f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2be41c54aff8578e2d0afbf4ae73049f">&#9670;&nbsp;</a></span>truncate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual result&lt;extent_type&gt; llfio_v2_xxx::file_handle::truncate </td>
          <td>(</td>
          <td class="paramtype">extent_type&#160;</td>
          <td class="paramname"><em>newsize</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Resize the current maximum permitted extent of the file to the given extent, avoiding any new allocation of physical storage where supported. Note that on extents based filing systems this will succeed even if there is insufficient free space on the storage medium.</p>
<dl class="section return"><dt>Returns</dt><dd>The bytes actually truncated to. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">newsize</td><td>The bytes to truncate the file to. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Errors returnable\n Any of the values POSIX ftruncate() or SetFileInformationByHandle() can return.</dt><dd></dd></dl>

<p>Reimplemented in <a class="el" href="classllfio__v2__xxx_1_1mapped__file__handle.html#a01a5da3834fd354c5c3d38284b84ef75">llfio_v2_xxx::mapped_file_handle</a>, and <a class="el" href="classllfio__v2__xxx_1_1fast__random__file__handle.html#a3e147cacf24cb8d96b6c57f30692fda2">llfio_v2_xxx::fast_random_file_handle</a>.</p>

</div>
</div>
<a id="a6e6a25ad5d9efd45e69d22e70a754a9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e6a25ad5d9efd45e69d22e70a754a9e">&#9670;&nbsp;</a></span>try_lock_file()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool llfio_v2_xxx::lockable_io_handle::try_lock_file </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Tries to lock the inode referred to by the open handle for exclusive access, returning <code>false</code> if lock is currently unavailable. </p>
<p>Note that this may, or may not, interact with the byte range lock extensions. See <code>unique_file_lock</code> for a RAII locker. </p><dl class="section user"><dt>Errors returnable\n Any of the values POSIX flock() can return.</dt><dd></dd></dl>
<dl class="section user"><dt>Memory Allocations\n The default synchronous implementation in file_handle performs no memory allocation.</dt><dd></dd></dl>

</div>
</div>
<a id="ad8e3d809cb954d99e228ee756bac1c64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8e3d809cb954d99e228ee756bac1c64">&#9670;&nbsp;</a></span>try_lock_file_shared()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool llfio_v2_xxx::lockable_io_handle::try_lock_file_shared </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Tries to lock the inode referred to by the open handle for shared access, returning <code>false</code> if lock is currently unavailable. </p>
<p>Note that this may, or may not, interact with the byte range lock extensions. See <code>unique_file_lock</code> for a RAII locker. </p><dl class="section user"><dt>Errors returnable\n Any of the values POSIX flock() can return.</dt><dd></dd></dl>
<dl class="section user"><dt>Memory Allocations\n The default synchronous implementation in file_handle performs no memory allocation.</dt><dd></dd></dl>

</div>
</div>
<a id="a8b7aa986243527fe224425f61c179709"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b7aa986243527fe224425f61c179709">&#9670;&nbsp;</a></span>uniquely_named_file()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static result&lt;<a class="el" href="classllfio__v2__xxx_1_1file__handle.html">file_handle</a>&gt; llfio_v2_xxx::file_handle::uniquely_named_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classllfio__v2__xxx_1_1path__handle.html">path_handle</a> &amp;&#160;</td>
          <td class="paramname"><em>dirpath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dca">mode</a>&#160;</td>
          <td class="paramname"><em>_mode</em> = <code><a class="el" href="classllfio__v2__xxx_1_1handle.html#aa3930273a2d4cabbac309e0b75701dcaaefb2a684e4afb7d55e6147fbe5a332ee">mode::write</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852">caching</a>&#160;</td>
          <td class="paramname"><em>_caching</em> = <code><a class="el" href="classllfio__v2__xxx_1_1handle.html#aecd3a7db6cee3aec07d32fe6f99e6852ad5197d93c063a2b1e22d1630a39b7aef">caching::temporary</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">flag&#160;</td>
          <td class="paramname"><em>flags</em> = <code>flag::none</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Create a file handle creating a uniquely named file on a path. The file is opened exclusively with <code>creation::only_if_not_exist</code> so it will never collide with nor overwrite any existing file. Note also that caching defaults to temporary which hints to the OS to only flush changes to physical storage as lately as possible.</p>
<dl class="section user"><dt>Errors returnable\n Any of the values POSIX open() or CreateFile() can return.</dt><dd></dd></dl>
<div class="fragment"><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;  {</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    <span class="keywordflow">try</span></div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;    {</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;      <span class="keywordflow">for</span>(;;)</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;      {</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;        <span class="keyword">auto</span> randomname = <a class="code" href="namespacellfio__v2__xxx_1_1utils.html#a6a29cf29a4b097411f6c1e5274bfb417">utils::random_string</a>(32);</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;        randomname.append(<span class="stringliteral">&quot;.random&quot;</span>);</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;        result&lt;file_handle&gt; ret = <a class="code" href="classllfio__v2__xxx_1_1file__handle.html#a09e6b3e9806b328a687a55e955b885a3">file</a>(dirpath, randomname, _mode, <a class="code" href="classllfio__v2__xxx_1_1handle.html#af0b352d0f273ba6fa70c178b2c2fee42abba3bc579480e6c94ecd81b7b5923255">creation::only_if_not_exist</a>, _caching, <a class="code" href="classllfio__v2__xxx_1_1handle.html#a013936bc1254b1a47567fe29698d1b1c">flags</a>);</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;        <span class="keywordflow">if</span>(ret || (!ret &amp;&amp; ret.error() != errc::file_exists))</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        {</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;          <span class="keywordflow">return</span> ret;</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;        }</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;      }</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    }</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;    <span class="keywordflow">catch</span>(...)</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;    {</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;      <span class="keywordflow">return</span> error_from_exception();</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    }</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;  }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a1dd7923bb65456af4da41ebe7cb84982"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1dd7923bb65456af4da41ebe7cb84982">&#9670;&nbsp;</a></span>unlink()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual result&lt;void&gt; llfio_v2_xxx::fs_handle::unlink </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code>std::chrono::seconds(30)</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Unlinks the current path of this open handle, causing its entry to immediately disappear from the filing system. On Windows before Windows 10 1709 unless <code>flag::win_disable_unlink_emulation</code> is set, this behaviour is simulated by renaming the file to something random and setting its delete-on-last-close flag. Note that Windows may prevent the renaming of a file in use by another process, if so it will NOT be renamed. After the next handle to that file closes, it will become permanently unopenable by anyone else until the last handle is closed, whereupon the entry will be eventually removed by the operating system.</p>
<dl class="section warning"><dt>Warning</dt><dd>Some operating systems provide a race free syscall for unlinking an open handle (Windows). On all other operating systems this call is <b>racy</b> and can result in the wrong file entry being unlinked. Note that unless <code>flag::disable_safety_unlinks</code> is set, this implementation opens a <code>path_handle</code> to the containing directory first, then checks that the item about to be unlinked has the same inode as the open file handle. It will retry this matching until success until the deadline given. This should prevent most unmalicious accidental loss of data.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">d</td><td>The deadline by which the matching of the containing directory to the open handle's inode must succeed, else <code>errc::timed_out</code> will be returned. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Memory Allocations\n Except on platforms with race free syscalls for unlinking open handles (Windows), calls</dt><dd><code>current_path()</code> and thus is both expensive and calls malloc many times. On Windows, also calls <code>current_path()</code> if <code>flag::disable_safety_unlinks</code> is not set. </dd></dl>

<p>Reimplemented in <a class="el" href="classllfio__v2__xxx_1_1symlink__handle.html#a002c9dab669604d58e08aa8f4dbc99c8">llfio_v2_xxx::symlink_handle</a>.</p>

</div>
</div>
<a id="a5572735777dfdd3f7c5c1f6dc8260287"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5572735777dfdd3f7c5c1f6dc8260287">&#9670;&nbsp;</a></span>unlock_file_range()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void llfio_v2_xxx::lockable_io_handle::unlock_file_range </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a4ee58f1b6a24af5e64d850d1e3eed07f">extent_type</a>&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classllfio__v2__xxx_1_1handle.html#a4ee58f1b6a24af5e64d850d1e3eed07f">extent_type</a>&#160;</td>
          <td class="paramname"><em>bytes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>EXTENSION: Unlocks a byte range previously locked. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">offset</td><td>The offset to unlock. This should be an offset previously locked. </td></tr>
    <tr><td class="paramname">bytes</td><td>The number of bytes to unlock. This should be a byte extent previously locked. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Errors returnable\n Any of the values POSIX fcntl() can return.</dt><dd></dd></dl>
<dl class="section user"><dt>Memory Allocations\n None.</dt><dd></dd></dl>

<p>Reimplemented in <a class="el" href="classllfio__v2__xxx_1_1fast__random__file__handle.html#a7830dff75463d4e0bf8d871bdc75055d">llfio_v2_xxx::fast_random_file_handle</a>.</p>

</div>
</div>
<a id="a7848ef15e774eacec7e4446a8c365a3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7848ef15e774eacec7e4446a8c365a3d">&#9670;&nbsp;</a></span>write()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__result.html">io_result</a>&lt;const_buffers_type&gt; llfio_v2_xxx::io_handle::write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1io__multiplexer_1_1io__request.html">io_request</a>&lt; const_buffers_type &gt;&#160;</td>
          <td class="paramname"><em>reqs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Write data to the open handle, preferentially using any i/o multiplexer set over the virtually overridable per-class implementation. </p>
<dl class="section warning"><dt>Warning</dt><dd>Depending on the implementation backend, not all of the buffers input may be written. For example, with a zeroed deadline, some backends may only consume as many buffers as the system has available write slots for, thus for those backends this call is "non-blocking" in the sense that it will return immediately even if it could not schedule a single buffer write. Another example is that some implementations will not auto-extend the length of a file when a write exceeds the maximum extent, you will need to issue a <code>truncate(newsize)</code> first.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The buffers written, which may not be the buffers input. The size of each scatter-gather buffer returned is updated with the number of bytes of that buffer transferred. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">reqs</td><td>A scatter-gather and offset request. </td></tr>
    <tr><td class="paramname">d</td><td>An optional deadline by which the i/o must complete, else it is cancelled. Note function may return significantly after this deadline if the i/o takes long to cancel. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Errors returnable\n Any of the values POSIX write() can return, errc::timed_out, errc::operation_canceled. errc::not_supported may be</dt><dd>returned if deadline i/o is not possible with this particular handle configuration (e.g. writing to regular files on POSIX or writing to a non-overlapped HANDLE on Windows). </dd></dl>
<dl class="section user"><dt>Memory Allocations\n The default synchronous implementation in file_handle performs no memory allocation.</dt><dd></dd></dl>
<div class="fragment"><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;{ <span class="keywordflow">return</span> (_ctx == <span class="keyword">nullptr</span>) ? <a class="code" href="classllfio__v2__xxx_1_1io__handle.html#a2102f73a4872e8fd8bbe1c71ef82c97f">_do_write</a>(reqs, d) : _do_multiplexer_write({}, std::move(reqs), d); }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a299dd43c5d218b0253e0ce9760c955ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a299dd43c5d218b0253e0ce9760c955ab">&#9670;&nbsp;</a></span>zero()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual result&lt;extent_type&gt; llfio_v2_xxx::file_handle::zero </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1file__handle_1_1extent__pair.html">extent_pair</a>&#160;</td>
          <td class="paramname"><em>extent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code><a class="el" href="structllfio__v2__xxx_1_1deadline.html">deadline</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Efficiently zero, and possibly deallocate, data on storage. </p>
<p>On most major operating systems and with recent filing systems which are "extents based", one can deallocate the physical storage of a file, causing the space deallocated to appear all bits zero. This call attempts to deallocate whole pages (usually 4Kb) entirely, and memset's any excess to all bits zero. This call works on most Linux filing systems with a recent kernel, Microsoft Windows with NTFS, and FreeBSD with ZFS. On other systems it simply writes zeros.</p>
<dl class="section return"><dt>Returns</dt><dd>The bytes zeroed. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">extent</td><td>The offset to start zeroing from and the number of bytes to zero. </td></tr>
    <tr><td class="paramname">d</td><td>An optional deadline by which the i/o must complete, else it is cancelled. Note function may return significantly after this deadline if the i/o takes long to cancel. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Errors returnable\n Any of the values POSIX write() can return, errc::timed_out, errc::operation_canceled.</dt><dd><code>errc::not_supported</code> may be returned if deadline i/o is not possible with this particular handle configuration (e.g. writing to regular files on POSIX or writing to a non-overlapped HANDLE on Windows). </dd></dl>
<dl class="section user"><dt>Memory Allocations\n The default synchronous implementation in file_handle performs no memory allocation.</dt><dd></dd></dl>

<p>Reimplemented in <a class="el" href="classllfio__v2__xxx_1_1fast__random__file__handle.html#a8393617b1f8ea7cc16ec5e15ee8166bd">llfio_v2_xxx::fast_random_file_handle</a>, and <a class="el" href="classllfio__v2__xxx_1_1mapped__file__handle.html#a85989f7ebfd02ed54fbfa0afa6550d90">llfio_v2_xxx::mapped_file_handle</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/llfio/v2.0/<a class="el" href="file__handle_8hpp.html">file_handle.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclassllfio__v2__xxx_1_1io__handle_html_a7848ef15e774eacec7e4446a8c365a3d"><div class="ttname"><a href="classllfio__v2__xxx_1_1io__handle.html#a7848ef15e774eacec7e4446a8c365a3d">llfio_v2_xxx::io_handle::write</a></div><div class="ttdeci">io_result&lt; const_buffers_type &gt; write(io_request&lt; const_buffers_type &gt; reqs, deadline d=deadline()) noexcept</div><div class="ttdoc">Write data to the open handle, preferentially using any i/o multiplexer set over the virtually overri...</div><div class="ttdef"><b>Definition:</b> io_handle.hpp:325</div></div>
<div class="ttc" id="aclassllfio__v2__xxx_1_1handle_html_af0b352d0f273ba6fa70c178b2c2fee42abba3bc579480e6c94ecd81b7b5923255"><div class="ttname"><a href="classllfio__v2__xxx_1_1handle.html#af0b352d0f273ba6fa70c178b2c2fee42abba3bc579480e6c94ecd81b7b5923255">llfio_v2_xxx::handle::creation::only_if_not_exist</a></div><div class="ttdeci">@ only_if_not_exist</div><div class="ttdoc">Filesystem entry must NOT exist, and is atomically created by the success of this operation.</div></div>
<div class="ttc" id="aclassllfio__v2__xxx_1_1io__handle_html_a6a1044eeb6ab16939e4669bbeb071b32"><div class="ttname"><a href="classllfio__v2__xxx_1_1io__handle.html#a6a1044eeb6ab16939e4669bbeb071b32">llfio_v2_xxx::io_handle::barrier</a></div><div class="ttdeci">virtual io_result&lt; const_buffers_type &gt; barrier(io_request&lt; const_buffers_type &gt; reqs=io_request&lt; const_buffers_type &gt;(), barrier_kind kind=barrier_kind::nowait_data_only, deadline d=deadline()) noexcept</div><div class="ttdoc">Issue a write reordering barrier such that writes preceding the barrier will reach storage before wri...</div><div class="ttdef"><b>Definition:</b> io_handle.hpp:376</div></div>
<div class="ttc" id="aclassllfio__v2__xxx_1_1io__handle_html_ad17b8879c355d86174187f198b70baaa"><div class="ttname"><a href="classllfio__v2__xxx_1_1io__handle.html#ad17b8879c355d86174187f198b70baaa">llfio_v2_xxx::io_handle::_do_allocate_registered_buffer</a></div><div class="ttdeci">virtual result&lt; registered_buffer_type &gt; _do_allocate_registered_buffer(size_t &amp;bytes) noexcept</div><div class="ttdoc">The virtualised implementation of allocate_registered_buffer() used if no multiplexer has been set.</div><div class="ttdef"><b>Definition:</b> map_handle.hpp:881</div></div>
<div class="ttc" id="aclassllfio__v2__xxx_1_1io__handle_html_a4379e3f84b913f606bb2ec6a194d4380"><div class="ttname"><a href="classllfio__v2__xxx_1_1io__handle.html#a4379e3f84b913f606bb2ec6a194d4380">llfio_v2_xxx::io_handle::_do_read</a></div><div class="ttdeci">virtual io_result&lt; buffers_type &gt; _do_read(io_request&lt; buffers_type &gt; reqs, deadline d) noexcept</div><div class="ttdoc">The virtualised implementation of read() used if no multiplexer has been set.</div></div>
<div class="ttc" id="aclassllfio__v2__xxx_1_1io__multiplexer_html_a00bf4ea26d854a7e8c9734f357d417f3"><div class="ttname"><a href="classllfio__v2__xxx_1_1io__multiplexer.html#a00bf4ea26d854a7e8c9734f357d417f3">llfio_v2_xxx::io_multiplexer::construct</a></div><div class="ttdeci">virtual io_operation_state * construct(span&lt; byte &gt; storage, io_handle *_h, io_operation_state_visitor *_visitor, registered_buffer_type &amp;&amp;b, deadline d, io_request&lt; buffers_type &gt; reqs) noexcept=0</div><div class="ttdoc">Constructs either a unsynchronised_io_operation_state or a synchronised_io_operation_state for a read...</div></div>
<div class="ttc" id="aclassllfio__v2__xxx_1_1io__multiplexer_html_a1cc4f56ad15d1bed49d68c56a278ad0c"><div class="ttname"><a href="classllfio__v2__xxx_1_1io__multiplexer.html#a1cc4f56ad15d1bed49d68c56a278ad0c">llfio_v2_xxx::io_multiplexer::do_io_handle_max_buffers</a></div><div class="ttdeci">virtual size_t do_io_handle_max_buffers(const io_handle *h) const noexcept</div><div class="ttdoc">Implements io_handle::max_buffers()</div><div class="ttdef"><b>Definition:</b> io_handle.hpp:504</div></div>
<div class="ttc" id="aclassllfio__v2__xxx_1_1file__handle_html_a8b7aa986243527fe224425f61c179709"><div class="ttname"><a href="classllfio__v2__xxx_1_1file__handle.html#a8b7aa986243527fe224425f61c179709">llfio_v2_xxx::file_handle::uniquely_named_file</a></div><div class="ttdeci">static result&lt; file_handle &gt; uniquely_named_file(const path_handle &amp;dirpath, mode _mode=mode::write, caching _caching=caching::temporary, flag flags=flag::none) noexcept</div><div class="ttdef"><b>Definition:</b> file_handle.hpp:163</div></div>
<div class="ttc" id="aclassllfio__v2__xxx_1_1file__handle_html_a09e6b3e9806b328a687a55e955b885a3"><div class="ttname"><a href="classllfio__v2__xxx_1_1file__handle.html#a09e6b3e9806b328a687a55e955b885a3">llfio_v2_xxx::file_handle::file</a></div><div class="ttdeci">static result&lt; file_handle &gt; file(const path_handle &amp;base, path_view_type path, mode _mode=mode::read, creation _creation=creation::open_existing, caching _caching=caching::all, flag flags=flag::none) noexcept</div></div>
<div class="ttc" id="anamespacellfio__v2__xxx_1_1utils_html_a6a29cf29a4b097411f6c1e5274bfb417"><div class="ttname"><a href="namespacellfio__v2__xxx_1_1utils.html#a6a29cf29a4b097411f6c1e5274bfb417">llfio_v2_xxx::utils::random_string</a></div><div class="ttdeci">std::string random_string(size_t randomlen)</div><div class="ttdoc">Returns a cryptographically random string capable of being used as a filename. Essentially random_fil...</div><div class="ttdef"><b>Definition:</b> utils.hpp:169</div></div>
<div class="ttc" id="aclassllfio__v2__xxx_1_1io__multiplexer_html_a3e79fd19de80e77c274b93d0d01b2f10"><div class="ttname"><a href="classllfio__v2__xxx_1_1io__multiplexer.html#a3e79fd19de80e77c274b93d0d01b2f10">llfio_v2_xxx::io_multiplexer::do_io_handle_allocate_registered_buffer</a></div><div class="ttdeci">virtual result&lt; registered_buffer_type &gt; do_io_handle_allocate_registered_buffer(io_handle *h, size_t &amp;bytes) noexcept</div><div class="ttdoc">Implements io_handle::allocate_registered_buffer()</div><div class="ttdef"><b>Definition:</b> io_handle.hpp:508</div></div>
<div class="ttc" id="anamespacellfio__v2__xxx_1_1path__discovery_html_a2dd74ea752f3f511d58ccccdcac7f4fd"><div class="ttname"><a href="namespacellfio__v2__xxx_1_1path__discovery.html#a2dd74ea752f3f511d58ccccdcac7f4fd">llfio_v2_xxx::path_discovery::storage_backed_temporary_files_directory</a></div><div class="ttdeci">const path_handle &amp; storage_backed_temporary_files_directory() noexcept</div><div class="ttdoc">Returns a reference to an open handle to a verified temporary directory where files created are store...</div></div>
<div class="ttc" id="aclassllfio__v2__xxx_1_1io__multiplexer_html_a7c9d163a9e1ca06acbce1f135cfef087"><div class="ttname"><a href="classllfio__v2__xxx_1_1io__multiplexer.html#a7c9d163a9e1ca06acbce1f135cfef087">llfio_v2_xxx::io_multiplexer::do_io_handle_deregister</a></div><div class="ttdeci">virtual result&lt; void &gt; do_io_handle_deregister(io_handle *) noexcept</div><div class="ttdoc">Implements io_handle deregistration.</div><div class="ttdef"><b>Definition:</b> io_multiplexer.hpp:476</div></div>
<div class="ttc" id="aclassllfio__v2__xxx_1_1io__handle_html_ae04ada27942187f03b59044cd1328f49"><div class="ttname"><a href="classllfio__v2__xxx_1_1io__handle.html#ae04ada27942187f03b59044cd1328f49">llfio_v2_xxx::io_handle::read</a></div><div class="ttdeci">io_result&lt; buffers_type &gt; read(io_request&lt; buffers_type &gt; reqs, deadline d=deadline()) noexcept</div><div class="ttdoc">Read data from the open handle, preferentially using any i/o multiplexer set over the virtually overr...</div><div class="ttdef"><b>Definition:</b> io_handle.hpp:283</div></div>
<div class="ttc" id="aclassllfio__v2__xxx_1_1io__handle_html_ae5ec845b3e2c2e31c2dc3de1d276a7e3"><div class="ttname"><a href="classllfio__v2__xxx_1_1io__handle.html#ae5ec845b3e2c2e31c2dc3de1d276a7e3">llfio_v2_xxx::io_handle::_do_max_buffers</a></div><div class="ttdeci">virtual size_t _do_max_buffers() const noexcept</div><div class="ttdoc">The virtualised implementation of max_buffers() used if no multiplexer has been set.</div></div>
<div class="ttc" id="aclassllfio__v2__xxx_1_1handle_html_a013936bc1254b1a47567fe29698d1b1c"><div class="ttname"><a href="classllfio__v2__xxx_1_1handle.html#a013936bc1254b1a47567fe29698d1b1c">llfio_v2_xxx::handle::flags</a></div><div class="ttdeci">flag flags() const noexcept</div><div class="ttdoc">The flags this handle was opened with.</div><div class="ttdef"><b>Definition:</b> handle.hpp:423</div></div>
<div class="ttc" id="aclassllfio__v2__xxx_1_1handle_html_ade2416b9154d1e56937c99cd514324f8"><div class="ttname"><a href="classllfio__v2__xxx_1_1handle.html#ade2416b9154d1e56937c99cd514324f8">llfio_v2_xxx::handle::is_multiplexable</a></div><div class="ttdeci">bool is_multiplexable() const noexcept</div><div class="ttdoc">True if multiplexable.</div><div class="ttdef"><b>Definition:</b> handle.hpp:358</div></div>
<div class="ttc" id="aclassllfio__v2__xxx_1_1io__handle_html_a0f1d67fa1ad7f0d0b1256b6138929d60"><div class="ttname"><a href="classllfio__v2__xxx_1_1io__handle.html#a0f1d67fa1ad7f0d0b1256b6138929d60">llfio_v2_xxx::io_handle::_do_barrier</a></div><div class="ttdeci">virtual io_result&lt; const_buffers_type &gt; _do_barrier(io_request&lt; const_buffers_type &gt; reqs, barrier_kind kind, deadline d) noexcept</div><div class="ttdoc">The virtualised implementation of barrier() used if no multiplexer has been set.</div></div>
<div class="ttc" id="aclassllfio__v2__xxx_1_1io__handle_html_a2102f73a4872e8fd8bbe1c71ef82c97f"><div class="ttname"><a href="classllfio__v2__xxx_1_1io__handle.html#a2102f73a4872e8fd8bbe1c71ef82c97f">llfio_v2_xxx::io_handle::_do_write</a></div><div class="ttdeci">virtual io_result&lt; const_buffers_type &gt; _do_write(io_request&lt; const_buffers_type &gt; reqs, deadline d) noexcept</div><div class="ttdoc">The virtualised implementation of write() used if no multiplexer has been set.</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacellfio__v2__xxx.html">llfio_v2_xxx</a></li><li class="navelem"><a class="el" href="classllfio__v2__xxx_1_1file__handle.html">file_handle</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>