Searched refs:mmdc (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/ |
H A D | vmmopen.c | 114 Mmdisc_t *mmdc = (Mmdisc_t*)vm->disc; in _vmmdump() local 117 sprintf(mesg, "File: %s\n", mmdc->file ); write(fd, mesg, strlen(mesg)); in _vmmdump() 118 sprintf(mesg, "Project: %10d\n", mmdc->proj); write(fd, mesg, strlen(mesg)); in _vmmdump() 119 sprintf(mesg, "Memory: %#010lx\n", mmdc->mmvm); write(fd, mesg, strlen(mesg)); in _vmmdump() 120 sprintf(mesg, "Size: %10d\n", mmdc->size); write(fd, mesg, strlen(mesg)); in _vmmdump() 121 sprintf(mesg, "Shmid: %10d\n", mmdc->shmid); write(fd, mesg, strlen(mesg)); in _vmmdump() 124 sprintf(mesg, "Magic: %10d\n", mmdc->mmvm->magic); write(fd, mesg, strlen(mesg)); in _vmmdump() 125 sprintf(mesg, "Base: %#010lx\n", mmdc->mmvm->base); write(fd, mesg, strlen(mesg)); in _vmmdump() 126 sprintf(mesg, "Size: %10d\n", mmdc->mmvm->size); write(fd, mesg, strlen(mesg)); in _vmmdump() 127 sprintf(mesg, "Busy: %10d\n", mmdc->mmvm->busy); write(fd, mesg, strlen(mesg)); in _vmmdump() [all …]
|
H A D | vmbest.c | 1226 static Void_t* mmapmem(Void_t* caddr, size_t csize, size_t nsize, Mmdisc_t* mmdc) in mmapmem() argument 1229 if(mmdc) /* /dev/zero mapping */ in mmapmem() 1230 { if(mmdc->fd == FD_INIT ) /* open /dev/zero for mapping */ in mmapmem() 1233 { mmdc->fd = FD_NONE; in mmapmem() 1236 mmdc->fd = _vmfd(fd); in mmapmem() 1239 if(mmdc->fd == FD_NONE) in mmapmem() 1249 if(mmdc && mmdc->fd >= 0 ) in mmapmem() 1250 caddr = mmap(0, nsize, PROT_READ|PROT_WRITE, MAP_PRIVATE, mmdc->fd, mmdc->offset); in mmapmem() 1253 if(!mmdc ) in mmapmem() 1263 { if(mmdc) in mmapmem() [all …]
|