Searched refs:vmalloc (Results 1 - 25 of 69) sorted by relevance

123

/ast/src/cmd/tests/vmalloc/
H A Dtek.c35 vms[0] = vmalloc (Vmheap, 176);
36 vms[1] = vmalloc (Vmheap, 1024);
37 vms[2] = vmalloc (Vmheap, 176);
38 vms[3] = vmalloc (Vmheap, 1024);
39 vms[4] = vmalloc (Vmheap, 176);
40 vms[5] = vmalloc (Vmheap, 1024);
41 vms[6] = vmalloc (Vmheap, 72);
42 vms[7] = vmalloc (Vmheap, 40);
43 vms[8] = vmalloc (Vmheap, 2048);
44 vms[9] = vmalloc (Vmhea
[all...]
H A Dtsmall.c31 if(!(addr[0] = vmalloc(vm, 8)) )
32 terror("vmalloc failed");
33 if(!(addr[1] = vmalloc(vm, 8)) )
34 terror("vmalloc failed");
35 if(!(addr[2] = vmalloc(vm, 8)) )
36 terror("vmalloc failed");
38 if(!(addr[3] = vmalloc(vm, 12)) )
39 terror("vmalloc failed");
40 if(!(addr[4] = vmalloc(vm, 12)) )
41 terror("vmalloc faile
[all...]
H A Dtresize.c36 if(!(dt[0] = vmalloc(vm, 32)) )
37 terror("vmalloc failed1");
38 if(!(dt[1] = vmalloc(vm, 32)) )
39 terror("vmalloc failed2");
40 if(!(dt[2] = vmalloc(vm, 32)) )
41 terror("vmalloc failed3");
49 if(!(dt[1] = vmalloc(vm, 16)) )
50 terror("vmalloc failed4");
51 if(!(dt[2] = vmalloc(vm, 16)) )
52 terror("vmalloc failed
[all...]
H A Dtregion.c33 { addr[i] = vmalloc(vm,88);
37 addr[i+1] = vmalloc(Vmheap,128);
H A Dtcompact.c44 return vmalloc(Vmheap,newsize);
59 { addr[i] = vmalloc(vm,15);
68 if(!(addr[0] = vmalloc(vm,30)) )
72 addr[i] = vmalloc(vm,15);
H A Dtmalloc.c34 if(!(addr[i] = vmalloc(vm,15)) )
35 terror("vmalloc failed");
40 if(!(addr[i] = vmalloc(vm,15)) )
41 terror("vmalloc failed");
H A Dtalign.c64 if(!(data = vmalloc(vm,10)) )
74 if(!(data = vmalloc(vm,10)) )
86 if(!(data = vmalloc(vm,17)) )
87 terror("vmalloc failed");
99 if(!(data = vmalloc(vm,17)) )
100 terror("vmalloc failed");
H A Dtstat.c30 if(!(addr = vmalloc(vm,123)) )
31 terror("vmalloc failed1");
46 if(!(addr = vmalloc(vm,13)) )
47 terror("vmalloc failed2");
62 if(!(addr = vmalloc(vm,123)) )
63 terror("vmalloc failed3");
78 if(!(addr = vmalloc(vm,123)) )
79 terror("vmalloc failed4");
H A Dtpool.c43 return vmalloc(Vmheap,newsize);
58 { addr[i] = vmalloc(vm,15);
68 addr[i] = vmalloc(vm,15);
H A Dtlast.c33 { addr[i] = vmalloc(vm,8);
H A Dtwalk.c115 if(!(m1 = vmalloc(vm1,1024)) )
116 terror("vmalloc failed on m1");
117 if(!(m2 = vmalloc(vm2,1024)) )
118 terror("vmalloc failed on m2");
119 if(!(m3 = vmalloc(vm3,1024)) )
120 terror("vmalloc failed on m3");
121 if(!(m4 = vmalloc(vm4,1024)) )
122 terror("vmalloc failed on m4");
H A Dtrandom.c65 if(!(huge = vmalloc(Vmregion, hugesz)) )
108 if(!(o->obj = vmalloc(Vmregion, o->size)) )
144 if(!(huge = vmalloc(Vmregion, 10)))
/ast/src/lib/libast/include/
H A Ddt.h28 #include <vmalloc.h>
/ast/src/lib/libast/vmalloc/
H A Dvmstrdup.c31 * return a copy of s using vmalloc
45 return (s && (t = vmalloc(v, n = strlen(s) + 1))) ? (char*)memcpy(t, s, n) : (char*)0;
H A Dvmgetmem.c22 #include <vmalloc.h>
H A Dvmdcheap.c50 return vmalloc(Vmheap,nsize);
/ast/src/cmd/codexlib/zip/
H A Dhuff.h12 #include <vmalloc.h>
/ast/src/lib/libast/astsa/
H A Dvmalloc.h23 * standalone mini vmalloc interface
29 #define vmalloc(v,n) _vm_resize(v,(void*)0,n) macro
H A Dvmalloc.c24 * standalone mini vmalloc implementation
29 #include <vmalloc.h>
/ast/src/lib/libast/disc/
H A Dmemfatal.c30 #include <vmalloc.h>
32 #include "FEATURE/vmalloc"
/ast/src/cmd/std/
H A Dpsslib.h53 #include <vmalloc.h>
/ast/src/lib/libcoshell/
H A Dcolib.h33 #include <vmalloc.h>
/ast/src/lib/libvcodex/
H A Dvchdr.h35 #include <vmalloc.h>
/ast/src/lib/libast/misc/
H A Dfindlib.h36 #include <vmalloc.h>
/ast/src/lib/librecsort/
H A Drsprocess.c41 if(!(rs->free = r = (Rsobj_t*)vmalloc(rs->vm,RS_ALLOC*sizeof(Rsobj_t))) )
143 { if(!(endd = (uchar*)vmalloc(rs->vm,r->datalen)) || !(r->data = (uchar*)memcpy(endd, r->data, r->datalen)))
210 { if(!(m_key = (uchar*)vmalloc(rs->vm,k)) )
245 if (!(endd = (uchar*)vmalloc(rs->vm,r->datalen)) || !(r->data = (uchar*)memcpy(endd, r->data, r->datalen)))

Completed in 82 milliseconds

123