Lines Matching refs:vm
95 #define VM_MEMORYF 0000020 /* vm was allocated by memoryf */
210 #define _VM_(vm) ((Vmalloc_t*)(vm))
216 #define _VMFILE_(vm) (_VM_(vm)->file = (char*)__FILE__)
218 #define _VMFILE_(vm) (_VM_(vm)->file = (char*)0)
222 #define _VMLINE_(vm) (_VM_(vm)->line = __LINE__)
224 #define _VMLINE_(vm) (_VM_(vm)->line = 0)
228 #define _VMFUNC_(vm) (_VM_(vm)->func = (char*)__FUNCTION__)
230 #define _VMFUNC_(vm) (_VM_(vm)->func = (char*)0)
233 #define _VMFL_(vm) (_VMFILE_(vm), _VMLINE_(vm), _VMFUNC_(vm))
235 #define vmalloc(vm,sz) (_VMFL_(vm), \
236 (*(_VM_(vm)->meth.allocf))((vm),(sz),0) )
237 #define vmresize(vm,d,sz,type) (_VMFL_(vm), \
238 (*(_VM_(vm)->meth.resizef))\
239 ((vm),(Void_t*)(d),(sz),(type),0) )
240 #define vmfree(vm,d) (_VMFL_(vm), \
241 (*(_VM_(vm)->meth.freef))((vm),(Void_t*)(d),0) )
242 #define vmalign(vm,sz,align) (_VMFL_(vm), \
243 (*(_VM_(vm)->meth.alignf))((vm),(sz),(align),0) )
308 #define vmalloc(vm,sz) (*(_VM_(vm)->meth.allocf))((vm),(sz),0)
312 #define vmresize(vm,d,sz,type) (*(_VM_(vm)->meth.resizef))\
313 ((vm),(Void_t*)(d),(sz),(type),0)
317 #define vmfree(vm,d) (*(_VM_(vm)->meth.freef))((vm),(Void_t*)(d),0)
321 #define vmalign(vm,sz,align) (*(_VM_(vm)->meth.alignf))((vm),(sz),(align),0)
324 #define vmaddr(vm,addr) (*(_VM_(vm)->meth.addrf))((vm),(Void_t*)(addr),0)
325 #define vmsize(vm,addr) (*(_VM_(vm)->meth.sizef))((vm),(Void_t*)(addr),0)
326 #define vmcompact(vm) (*(_VM_(vm)->meth.compactf))((vm),0)
332 #define vmdata(vm) ((Void_t*)(_VM_(vm)->data) )
333 #define vmlocked(vm) (*((unsigned int*)(_VM_(vm)->data)) )