Lines Matching defs:base
70 Void_t* base; /* base of the map */
96 Void_t *base;
99 base = NIL(Void_t*);
111 if(mm->magic != MM_MAGIC || !mm->base ||
114 base = (Void_t*)mmap(mm->base, mm->size, PROT_READ|PROT_WRITE,
116 if(base == (Void_t*)MAP_FAILED)
117 base = NIL(Void_t*);
128 base = (Void_t*)mmap(addr, (size_t)size, PROT_READ|PROT_WRITE,
130 if(base == (Void_t*)MAP_FAILED)
131 base = NIL(Void_t*);
132 if(!base)
136 hdr = (Mmvm_t*)base;
138 hdr->base = base;
147 if(!base)
175 if(caddr && caddr != MMADDR(mmdc->mm->base) )
181 { /* base and size of new map */
182 caddr = mmdc->mm->base;
209 return (Void_t*)(((Vmuchar_t*)mmdc->mm->base) + MM_START);
224 Vmuchar_t *base;
228 { base = ((Vmuchar_t*)mmdc->mm->base) + MM_START;
229 *((Void_t**)data) = (Void_t*)base;
235 { (void)munmap(mmdc->mm->base, mmdc->mm->size);
245 Vmalloc_t* vmmopen(char* file, Void_t* base, size_t round)
247 Vmalloc_t* vmmopen(file, base, round)
249 Void_t* base; /* desired starting address */
267 if((fd = mmvminit(file, base, round, &mm)) < 0)
279 mmdc->mm = (Mmvm_t*)mm.base;