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

classafio__v2__xxx_1_1map__handle.html - github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f69f50ed89280545f5b1eec1e3840ac073af2174 (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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.6"/>
<title>AFIO: afio_v2_xxx::map_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="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</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 style="padding-left: 0.5em;">
   <div id="projectname">AFIO
   &#160;<span id="projectnumber">v2.00 late alpha</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </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">
$(document).ready(function(){initNavTree('classafio__v2__xxx_1_1map__handle.html','');});
</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)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></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="#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-attribs">Protected Attributes</a> &#124;
<a href="classafio__v2__xxx_1_1map__handle-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">afio_v2_xxx::map_handle Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>A handle to a memory mapped region of memory.  
 <a href="classafio__v2__xxx_1_1map__handle.html#details">More...</a></p>

<p><code>#include &quot;map_handle.hpp&quot;</code></p>
<div class="dynheader">
Inheritance diagram for afio_v2_xxx::map_handle:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classafio__v2__xxx_1_1map__handle.png" usemap="#afio_v2_xxx::map_handle_map" alt=""/>
  <map id="afio_v2_xxx::map_handle_map" name="afio_v2_xxx::map_handle_map">
<area href="classafio__v2__xxx_1_1io__handle.html" title="A handle to something capable of scatter-gather i/o. " alt="afio_v2_xxx::io_handle" shape="rect" coords="0,56,153,80"/>
<area href="classafio__v2__xxx_1_1handle.html" title="A native_handle_type which is managed by the lifetime of this object instance. " alt="afio_v2_xxx::handle" shape="rect" coords="0,0,153,24"/>
</map>
 </div></div>
<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:a9cde0ddea1310cdec3db32ad69f29527"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9cde0ddea1310cdec3db32ad69f29527"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>extent_type</b> = io_handle::extent_type</td></tr>
<tr class="separator:a9cde0ddea1310cdec3db32ad69f29527"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26d90317426d6a95abb27caff26d1568"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a26d90317426d6a95abb27caff26d1568"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>size_type</b> = io_handle::size_type</td></tr>
<tr class="separator:a26d90317426d6a95abb27caff26d1568"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a2fc92b11c3dc6021436261eab13e48"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a2fc92b11c3dc6021436261eab13e48"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>mode</b> = <a class="el" href="classafio__v2__xxx_1_1handle.html#a0489b6c1e25cd2bad2ba1ec86e1aaf18">io_handle::mode</a></td></tr>
<tr class="separator:a4a2fc92b11c3dc6021436261eab13e48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d6628e75030c5f83dd679ff0a7a6d6b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1d6628e75030c5f83dd679ff0a7a6d6b"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>creation</b> = <a class="el" href="classafio__v2__xxx_1_1handle.html#a45ff5c1c5662623d99156870dfeee0a7">io_handle::creation</a></td></tr>
<tr class="separator:a1d6628e75030c5f83dd679ff0a7a6d6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e76ea37b167d23b43b27794282667f4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8e76ea37b167d23b43b27794282667f4"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>caching</b> = <a class="el" href="classafio__v2__xxx_1_1handle.html#a6f7e37c73271968271c2342023f58c9e">io_handle::caching</a></td></tr>
<tr class="separator:a8e76ea37b167d23b43b27794282667f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ac624b2af8f1cccdf87d80f5542b709"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4ac624b2af8f1cccdf87d80f5542b709"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>flag</b> = io_handle::flag</td></tr>
<tr class="separator:a4ac624b2af8f1cccdf87d80f5542b709"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45a37a4b395e125f84cd9a9e1995c504"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a45a37a4b395e125f84cd9a9e1995c504"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>buffer_type</b> = <a class="el" href="structafio__v2__xxx_1_1io__handle_1_1buffer__type.html">io_handle::buffer_type</a></td></tr>
<tr class="separator:a45a37a4b395e125f84cd9a9e1995c504"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe6c2e6318b90d83660f47f9a8ec24d1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abe6c2e6318b90d83660f47f9a8ec24d1"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>const_buffer_type</b> = <a class="el" href="structafio__v2__xxx_1_1io__handle_1_1const__buffer__type.html">io_handle::const_buffer_type</a></td></tr>
<tr class="separator:abe6c2e6318b90d83660f47f9a8ec24d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0af15b220ec3cfd1816206a5e795c934"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0af15b220ec3cfd1816206a5e795c934"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>buffers_type</b> = <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a70a3c5e6f62efc95db81f831f3b90a2c">io_handle::buffers_type</a></td></tr>
<tr class="separator:a0af15b220ec3cfd1816206a5e795c934"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a272e3e3dd846e5a4ee86e7193403500a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a272e3e3dd846e5a4ee86e7193403500a"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>const_buffers_type</b> = <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">io_handle::const_buffers_type</a></td></tr>
<tr class="separator:a272e3e3dd846e5a4ee86e7193403500a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9051ebc2ea492cdd7c14e01fbb5a3a92"><td class="memTemplParams" colspan="2"><a class="anchor" id="a9051ebc2ea492cdd7c14e01fbb5a3a92"></a>
template&lt;class T &gt; </td></tr>
<tr class="memitem:a9051ebc2ea492cdd7c14e01fbb5a3a92"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><b>io_request</b> = <a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__request.html">io_handle::io_request</a>&lt; T &gt;</td></tr>
<tr class="separator:a9051ebc2ea492cdd7c14e01fbb5a3a92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ea36471bce9cae1604da211a4afa779"><td class="memTemplParams" colspan="2"><a class="anchor" id="a1ea36471bce9cae1604da211a4afa779"></a>
template&lt;class T &gt; </td></tr>
<tr class="memitem:a1ea36471bce9cae1604da211a4afa779"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><b>io_result</b> = <a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__result.html">io_handle::io_result</a>&lt; T &gt;</td></tr>
<tr class="separator:a1ea36471bce9cae1604da211a4afa779"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacabd3633b7c08a422c3e912f6319959"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aacabd3633b7c08a422c3e912f6319959"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>path_type</b> = <a class="el" href="classafio__v2__xxx_1_1handle.html#a6c4df2242ece6f63ba7ef4e6baafaca6">handle::path_type</a></td></tr>
<tr class="separator:aacabd3633b7c08a422c3e912f6319959"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04971d1f6ab4059556caafb3ad0e19a3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a04971d1f6ab4059556caafb3ad0e19a3"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#a04971d1f6ab4059556caafb3ad0e19a3">unique_id_type</a> = QUICKCPPLIB_NAMESPACE::integers128::uint128</td></tr>
<tr class="memdesc:a04971d1f6ab4059556caafb3ad0e19a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">The unique identifier type used by this handle. <br/></td></tr>
<tr class="separator:a04971d1f6ab4059556caafb3ad0e19a3"><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:affbe8e19b49422cd1ec8880638cb6ac9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="affbe8e19b49422cd1ec8880638cb6ac9"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1map__handle.html#affbe8e19b49422cd1ec8880638cb6ac9">map_handle</a> ()</td></tr>
<tr class="memdesc:affbe8e19b49422cd1ec8880638cb6ac9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br/></td></tr>
<tr class="separator:affbe8e19b49422cd1ec8880638cb6ac9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abae695e1c1d89dce7ca686645a0213ee"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abae695e1c1d89dce7ca686645a0213ee"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1map__handle.html#abae695e1c1d89dce7ca686645a0213ee">map_handle</a> (<a class="el" href="classafio__v2__xxx_1_1map__handle.html">map_handle</a> &amp;&amp;o) noexcept</td></tr>
<tr class="memdesc:abae695e1c1d89dce7ca686645a0213ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implicit move construction of map_handle permitted. <br/></td></tr>
<tr class="separator:abae695e1c1d89dce7ca686645a0213ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2de383f07c16362890a8602d6089cef"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa2de383f07c16362890a8602d6089cef"></a>
<a class="el" href="classafio__v2__xxx_1_1map__handle.html">map_handle</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1map__handle.html#aa2de383f07c16362890a8602d6089cef">operator=</a> (<a class="el" href="classafio__v2__xxx_1_1map__handle.html">map_handle</a> &amp;&amp;o) noexcept</td></tr>
<tr class="memdesc:aa2de383f07c16362890a8602d6089cef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move assignment of map_handle permitted. <br/></td></tr>
<tr class="separator:aa2de383f07c16362890a8602d6089cef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a295685127f9dacc561b5f9600d82fad5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a295685127f9dacc561b5f9600d82fad5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1map__handle.html#a295685127f9dacc561b5f9600d82fad5">swap</a> (<a class="el" href="classafio__v2__xxx_1_1map__handle.html">map_handle</a> &amp;o) noexcept</td></tr>
<tr class="memdesc:a295685127f9dacc561b5f9600d82fad5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Swap with another instance. <br/></td></tr>
<tr class="separator:a295685127f9dacc561b5f9600d82fad5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1de468f5375b9da6fc14dd3cd76fa998"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1de468f5375b9da6fc14dd3cd76fa998"></a>
virtual result&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1map__handle.html#a1de468f5375b9da6fc14dd3cd76fa998">close</a> () noexceptoverride</td></tr>
<tr class="memdesc:a1de468f5375b9da6fc14dd3cd76fa998"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unmap the mapped view. <br/></td></tr>
<tr class="separator:a1de468f5375b9da6fc14dd3cd76fa998"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb8db753542d228ed96ce3fb4cb26b97"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afb8db753542d228ed96ce3fb4cb26b97"></a>
virtual <a class="el" href="structafio__v2__xxx_1_1native__handle__type.html">native_handle_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1map__handle.html#afb8db753542d228ed96ce3fb4cb26b97">release</a> () noexceptoverride</td></tr>
<tr class="memdesc:afb8db753542d228ed96ce3fb4cb26b97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Releases the mapped view, but does NOT release the native handle. <br/></td></tr>
<tr class="separator:afb8db753542d228ed96ce3fb4cb26b97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1f02d7f4c5a61ad9d0a09d2a501f97e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af1f02d7f4c5a61ad9d0a09d2a501f97e"></a>
virtual <a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__result.html">io_result</a><br class="typebreak"/>
&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">const_buffers_type</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>barrier</b> (<a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__request.html">io_request</a>&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">const_buffers_type</a> &gt; reqs=<a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__request.html">io_request</a>&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">const_buffers_type</a> &gt;(), bool wait_for_device=false, bool and_metadata=false, <a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a>()) noexceptoverride</td></tr>
<tr class="separator:af1f02d7f4c5a61ad9d0a09d2a501f97e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8a43a5388161f629fef5ee7256dbbc8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab8a43a5388161f629fef5ee7256dbbc8"></a>
<a class="el" href="classafio__v2__xxx_1_1section__handle.html">section_handle</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1map__handle.html#ab8a43a5388161f629fef5ee7256dbbc8">section</a> () const noexcept</td></tr>
<tr class="memdesc:ab8a43a5388161f629fef5ee7256dbbc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">The memory section this handle is using. <br/></td></tr>
<tr class="separator:ab8a43a5388161f629fef5ee7256dbbc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e9273d0c6aca7da6480437f6cf6638a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1e9273d0c6aca7da6480437f6cf6638a"></a>
char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1map__handle.html#a1e9273d0c6aca7da6480437f6cf6638a">address</a> () const noexcept</td></tr>
<tr class="memdesc:a1e9273d0c6aca7da6480437f6cf6638a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The address in memory where this mapped view resides. <br/></td></tr>
<tr class="separator:a1e9273d0c6aca7da6480437f6cf6638a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac049430769b0fa1d06c93160cef5a2f9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac049430769b0fa1d06c93160cef5a2f9"></a>
<a class="el" href="classafio__v2__xxx_1_1handle.html#a818fff07c92eaab72532092d1c2a14f9">extent_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1map__handle.html#ac049430769b0fa1d06c93160cef5a2f9">offset</a> () const noexcept</td></tr>
<tr class="memdesc:ac049430769b0fa1d06c93160cef5a2f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">The offset of the memory map. <br/></td></tr>
<tr class="separator:ac049430769b0fa1d06c93160cef5a2f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba6ebe9afaccfaf59a92c5b85c72e7d2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aba6ebe9afaccfaf59a92c5b85c72e7d2"></a>
<a class="el" href="classafio__v2__xxx_1_1handle.html#a0adf7fa00e23ed561328f473986e9ccc">size_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1map__handle.html#aba6ebe9afaccfaf59a92c5b85c72e7d2">length</a> () const noexcept</td></tr>
<tr class="memdesc:aba6ebe9afaccfaf59a92c5b85c72e7d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">The size of the memory map. <br/></td></tr>
<tr class="separator:aba6ebe9afaccfaf59a92c5b85c72e7d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e2e22376e63670584421cd055c1b6ff"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9e2e22376e63670584421cd055c1b6ff"></a>
result&lt; <a class="el" href="structafio__v2__xxx_1_1io__handle_1_1buffer__type.html">buffer_type</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1map__handle.html#a9e2e22376e63670584421cd055c1b6ff">commit</a> (<a class="el" href="structafio__v2__xxx_1_1io__handle_1_1buffer__type.html">buffer_type</a> region, section_handle::flag _flag=section_handle::flag::read|section_handle::flag::write) noexcept</td></tr>
<tr class="memdesc:a9e2e22376e63670584421cd055c1b6ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ask the system to commit the system resources to make the memory represented by the buffer available with the given permissions. addr and length should be page aligned (see utils::page_sizes()), if not the returned buffer is the region actually committed. <br/></td></tr>
<tr class="separator:a9e2e22376e63670584421cd055c1b6ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b69e8faa8a9e47dec1b1a123c722a3e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5b69e8faa8a9e47dec1b1a123c722a3e"></a>
result&lt; <a class="el" href="structafio__v2__xxx_1_1io__handle_1_1buffer__type.html">buffer_type</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1map__handle.html#a5b69e8faa8a9e47dec1b1a123c722a3e">decommit</a> (<a class="el" href="structafio__v2__xxx_1_1io__handle_1_1buffer__type.html">buffer_type</a> region) noexcept</td></tr>
<tr class="memdesc:a5b69e8faa8a9e47dec1b1a123c722a3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ask the system to make the memory represented by the buffer unavailable and to decommit the system resources representing them. addr and length should be page aligned (see utils::page_sizes()), if not the returned buffer is the region actually decommitted. <br/></td></tr>
<tr class="separator:a5b69e8faa8a9e47dec1b1a123c722a3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac35a85e8a6cca721640ddc6b5008e145"><td class="memItemLeft" align="right" valign="top">result&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1map__handle.html#ac35a85e8a6cca721640ddc6b5008e145">zero_memory</a> (<a class="el" href="structafio__v2__xxx_1_1io__handle_1_1buffer__type.html">buffer_type</a> region) noexcept</td></tr>
<tr class="separator:ac35a85e8a6cca721640ddc6b5008e145"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa25715985351f79e034bb1ef37f74824"><td class="memItemLeft" align="right" valign="top">result&lt; <a class="el" href="structafio__v2__xxx_1_1io__handle_1_1buffer__type.html">buffer_type</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1map__handle.html#aa25715985351f79e034bb1ef37f74824">do_not_store</a> (<a class="el" href="structafio__v2__xxx_1_1io__handle_1_1buffer__type.html">buffer_type</a> region) noexcept</td></tr>
<tr class="separator:aa25715985351f79e034bb1ef37f74824"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad50026d4eca2ddd77b5f9877666857b8"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__result.html">io_result</a>&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a70a3c5e6f62efc95db81f831f3b90a2c">buffers_type</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1map__handle.html#ad50026d4eca2ddd77b5f9877666857b8">read</a> (<a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__request.html">io_request</a>&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a70a3c5e6f62efc95db81f831f3b90a2c">buffers_type</a> &gt; reqs, <a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a>()) noexceptoverride</td></tr>
<tr class="memdesc:ad50026d4eca2ddd77b5f9877666857b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read data from the mapped view.  <a href="#ad50026d4eca2ddd77b5f9877666857b8">More...</a><br/></td></tr>
<tr class="separator:ad50026d4eca2ddd77b5f9877666857b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a162d844e3dfcfcfad698a404bd55ef04"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__result.html">io_result</a><br class="typebreak"/>
&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">const_buffers_type</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1map__handle.html#a162d844e3dfcfcfad698a404bd55ef04">write</a> (<a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__request.html">io_request</a>&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">const_buffers_type</a> &gt; reqs, <a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a>()) noexceptoverride</td></tr>
<tr class="memdesc:a162d844e3dfcfcfad698a404bd55ef04"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write data to the mapped view.  <a href="#a162d844e3dfcfcfad698a404bd55ef04">More...</a><br/></td></tr>
<tr class="separator:a162d844e3dfcfcfad698a404bd55ef04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71d7636f40607829cacc2c974c4a2a28"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__result.html">io_result</a>&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a70a3c5e6f62efc95db81f831f3b90a2c">buffers_type</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1io__handle.html#a71d7636f40607829cacc2c974c4a2a28">read</a> (<a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__request.html">io_request</a>&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a70a3c5e6f62efc95db81f831f3b90a2c">buffers_type</a> &gt; reqs, <a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="memdesc:a71d7636f40607829cacc2c974c4a2a28"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read data from the open handle.  <a href="#a71d7636f40607829cacc2c974c4a2a28">More...</a><br/></td></tr>
<tr class="separator:a71d7636f40607829cacc2c974c4a2a28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8af6c6dc1502d40f6aaccc83e49d5342"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__result.html">io_result</a>&lt; <a class="el" href="structafio__v2__xxx_1_1io__handle_1_1buffer__type.html">buffer_type</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1io__handle.html#a8af6c6dc1502d40f6aaccc83e49d5342">read</a> (<a class="el" href="classafio__v2__xxx_1_1handle.html#a818fff07c92eaab72532092d1c2a14f9">extent_type</a> <a class="el" href="classafio__v2__xxx_1_1map__handle.html#ac049430769b0fa1d06c93160cef5a2f9">offset</a>, char *data, <a class="el" href="classafio__v2__xxx_1_1handle.html#a0adf7fa00e23ed561328f473986e9ccc">size_type</a> bytes, <a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="separator:a8af6c6dc1502d40f6aaccc83e49d5342"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefac4710e5617264347f437b04732c01"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__result.html">io_result</a><br class="typebreak"/>
&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">const_buffers_type</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1io__handle.html#aefac4710e5617264347f437b04732c01">write</a> (<a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__request.html">io_request</a>&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">const_buffers_type</a> &gt; reqs, <a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="memdesc:aefac4710e5617264347f437b04732c01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write data to the open handle.  <a href="#aefac4710e5617264347f437b04732c01">More...</a><br/></td></tr>
<tr class="separator:aefac4710e5617264347f437b04732c01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab26a3c5a18cdcc67a506533dbe55e2b3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__result.html">io_result</a>&lt; <a class="el" href="structafio__v2__xxx_1_1io__handle_1_1const__buffer__type.html">const_buffer_type</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1io__handle.html#ab26a3c5a18cdcc67a506533dbe55e2b3">write</a> (<a class="el" href="classafio__v2__xxx_1_1handle.html#a818fff07c92eaab72532092d1c2a14f9">extent_type</a> <a class="el" href="classafio__v2__xxx_1_1map__handle.html#ac049430769b0fa1d06c93160cef5a2f9">offset</a>, const char *data, <a class="el" href="classafio__v2__xxx_1_1handle.html#a0adf7fa00e23ed561328f473986e9ccc">size_type</a> bytes, <a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="separator:ab26a3c5a18cdcc67a506533dbe55e2b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a243156928e89b8988a1412f211b3b603"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__result.html">io_result</a><br class="typebreak"/>
&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">const_buffers_type</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1io__handle.html#a243156928e89b8988a1412f211b3b603">barrier</a> (<a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__request.html">io_request</a>&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">const_buffers_type</a> &gt; reqs=<a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__request.html">io_request</a>&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">const_buffers_type</a> &gt;(), bool wait_for_device=false, bool and_metadata=false, <a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept=0</td></tr>
<tr class="memdesc:a243156928e89b8988a1412f211b3b603"><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.  <a href="#a243156928e89b8988a1412f211b3b603">More...</a><br/></td></tr>
<tr class="separator:a243156928e89b8988a1412f211b3b603"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88689b15e6e8b6ce1f945737dee4369e"><td class="memItemLeft" align="right" valign="top">virtual result&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle_1_1extent__guard.html">extent_guard</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1io__handle.html#a88689b15e6e8b6ce1f945737dee4369e">lock</a> (<a class="el" href="classafio__v2__xxx_1_1handle.html#a818fff07c92eaab72532092d1c2a14f9">extent_type</a> <a class="el" href="classafio__v2__xxx_1_1map__handle.html#ac049430769b0fa1d06c93160cef5a2f9">offset</a>, <a class="el" href="classafio__v2__xxx_1_1handle.html#a818fff07c92eaab72532092d1c2a14f9">extent_type</a> bytes, bool exclusive=true, <a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="memdesc:a88689b15e6e8b6ce1f945737dee4369e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tries to lock the range of bytes specified for shared or exclusive access. Be aware this passes through the same semantics as the underlying OS call, including any POSIX insanity present on your platform.  <a href="#a88689b15e6e8b6ce1f945737dee4369e">More...</a><br/></td></tr>
<tr class="separator:a88689b15e6e8b6ce1f945737dee4369e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad44dcd9c7ca9e7a094dd1bc7c8aa4897"><td class="memItemLeft" align="right" valign="top">result&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle_1_1extent__guard.html">extent_guard</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1io__handle.html#ad44dcd9c7ca9e7a094dd1bc7c8aa4897">lock</a> (<a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__request.html">io_request</a>&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a70a3c5e6f62efc95db81f831f3b90a2c">buffers_type</a> &gt; reqs, <a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="separator:ad44dcd9c7ca9e7a094dd1bc7c8aa4897"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeabd245b6edcfb57779b29c6f2ea9737"><td class="memItemLeft" align="right" valign="top">result&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle_1_1extent__guard.html">extent_guard</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1io__handle.html#aeabd245b6edcfb57779b29c6f2ea9737">lock</a> (<a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__request.html">io_request</a>&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">const_buffers_type</a> &gt; reqs, <a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a> d=<a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a>()) noexcept</td></tr>
<tr class="separator:aeabd245b6edcfb57779b29c6f2ea9737"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a1c4773b9fa7bbd04fee0756075d319"><td class="memItemLeft" align="right" valign="top">result&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle_1_1extent__guard.html">extent_guard</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1io__handle.html#a0a1c4773b9fa7bbd04fee0756075d319">try_lock</a> (<a class="el" href="classafio__v2__xxx_1_1handle.html#a818fff07c92eaab72532092d1c2a14f9">extent_type</a> <a class="el" href="classafio__v2__xxx_1_1map__handle.html#ac049430769b0fa1d06c93160cef5a2f9">offset</a>, <a class="el" href="classafio__v2__xxx_1_1handle.html#a818fff07c92eaab72532092d1c2a14f9">extent_type</a> bytes, bool exclusive=true) noexcept</td></tr>
<tr class="separator:a0a1c4773b9fa7bbd04fee0756075d319"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96b9da71ee7791fbaaa2470c936ec763"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1io__handle.html#a96b9da71ee7791fbaaa2470c936ec763">unlock</a> (<a class="el" href="classafio__v2__xxx_1_1handle.html#a818fff07c92eaab72532092d1c2a14f9">extent_type</a> <a class="el" href="classafio__v2__xxx_1_1map__handle.html#ac049430769b0fa1d06c93160cef5a2f9">offset</a>, <a class="el" href="classafio__v2__xxx_1_1handle.html#a818fff07c92eaab72532092d1c2a14f9">extent_type</a> bytes) noexcept</td></tr>
<tr class="memdesc:a96b9da71ee7791fbaaa2470c936ec763"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unlocks a byte range previously locked.  <a href="#a96b9da71ee7791fbaaa2470c936ec763">More...</a><br/></td></tr>
<tr class="separator:a96b9da71ee7791fbaaa2470c936ec763"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a657c12a309cf02bf2351bfcc7f41463b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a657c12a309cf02bf2351bfcc7f41463b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#a657c12a309cf02bf2351bfcc7f41463b">swap</a> (<a class="el" href="classafio__v2__xxx_1_1handle.html">handle</a> &amp;o) noexcept</td></tr>
<tr class="memdesc:a657c12a309cf02bf2351bfcc7f41463b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Swap with another instance. <br/></td></tr>
<tr class="separator:a657c12a309cf02bf2351bfcc7f41463b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d633fb0752e739e057503fbf5dc6e80"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1d633fb0752e739e057503fbf5dc6e80"></a>
virtual <a class="el" href="classafio__v2__xxx_1_1handle.html#a04971d1f6ab4059556caafb3ad0e19a3">unique_id_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#a1d633fb0752e739e057503fbf5dc6e80">unique_id</a> () const noexcept</td></tr>
<tr class="memdesc:a1d633fb0752e739e057503fbf5dc6e80"><td class="mdescLeft">&#160;</td><td class="mdescRight">A unique identifier for this handle in this process (native handle). Subclasses like <code>file_handle</code> make this a unique identifier across the entire system. <br/></td></tr>
<tr class="separator:a1d633fb0752e739e057503fbf5dc6e80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a616a67222676af5ec5b3aa94d7c02428"><td class="memItemLeft" align="right" valign="top">virtual result&lt; <a class="el" href="classafio__v2__xxx_1_1handle.html#a6c4df2242ece6f63ba7ef4e6baafaca6">path_type</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#a616a67222676af5ec5b3aa94d7c02428">current_path</a> () const noexcept</td></tr>
<tr class="separator:a616a67222676af5ec5b3aa94d7c02428"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54790e954f57372b87b095451cc79c38"><td class="memItemLeft" align="right" valign="top">result&lt; <a class="el" href="classafio__v2__xxx_1_1handle.html">handle</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#a54790e954f57372b87b095451cc79c38">clone</a> () const noexcept</td></tr>
<tr class="separator:a54790e954f57372b87b095451cc79c38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4194a05dd9694d2c47d5a45f925db1d7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4194a05dd9694d2c47d5a45f925db1d7"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#a4194a05dd9694d2c47d5a45f925db1d7">is_valid</a> () const noexcept</td></tr>
<tr class="memdesc:a4194a05dd9694d2c47d5a45f925db1d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if the handle is valid (and usually open) <br/></td></tr>
<tr class="separator:a4194a05dd9694d2c47d5a45f925db1d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a349e001cbe359d4e7a8f066c69e9361e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a349e001cbe359d4e7a8f066c69e9361e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#a349e001cbe359d4e7a8f066c69e9361e">is_readable</a> () const noexcept</td></tr>
<tr class="memdesc:a349e001cbe359d4e7a8f066c69e9361e"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if the handle is readable. <br/></td></tr>
<tr class="separator:a349e001cbe359d4e7a8f066c69e9361e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5be9a526bc5c1be758b0cfc36a262f6e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5be9a526bc5c1be758b0cfc36a262f6e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#a5be9a526bc5c1be758b0cfc36a262f6e">is_writable</a> () const noexcept</td></tr>
<tr class="memdesc:a5be9a526bc5c1be758b0cfc36a262f6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if the handle is writable. <br/></td></tr>
<tr class="separator:a5be9a526bc5c1be758b0cfc36a262f6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae33d4d0faa1377cd371bd6a0ae0769ae"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae33d4d0faa1377cd371bd6a0ae0769ae"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#ae33d4d0faa1377cd371bd6a0ae0769ae">is_append_only</a> () const noexcept</td></tr>
<tr class="memdesc:ae33d4d0faa1377cd371bd6a0ae0769ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if the handle is append only. <br/></td></tr>
<tr class="separator:ae33d4d0faa1377cd371bd6a0ae0769ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1610ec7fb0a41f039e3e17e0dc467ab"><td class="memItemLeft" align="right" valign="top">virtual result&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#af1610ec7fb0a41f039e3e17e0dc467ab">set_append_only</a> (bool enable) noexcept</td></tr>
<tr class="separator:af1610ec7fb0a41f039e3e17e0dc467ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af42904dd49b5517a303e7cb256eae939"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af42904dd49b5517a303e7cb256eae939"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#af42904dd49b5517a303e7cb256eae939">is_overlapped</a> () const noexcept</td></tr>
<tr class="memdesc:af42904dd49b5517a303e7cb256eae939"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if overlapped. <br/></td></tr>
<tr class="separator:af42904dd49b5517a303e7cb256eae939"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac62f621c42be6eeb8d9a5700da367f9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aac62f621c42be6eeb8d9a5700da367f9"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#aac62f621c42be6eeb8d9a5700da367f9">is_seekable</a> () const noexcept</td></tr>
<tr class="memdesc:aac62f621c42be6eeb8d9a5700da367f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if seekable. <br/></td></tr>
<tr class="separator:aac62f621c42be6eeb8d9a5700da367f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affb10caeeca67b804695b7378be29e23"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="affb10caeeca67b804695b7378be29e23"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#affb10caeeca67b804695b7378be29e23">requires_aligned_io</a> () const noexcept</td></tr>
<tr class="memdesc:affb10caeeca67b804695b7378be29e23"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if requires aligned i/o. <br/></td></tr>
<tr class="separator:affb10caeeca67b804695b7378be29e23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a526c300d421155ccc071b04db4bca65d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a526c300d421155ccc071b04db4bca65d"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#a526c300d421155ccc071b04db4bca65d">is_regular</a> () const noexcept</td></tr>
<tr class="memdesc:a526c300d421155ccc071b04db4bca65d"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a regular file or device. <br/></td></tr>
<tr class="separator:a526c300d421155ccc071b04db4bca65d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa53d88105df8c6be01be649829a65b14"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa53d88105df8c6be01be649829a65b14"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#aa53d88105df8c6be01be649829a65b14">is_directory</a> () const noexcept</td></tr>
<tr class="memdesc:aa53d88105df8c6be01be649829a65b14"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a directory. <br/></td></tr>
<tr class="separator:aa53d88105df8c6be01be649829a65b14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c777f045dc2b0248b891d6e7811d152"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3c777f045dc2b0248b891d6e7811d152"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#a3c777f045dc2b0248b891d6e7811d152">is_symlink</a> () const noexcept</td></tr>
<tr class="memdesc:a3c777f045dc2b0248b891d6e7811d152"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a symlink. <br/></td></tr>
<tr class="separator:a3c777f045dc2b0248b891d6e7811d152"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab790af4654f5455d8c5e1f1d397543ca"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab790af4654f5455d8c5e1f1d397543ca"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#ab790af4654f5455d8c5e1f1d397543ca">is_multiplexer</a> () const noexcept</td></tr>
<tr class="memdesc:ab790af4654f5455d8c5e1f1d397543ca"><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:ab790af4654f5455d8c5e1f1d397543ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad02958278a0d92e4ec4fb864ba1eb35b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad02958278a0d92e4ec4fb864ba1eb35b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#ad02958278a0d92e4ec4fb864ba1eb35b">is_process</a> () const noexcept</td></tr>
<tr class="memdesc:ad02958278a0d92e4ec4fb864ba1eb35b"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a process. <br/></td></tr>
<tr class="separator:ad02958278a0d92e4ec4fb864ba1eb35b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5b2859fabe04dbfc37020daed618257"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac5b2859fabe04dbfc37020daed618257"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#ac5b2859fabe04dbfc37020daed618257">is_section</a> () const noexcept</td></tr>
<tr class="memdesc:ac5b2859fabe04dbfc37020daed618257"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if a memory section. <br/></td></tr>
<tr class="separator:ac5b2859fabe04dbfc37020daed618257"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00f42a44de714feb3ed86dd0a175e69c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a00f42a44de714feb3ed86dd0a175e69c"></a>
<a class="el" href="classafio__v2__xxx_1_1handle.html#a6f7e37c73271968271c2342023f58c9e">caching</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#a00f42a44de714feb3ed86dd0a175e69c">kernel_caching</a> () const noexcept</td></tr>
<tr class="memdesc:a00f42a44de714feb3ed86dd0a175e69c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Kernel cache strategy used by this handle. <br/></td></tr>
<tr class="separator:a00f42a44de714feb3ed86dd0a175e69c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71137cb82edd9a1bcb24f64886b5826d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a71137cb82edd9a1bcb24f64886b5826d"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#a71137cb82edd9a1bcb24f64886b5826d">are_reads_from_cache</a> () const noexcept</td></tr>
<tr class="memdesc:a71137cb82edd9a1bcb24f64886b5826d"><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:a71137cb82edd9a1bcb24f64886b5826d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97ffbbf53f51549549efef0b49e125dc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a97ffbbf53f51549549efef0b49e125dc"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#a97ffbbf53f51549549efef0b49e125dc">are_writes_durable</a> () const noexcept</td></tr>
<tr class="memdesc:a97ffbbf53f51549549efef0b49e125dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if writes are safely on storage on completion. <br/></td></tr>
<tr class="separator:a97ffbbf53f51549549efef0b49e125dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fc7db93fac699f5ecad453642ed314e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3fc7db93fac699f5ecad453642ed314e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#a3fc7db93fac699f5ecad453642ed314e">are_safety_fsyncs_issued</a> () const noexcept</td></tr>
<tr class="memdesc:a3fc7db93fac699f5ecad453642ed314e"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if issuing safety fsyncs is on. <br/></td></tr>
<tr class="separator:a3fc7db93fac699f5ecad453642ed314e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad90f8264470763069256ae9eeda45e69"><td class="memItemLeft" align="right" valign="top">virtual result&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#ad90f8264470763069256ae9eeda45e69">set_kernel_caching</a> (<a class="el" href="classafio__v2__xxx_1_1handle.html#a6f7e37c73271968271c2342023f58c9e">caching</a> <a class="el" href="classafio__v2__xxx_1_1handle.html#a6f7e37c73271968271c2342023f58c9e">caching</a>) noexcept</td></tr>
<tr class="separator:ad90f8264470763069256ae9eeda45e69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3d876f5996605158fd6a0582adadad6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab3d876f5996605158fd6a0582adadad6"></a>
flag&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#ab3d876f5996605158fd6a0582adadad6">flags</a> () const noexcept</td></tr>
<tr class="memdesc:ab3d876f5996605158fd6a0582adadad6"><td class="mdescLeft">&#160;</td><td class="mdescRight">The flags this handle was opened with. <br/></td></tr>
<tr class="separator:ab3d876f5996605158fd6a0582adadad6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a875440f1b368472f1840c70c266f3a48"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a875440f1b368472f1840c70c266f3a48"></a>
<a class="el" href="structafio__v2__xxx_1_1native__handle__type.html">native_handle_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1handle.html#a875440f1b368472f1840c70c266f3a48">native_handle</a> () const noexcept</td></tr>
<tr class="memdesc:a875440f1b368472f1840c70c266f3a48"><td class="mdescLeft">&#160;</td><td class="mdescRight">The native handle used by this handle. <br/></td></tr>
<tr class="separator:a875440f1b368472f1840c70c266f3a48"><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:af5f18eca79c68d7db2923c2817d1c6fb"><td class="memItemLeft" align="right" valign="top">static result&lt; <a class="el" href="classafio__v2__xxx_1_1map__handle.html">map_handle</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1map__handle.html#af5f18eca79c68d7db2923c2817d1c6fb">map</a> (<a class="el" href="classafio__v2__xxx_1_1handle.html#a0adf7fa00e23ed561328f473986e9ccc">size_type</a> bytes, section_handle::flag _flag=section_handle::flag::read|section_handle::flag::write) noexcept</td></tr>
<tr class="separator:af5f18eca79c68d7db2923c2817d1c6fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a820a00dbe33ffa034e1c4fe15aa89193"><td class="memItemLeft" align="right" valign="top">static result&lt; <a class="el" href="classafio__v2__xxx_1_1map__handle.html">map_handle</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1map__handle.html#a820a00dbe33ffa034e1c4fe15aa89193">map</a> (<a class="el" href="classafio__v2__xxx_1_1section__handle.html">section_handle</a> &amp;<a class="el" href="classafio__v2__xxx_1_1map__handle.html#ab8a43a5388161f629fef5ee7256dbbc8">section</a>, <a class="el" href="classafio__v2__xxx_1_1handle.html#a0adf7fa00e23ed561328f473986e9ccc">size_type</a> bytes=0, <a class="el" href="classafio__v2__xxx_1_1handle.html#a818fff07c92eaab72532092d1c2a14f9">extent_type</a> <a class="el" href="classafio__v2__xxx_1_1map__handle.html#ac049430769b0fa1d06c93160cef5a2f9">offset</a>=0, section_handle::flag _flag=section_handle::flag::read|section_handle::flag::write) noexcept</td></tr>
<tr class="separator:a820a00dbe33ffa034e1c4fe15aa89193"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae16cb0af9b96f90f87f42318f7d35e65"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae16cb0af9b96f90f87f42318f7d35e65"></a>
static result&lt; span<br class="typebreak"/>
&lt; <a class="el" href="structafio__v2__xxx_1_1io__handle_1_1buffer__type.html">buffer_type</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1map__handle.html#ae16cb0af9b96f90f87f42318f7d35e65">prefetch</a> (span&lt; <a class="el" href="structafio__v2__xxx_1_1io__handle_1_1buffer__type.html">buffer_type</a> &gt; regions) noexcept</td></tr>
<tr class="memdesc:ae16cb0af9b96f90f87f42318f7d35e65"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ask the system to begin to asynchronously prefetch the span of memory regions given, returning the regions actually prefetched. Note that on Windows 7 or earlier the system call to implement this was not available, and so you will see an empty span returned. <br/></td></tr>
<tr class="separator:ae16cb0af9b96f90f87f42318f7d35e65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab569da5c3ffa64200f8b10dbe683bbc8"><td class="memItemLeft" align="right" valign="top">static result&lt; <a class="el" href="structafio__v2__xxx_1_1io__handle_1_1buffer__type.html">buffer_type</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classafio__v2__xxx_1_1map__handle.html#ab569da5c3ffa64200f8b10dbe683bbc8">prefetch</a> (<a class="el" href="structafio__v2__xxx_1_1io__handle_1_1buffer__type.html">buffer_type</a> region) noexcept</td></tr>
<tr class="separator:ab569da5c3ffa64200f8b10dbe683bbc8"><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:a735b3ed30ff1387c9af82dccb6147545"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a735b3ed30ff1387c9af82dccb6147545"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>map_handle</b> (<a class="el" href="classafio__v2__xxx_1_1section__handle.html">section_handle</a> *<a class="el" href="classafio__v2__xxx_1_1map__handle.html#ab8a43a5388161f629fef5ee7256dbbc8">section</a>)</td></tr>
<tr class="separator:a735b3ed30ff1387c9af82dccb6147545"><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:af776fe76eb1e2e493d9d2ddbde0b150c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af776fe76eb1e2e493d9d2ddbde0b150c"></a>
<a class="el" href="classafio__v2__xxx_1_1section__handle.html">section_handle</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>_section</b></td></tr>
<tr class="separator:af776fe76eb1e2e493d9d2ddbde0b150c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af85f9116968f2a2900640846009f48ea"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af85f9116968f2a2900640846009f48ea"></a>
char *&#160;</td><td class="memItemRight" valign="bottom"><b>_addr</b></td></tr>
<tr class="separator:af85f9116968f2a2900640846009f48ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b7bae1f24ec1ae96822fb865bfd0ea5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5b7bae1f24ec1ae96822fb865bfd0ea5"></a>
<a class="el" href="classafio__v2__xxx_1_1handle.html#a818fff07c92eaab72532092d1c2a14f9">extent_type</a>&#160;</td><td class="memItemRight" valign="bottom"><b>_offset</b></td></tr>
<tr class="separator:a5b7bae1f24ec1ae96822fb865bfd0ea5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adffdff916ccf13d88a02ddb6b6a421c8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adffdff916ccf13d88a02ddb6b6a421c8"></a>
<a class="el" href="classafio__v2__xxx_1_1handle.html#a0adf7fa00e23ed561328f473986e9ccc">size_type</a>&#160;</td><td class="memItemRight" valign="bottom"><b>_length</b></td></tr>
<tr class="separator:adffdff916ccf13d88a02ddb6b6a421c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af024e3d92d9a01ac367734e9cdc517fb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af024e3d92d9a01ac367734e9cdc517fb"></a>
<a class="el" href="classafio__v2__xxx_1_1handle.html#a6f7e37c73271968271c2342023f58c9e">caching</a>&#160;</td><td class="memItemRight" valign="bottom"><b>_caching</b></td></tr>
<tr class="separator:af024e3d92d9a01ac367734e9cdc517fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac46e0a296c31fcd0a996a79d78647fb6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac46e0a296c31fcd0a996a79d78647fb6"></a>
flag&#160;</td><td class="memItemRight" valign="bottom"><b>_flags</b></td></tr>
<tr class="separator:ac46e0a296c31fcd0a996a79d78647fb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a771ef2bf39ad784eb6265dde077792ad"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a771ef2bf39ad784eb6265dde077792ad"></a>
<a class="el" href="structafio__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:a771ef2bf39ad784eb6265dde077792ad"><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 memory mapped region of memory. </p>
<dl class="section note"><dt>Note</dt><dd>The native handle returned by this map handle is always that of the backing storage, but closing this handle does not close that of the backing storage, nor does releasing this handle release that of the backing storage. Locking byte ranges of this handle is therefore equal to locking byte ranges in the original backing storage. </dd></dl>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a243156928e89b8988a1412f211b3b603"></a>
<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="structafio__v2__xxx_1_1io__handle_1_1io__result.html">io_result</a>&lt;<a class="el" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">const_buffers_type</a>&gt; afio_v2_xxx::io_handle::barrier </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__request.html">io_request</a>&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">const_buffers_type</a> &gt;&#160;</td>
          <td class="paramname"><em>reqs</em> = <code><a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__request.html">io_request</a>&lt;&#160;<a class="el" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">const_buffers_type</a>&#160;&gt;()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>wait_for_device</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>and_metadata</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code><a class="el" href="structafio__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">pure 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. </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. It may be ignored entirely.</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">wait_for_device</td><td>True if you want the call to wait until data reaches storage and that storage has acknowledged the data is physically written. Slow. </td></tr>
    <tr><td class="paramname">and_metadata</td><td>True if you want the call to sync the metadata for retrieving the writes before the barrier after a sudden power loss event. Slow. </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</dt><dd>Any of the values POSIX fdatasync() or Windows NtFlushBuffersFileEx() can return. </dd></dl>
<dl class="section user"><dt>Memory Allocations</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="a54790e954f57372b87b095451cc79c38"></a>
<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="classafio__v2__xxx_1_1handle.html">handle</a>&gt; afio_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</dt><dd>Any of the values POSIX dup() or DuplicateHandle() can return. </dd></dl>

</div>
</div>
<a class="anchor" id="a616a67222676af5ec5b3aa94d7c02428"></a>
<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="classafio__v2__xxx_1_1handle.html#a6c4df2242ece6f63ba7ef4e6baafaca6">path_type</a>&gt; afio_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, many operating systems will return some different path which still reaches the same inode via some other route e.g. hardlinks, dereferenced symbolic links, etc.</p>
<p>If AFIO was not able to determine the current path for this open handle e.g. the inode has been unlinked, it returns an empty path. Some operating systems e.g. FreeBSD also only can fetch the current path for directory inodes, not file inodes.</p>
<dl class="section warning"><dt>Warning</dt><dd>This call is expensive, it always asks the kernel for the current path, and if <code>disable_safety_unlinks</code> is off (the default) it checks the path returned to ensure it does actually point at the correct inode. 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>

</div>
</div>
<a class="anchor" id="aa25715985351f79e034bb1ef37f74824"></a>
<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="structafio__v2__xxx_1_1io__handle_1_1buffer__type.html">buffer_type</a>&gt; afio_v2_xxx::map_handle::do_not_store </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structafio__v2__xxx_1_1io__handle_1_1buffer__type.html">buffer_type</a>&#160;</td>
          <td class="paramname"><em>region</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>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Ask the system to unset the dirty flag for the memory represented by the buffer. This will prevent any changes not yet sent to the backing storage from being sent in the future, also if the system kicks out this page and reloads it you may see some edition of the underlying storage instead of what was here. addr and length should be page aligned (see utils::page_sizes()), if not the returned buffer is the region actually undirtied.</p>
<dl class="section warning"><dt>Warning</dt><dd>This function destroys the contents of unwritten pages in the region in a totally unpredictable fashion. Only use it if you don't care how much of the region reaches physical storage or not. Note that the region is not necessarily zeroed, and may be randomly zeroed.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Microsoft Windows does not support unsetting the dirty flag on file backed maps, so on Windows this call does nothing. </dd></dl>

</div>
</div>
<a class="anchor" id="a88689b15e6e8b6ce1f945737dee4369e"></a>
<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="classafio__v2__xxx_1_1io__handle_1_1extent__guard.html">extent_guard</a>&gt; afio_v2_xxx::io_handle::lock </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classafio__v2__xxx_1_1handle.html#a818fff07c92eaab72532092d1c2a14f9">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="classafio__v2__xxx_1_1handle.html#a818fff07c92eaab72532092d1c2a14f9">extent_type</a>&#160;</td>
          <td class="paramname"><em>bytes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>exclusive</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structafio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code><a class="el" href="structafio__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>Tries to lock the range of bytes specified for shared or exclusive access. Be aware this passes through the same semantics as the underlying OS call, including any POSIX insanity present on your platform. </p>
<dl class="section warning"><dt>Warning</dt><dd>On older Linuxes and POSIX, this uses <code>fcntl()</code> with the well known insane POSIX semantics that closing ANY handle to this file releases all bytes range locks on it. 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.</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. Zero means lock the entire file using any more efficient alternative algorithm where available on your platform (specifically, on BSD and OS X use flock() for non-insane semantics). </td></tr>
    <tr><td class="paramname">exclusive</td><td>Whether the lock is to be 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</dt><dd>Any of the values POSIX fcntl() can return, <code>errc::timed_out</code>, <code>errc::not_supported</code> may be 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</dt><dd>The default synchronous implementation in file_handle performs no memory allocation. The asynchronous implementation in async_file_handle performs one calloc and one free. </dd></dl>

</div>
</div>
<a class="anchor" id="ad44dcd9c7ca9e7a094dd1bc7c8aa4897"></a>
<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="classafio__v2__xxx_1_1io__handle_1_1extent__guard.html">extent_guard</a>&gt; afio_v2_xxx::io_handle::lock </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__request.html">io_request</a>&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a70a3c5e6f62efc95db81f831f3b90a2c">buffers_type</a> &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="structafio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code><a class="el" href="structafio__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>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<div class="fragment"><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;  {</div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;    <span class="keywordtype">size_t</span> bytes = 0;</div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;    <span class="keywordflow">for</span>(<span class="keyword">auto</span> &amp;i : reqs.buffers)</div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;    {</div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;      <span class="keywordflow">if</span>(bytes + i.len &lt; bytes)</div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;        <span class="keywordflow">return</span> std::errc::value_too_large;</div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;      bytes += i.len;</div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;    }</div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="classafio__v2__xxx_1_1io__handle.html#a88689b15e6e8b6ce1f945737dee4369e">lock</a>(reqs.offset, bytes, <span class="keyword">false</span>, std::move(d));</div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;  }</div>
<div class="ttc" id="classafio__v2__xxx_1_1io__handle_html_a88689b15e6e8b6ce1f945737dee4369e"><div class="ttname"><a href="classafio__v2__xxx_1_1io__handle.html#a88689b15e6e8b6ce1f945737dee4369e">afio_v2_xxx::io_handle::lock</a></div><div class="ttdeci">virtual result&lt; extent_guard &gt; lock(extent_type offset, extent_type bytes, bool exclusive=true, deadline d=deadline()) noexcept</div><div class="ttdoc">Tries to lock the range of bytes specified for shared or exclusive access. Be aware this passes throu...</div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="aeabd245b6edcfb57779b29c6f2ea9737"></a>
<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="classafio__v2__xxx_1_1io__handle_1_1extent__guard.html">extent_guard</a>&gt; afio_v2_xxx::io_handle::lock </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__request.html">io_request</a>&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">const_buffers_type</a> &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="structafio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code><a class="el" href="structafio__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>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<div class="fragment"><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;  {</div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;    <span class="keywordtype">size_t</span> bytes = 0;</div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;    <span class="keywordflow">for</span>(<span class="keyword">auto</span> &amp;i : reqs.buffers)</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;    {</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;      <span class="keywordflow">if</span>(bytes + i.len &lt; bytes)</div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;        <span class="keywordflow">return</span> std::errc::value_too_large;</div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;      bytes += i.len;</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;    }</div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="classafio__v2__xxx_1_1io__handle.html#a88689b15e6e8b6ce1f945737dee4369e">lock</a>(reqs.offset, bytes, <span class="keyword">true</span>, std::move(d));</div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;  }</div>
<div class="ttc" id="classafio__v2__xxx_1_1io__handle_html_a88689b15e6e8b6ce1f945737dee4369e"><div class="ttname"><a href="classafio__v2__xxx_1_1io__handle.html#a88689b15e6e8b6ce1f945737dee4369e">afio_v2_xxx::io_handle::lock</a></div><div class="ttdeci">virtual result&lt; extent_guard &gt; lock(extent_type offset, extent_type bytes, bool exclusive=true, deadline d=deadline()) noexcept</div><div class="ttdoc">Tries to lock the range of bytes specified for shared or exclusive access. Be aware this passes throu...</div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="af5f18eca79c68d7db2923c2817d1c6fb"></a>
<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="classafio__v2__xxx_1_1map__handle.html">map_handle</a>&gt; afio_v2_xxx::map_handle::map </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classafio__v2__xxx_1_1handle.html#a0adf7fa00e23ed561328f473986e9ccc">size_type</a>&#160;</td>
          <td class="paramname"><em>bytes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">section_handle::flag&#160;</td>
          <td class="paramname"><em>_flag</em> = <code>section_handle::flag::read|section_handle::flag::write</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 new memory and map it into view. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bytes</td><td>How many bytes to create and map. Typically will be rounded to a multiple of the page size (see utils::page_sizes()). </td></tr>
    <tr><td class="paramname">_flag</td><td>The permissions with which to map the view which are constrained by the permissions of the memory section. <code>flag::none</code> can be useful for reserving virtual address space without committing system resources, use commit() to later change availability of memory.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>On Microsoft Windows this constructor uses the faster VirtualAlloc() which creates less versatile page backed memory. If you want anonymous memory allocated from a paging file backed section instead, create a page file backed section and then a mapped view from that using the other constructor. This makes available all those very useful VM tricks Windows can do with section mapped memory which VirtualAlloc() memory cannot do.</dd></dl>
<dl class="section user"><dt>Errors returnable</dt><dd>Any of the values POSIX mmap() or NtMapViewOfSection() can return. </dd></dl>

</div>
</div>
<a class="anchor" id="a820a00dbe33ffa034e1c4fe15aa89193"></a>
<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="classafio__v2__xxx_1_1map__handle.html">map_handle</a>&gt; afio_v2_xxx::map_handle::map </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classafio__v2__xxx_1_1section__handle.html">section_handle</a> &amp;&#160;</td>
          <td class="paramname"><em>section</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classafio__v2__xxx_1_1handle.html#a0adf7fa00e23ed561328f473986e9ccc">size_type</a>&#160;</td>
          <td class="paramname"><em>bytes</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classafio__v2__xxx_1_1handle.html#a818fff07c92eaab72532092d1c2a14f9">extent_type</a>&#160;</td>
          <td class="paramname"><em>offset</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">section_handle::flag&#160;</td>
          <td class="paramname"><em>_flag</em> = <code>section_handle::flag::read|section_handle::flag::write</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 memory mapped view of a backing storage. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">section</td><td>A memory section handle specifying the backing storage to use. </td></tr>
    <tr><td class="paramname">bytes</td><td>How many bytes to map (0 = the size of the memory section). Typically will be rounded to a multiple of the page size (see utils::page_sizes()). </td></tr>
    <tr><td class="paramname">offset</td><td>The offset into the backing storage to map from. Typically needs to be at least a multiple of the page size (see utils::page_sizes()), on Windows it needs to be a multiple of the kernel memory allocation granularity (typically 64Kb). </td></tr>
    <tr><td class="paramname">_flag</td><td>The permissions with which to map the view which are constrained by the permissions of the memory section. <code>flag::none</code> can be useful for reserving virtual address space without committing system resources, use commit() to later change availability of memory.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Errors returnable</dt><dd>Any of the values POSIX mmap() or NtMapViewOfSection() can return. </dd></dl>

</div>
</div>
<a class="anchor" id="ab569da5c3ffa64200f8b10dbe683bbc8"></a>
<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="structafio__v2__xxx_1_1io__handle_1_1buffer__type.html">buffer_type</a>&gt; afio_v2_xxx::map_handle::prefetch </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structafio__v2__xxx_1_1io__handle_1_1buffer__type.html">buffer_type</a>&#160;</td>
          <td class="paramname"><em>region</em></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>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<div class="fragment"><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;  {</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;    OUTCOME_TRY(ret, <a class="code" href="classafio__v2__xxx_1_1map__handle.html#ae16cb0af9b96f90f87f42318f7d35e65">prefetch</a>(span&lt;buffer_type&gt;(&amp;region, 1)));</div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;    <span class="keywordflow">return</span> *ret.data();</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;  }</div>
<div class="ttc" id="classafio__v2__xxx_1_1map__handle_html_ae16cb0af9b96f90f87f42318f7d35e65"><div class="ttname"><a href="classafio__v2__xxx_1_1map__handle.html#ae16cb0af9b96f90f87f42318f7d35e65">afio_v2_xxx::map_handle::prefetch</a></div><div class="ttdeci">static result&lt; span&lt; buffer_type &gt; &gt; prefetch(span&lt; buffer_type &gt; regions) noexcept</div><div class="ttdoc">Ask the system to begin to asynchronously prefetch the span of memory regions given, returning the regions actually prefetched. Note that on Windows 7 or earlier the system call to implement this was not available, and so you will see an empty span returned. </div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a71d7636f40607829cacc2c974c4a2a28"></a>
<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="structafio__v2__xxx_1_1io__handle_1_1io__result.html">io_result</a>&lt;<a class="el" href="classafio__v2__xxx_1_1io__handle.html#a70a3c5e6f62efc95db81f831f3b90a2c">buffers_type</a>&gt; afio_v2_xxx::io_handle::read </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__request.html">io_request</a>&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a70a3c5e6f62efc95db81f831f3b90a2c">buffers_type</a> &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="structafio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code><a class="el" href="structafio__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>Read data from the open handle. </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 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</dt><dd>Any of the values POSIX read() can return, <code>errc::timed_out</code>, <code>errc::operation_canceled</code>. <code>errc::not_supported</code> may be 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</dt><dd>The default synchronous implementation in file_handle performs no memory allocation. The asynchronous implementation in async_file_handle performs one calloc and one free. </dd></dl>

</div>
</div>
<a class="anchor" id="a8af6c6dc1502d40f6aaccc83e49d5342"></a>
<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="structafio__v2__xxx_1_1io__handle_1_1io__result.html">io_result</a>&lt;<a class="el" href="structafio__v2__xxx_1_1io__handle_1_1buffer__type.html">buffer_type</a>&gt; afio_v2_xxx::io_handle::read </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classafio__v2__xxx_1_1handle.html#a818fff07c92eaab72532092d1c2a14f9">extent_type</a>&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classafio__v2__xxx_1_1handle.html#a0adf7fa00e23ed561328f473986e9ccc">size_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="structafio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code><a class="el" href="structafio__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>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<div class="fragment"><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;  {</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;    buffer_type _reqs[1] = {{data, bytes}};</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    io_request&lt;buffers_type&gt; reqs(<a class="code" href="classafio__v2__xxx_1_1io__handle.html#a70a3c5e6f62efc95db81f831f3b90a2c">buffers_type</a>(_reqs), offset);</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;    OUTCOME_TRY(v, <a class="code" href="classafio__v2__xxx_1_1io__handle.html#a71d7636f40607829cacc2c974c4a2a28">read</a>(reqs, d));</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    <span class="keywordflow">return</span> *v.data();</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;  }</div>
<div class="ttc" id="classafio__v2__xxx_1_1io__handle_html_a70a3c5e6f62efc95db81f831f3b90a2c"><div class="ttname"><a href="classafio__v2__xxx_1_1io__handle.html#a70a3c5e6f62efc95db81f831f3b90a2c">afio_v2_xxx::io_handle::buffers_type</a></div><div class="ttdeci">span&lt; buffer_type &gt; buffers_type</div><div class="ttdoc">The scatter buffers type used by this handle. Guaranteed to be TrivialType apart from construction...</div><div class="ttdef"><b>Definition:</b> io_handle.hpp:76</div></div>
<div class="ttc" id="classafio__v2__xxx_1_1io__handle_html_a71d7636f40607829cacc2c974c4a2a28"><div class="ttname"><a href="classafio__v2__xxx_1_1io__handle.html#a71d7636f40607829cacc2c974c4a2a28">afio_v2_xxx::io_handle::read</a></div><div class="ttdeci">virtual 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. </div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ad50026d4eca2ddd77b5f9877666857b8"></a>
<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="structafio__v2__xxx_1_1io__handle_1_1io__result.html">io_result</a>&lt;<a class="el" href="classafio__v2__xxx_1_1io__handle.html#a70a3c5e6f62efc95db81f831f3b90a2c">buffers_type</a>&gt; afio_v2_xxx::map_handle::read </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__request.html">io_request</a>&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a70a3c5e6f62efc95db81f831f3b90a2c">buffers_type</a> &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="structafio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code><a class="el" href="structafio__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">override</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Read data from the mapped view. </p>
<dl class="section note"><dt>Note</dt><dd>Because this implementation never copies memory, you can pass in buffers with a null address.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The buffers read, which will never be the buffers input because they will point into the mapped view. The size of each scatter-gather buffer 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>Ignored. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Errors returnable</dt><dd>None, though the various signals and structured exception throws common to using memory maps may occur. </dd></dl>
<dl class="section user"><dt>Memory Allocations</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="af1610ec7fb0a41f039e3e17e0dc467ab"></a>
<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; afio_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>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</dt><dd>Whatever POSIX fcntl() returns. On Windows nothing is changed on the handle. </dd></dl>
<dl class="section user"><dt>Memory Allocations</dt><dd>No memory allocation. </dd></dl>

</div>
</div>
<a class="anchor" id="ad90f8264470763069256ae9eeda45e69"></a>
<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; afio_v2_xxx::handle::set_kernel_caching </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classafio__v2__xxx_1_1handle.html#a6f7e37c73271968271c2342023f58c9e">caching</a>&#160;</td>
          <td class="paramname"><em>caching</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>Changes the kernel cache strategy used by this handle. Note most OSs impose severe restrictions on what can be changed and will error out, it may be easier to simply create a new handle.</p>
<dl class="section warning"><dt>Warning</dt><dd>On Windows this reopens the file, it is no slower than opening the file fresh but equally it is vastly slower than on POSIX.</dd></dl>
<dl class="section user"><dt>Errors returnable</dt><dd>Whatever POSIX fcntl() or ReOpenFile() returns. </dd></dl>
<dl class="section user"><dt>Memory Allocations</dt><dd>No memory allocation. </dd></dl>

</div>
</div>
<a class="anchor" id="a0a1c4773b9fa7bbd04fee0756075d319"></a>
<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="classafio__v2__xxx_1_1io__handle_1_1extent__guard.html">extent_guard</a>&gt; afio_v2_xxx::io_handle::try_lock </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classafio__v2__xxx_1_1handle.html#a818fff07c92eaab72532092d1c2a14f9">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="classafio__v2__xxx_1_1handle.html#a818fff07c92eaab72532092d1c2a14f9">extent_type</a>&#160;</td>
          <td class="paramname"><em>bytes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>exclusive</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">noexcept</span><span class="mlabel">inherited</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<div class="fragment"><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;{ <span class="keywordflow">return</span> <a class="code" href="classafio__v2__xxx_1_1io__handle.html#a88689b15e6e8b6ce1f945737dee4369e">lock</a>(offset, bytes, exclusive, deadline(std::chrono::seconds(0))); }</div>
<div class="ttc" id="classafio__v2__xxx_1_1io__handle_html_a88689b15e6e8b6ce1f945737dee4369e"><div class="ttname"><a href="classafio__v2__xxx_1_1io__handle.html#a88689b15e6e8b6ce1f945737dee4369e">afio_v2_xxx::io_handle::lock</a></div><div class="ttdeci">virtual result&lt; extent_guard &gt; lock(extent_type offset, extent_type bytes, bool exclusive=true, deadline d=deadline()) noexcept</div><div class="ttdoc">Tries to lock the range of bytes specified for shared or exclusive access. Be aware this passes throu...</div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a96b9da71ee7791fbaaa2470c936ec763"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void afio_v2_xxx::io_handle::unlock </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classafio__v2__xxx_1_1handle.html#a818fff07c92eaab72532092d1c2a14f9">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="classafio__v2__xxx_1_1handle.html#a818fff07c92eaab72532092d1c2a14f9">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>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</dt><dd>Any of the values POSIX fcntl() can return. </dd></dl>
<dl class="section user"><dt>Memory Allocations</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="aefac4710e5617264347f437b04732c01"></a>
<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="structafio__v2__xxx_1_1io__handle_1_1io__result.html">io_result</a>&lt;<a class="el" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">const_buffers_type</a>&gt; afio_v2_xxx::io_handle::write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__request.html">io_request</a>&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">const_buffers_type</a> &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="structafio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code><a class="el" href="structafio__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>Write data to the open handle. </p>
<dl class="section warning"><dt>Warning</dt><dd>Depending on the implementation backend, not all of the buffers input may be written and the some buffers at the end of the returned buffers may return with zero bytes 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.</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 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</dt><dd>Any of the values POSIX write() can return, <code>errc::timed_out</code>, <code>errc::operation_canceled</code>. <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</dt><dd>The default synchronous implementation in file_handle performs no memory allocation. The asynchronous implementation in async_file_handle performs one calloc and one free. </dd></dl>

</div>
</div>
<a class="anchor" id="ab26a3c5a18cdcc67a506533dbe55e2b3"></a>
<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="structafio__v2__xxx_1_1io__handle_1_1io__result.html">io_result</a>&lt;<a class="el" href="structafio__v2__xxx_1_1io__handle_1_1const__buffer__type.html">const_buffer_type</a>&gt; afio_v2_xxx::io_handle::write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classafio__v2__xxx_1_1handle.html#a818fff07c92eaab72532092d1c2a14f9">extent_type</a>&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classafio__v2__xxx_1_1handle.html#a0adf7fa00e23ed561328f473986e9ccc">size_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="structafio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code><a class="el" href="structafio__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>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<div class="fragment"><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;  {</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;    const_buffer_type _reqs[1] = {{data, bytes}};</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;    io_request&lt;const_buffers_type&gt; reqs(<a class="code" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">const_buffers_type</a>(_reqs), offset);</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;    OUTCOME_TRY(v, <a class="code" href="classafio__v2__xxx_1_1io__handle.html#aefac4710e5617264347f437b04732c01">write</a>(reqs, d));</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;    <span class="keywordflow">return</span> *v.data();</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;  }</div>
<div class="ttc" id="classafio__v2__xxx_1_1io__handle_html_a639b8760b1b98df95e4956f6cc56f6b5"><div class="ttname"><a href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">afio_v2_xxx::io_handle::const_buffers_type</a></div><div class="ttdeci">span&lt; const_buffer_type &gt; const_buffers_type</div><div class="ttdoc">The gather buffers type used by this handle. Guaranteed to be TrivialType apart from construction...</div><div class="ttdef"><b>Definition:</b> io_handle.hpp:78</div></div>
<div class="ttc" id="classafio__v2__xxx_1_1io__handle_html_aefac4710e5617264347f437b04732c01"><div class="ttname"><a href="classafio__v2__xxx_1_1io__handle.html#aefac4710e5617264347f437b04732c01">afio_v2_xxx::io_handle::write</a></div><div class="ttdeci">virtual 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. </div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a162d844e3dfcfcfad698a404bd55ef04"></a>
<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="structafio__v2__xxx_1_1io__handle_1_1io__result.html">io_result</a>&lt;<a class="el" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">const_buffers_type</a>&gt; afio_v2_xxx::map_handle::write </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structafio__v2__xxx_1_1io__handle_1_1io__request.html">io_request</a>&lt; <a class="el" href="classafio__v2__xxx_1_1io__handle.html#a639b8760b1b98df95e4956f6cc56f6b5">const_buffers_type</a> &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="structafio__v2__xxx_1_1deadline.html">deadline</a>&#160;</td>
          <td class="paramname"><em>d</em> = <code><a class="el" href="structafio__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">override</span><span class="mlabel">virtual</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Write data to the mapped view. </p>
<dl class="section return"><dt>Returns</dt><dd>The buffers written, which will never be the buffers input because they will point at where the data was copied into the mapped view. The size of each scatter-gather buffer 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>Ignored. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Errors returnable</dt><dd>None, though the various signals and structured exception throws common to using memory maps may occur. </dd></dl>
<dl class="section user"><dt>Memory Allocations</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="ac35a85e8a6cca721640ddc6b5008e145"></a>
<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; afio_v2_xxx::map_handle::zero_memory </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structafio__v2__xxx_1_1io__handle_1_1buffer__type.html">buffer_type</a>&#160;</td>
          <td class="paramname"><em>region</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>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Zero the memory represented by the buffer. Differs from zero() because it acts on mapped memory, but may call zero() internally.</p>
<p>On Linux, Windows and FreeBSD any full 4Kb pages will be deallocated from the system entirely, including the extents for them in any backing storage. On newer Linux kernels the kernel can additionally swap whole 4Kb pages for freshly zeroed ones making this a very efficient way of zeroing large ranges of memory. </p>
<dl class="section user"><dt>Errors returnable</dt><dd>Any of the errors returnable by madvise() or DiscardVirtualMemory or the zero() function. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/afio/v2.0/<a class="el" href="map__handle_8hpp.html">map_handle.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespaceafio__v2__xxx.html">afio_v2_xxx</a></li><li class="navelem"><a class="el" href="classafio__v2__xxx_1_1map__handle.html">map_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.6 </li>
  </ul>
</div>
</body>
</html>