Mlock.xs

filter: Statementstmt 100% 1 / 1 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 100% 1 / 1 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« store.c ↑ Summary blib/lib/C/Mlock.pm »
1 #include "EXTERN.h"
2 #include "perl.h"
3 #include "XSUB.h"
4 #include "store.h"
5  
6 typedef AddressRegion *C__Mlock;
7  
8 MODULE = C::Mlock PACKAGE = C::Mlock
9  
10 PROTOTYPES: ENABLE
11  
12 C::Mlock
13 new(package, nSize = 0)
14 char *package
15 int nSize;
16 CODE:
17 5 RETVAL = new(nSize);
18 OUTPUT:
19 RETVAL
20  
21 void
22 DESTROY(pAddressRegion)
23 C::Mlock pAddressRegion
24  
25 void
26 dump(pAddressRegion)
27 C::Mlock pAddressRegion
28  
29 char *
30 get(pAddressRegion)
31 C::Mlock pAddressRegion
32  
33 int
34 store(pAddressRegion, data, len)
35 C::Mlock pAddressRegion
36 int len
37 char *data
38  
39 int
40 lockall(pAddressRegion)
41 C::Mlock pAddressRegion
42  
43 int
44 unlockall(pAddressRegion)
45 C::Mlock pAddressRegion
46  
47 int
48 is_locked(pAddressRegion)
49 C::Mlock pAddressRegion
50  
51 int
52 process_locked(pAddressRegion)
53 C::Mlock pAddressRegion
54  
55 int
56 initialize(pAddressRegion)
57 C::Mlock pAddressRegion
58  
59 int
60 set_pages(pAddressRegion, pages)
61 C::Mlock pAddressRegion
62 int pages
63  
64 int
65 set_size(pAddressRegion, bytes)
66 C::Mlock pAddressRegion
67 int bytes
68  
69 int
70 pagesize(pAddressRegion)
71 C::Mlock pAddressRegion
72  
« store.c ↑ Summary blib/lib/C/Mlock.pm »