Searched defs:vm (Results 26 - 32 of 32) sorted by relevance

12

/osnet-11/usr/src/lib/libast/common/vmalloc/
H A Dvmbest.c557 static int bestcompact(Vmalloc_t* vm) argument
559 static int bestcompact(vm)
560 Vmalloc_t* vm;
567 reg Vmdata_t* vd = vm->data;
596 if((round = vm->disc->round) == 0)
620 if((size = (*_Vmtruncate)(vm,seg,size,0)) > 0)
641 (*_Vmtrace)(vm, (Vmuchar_t*)0, (Vmuchar_t*)0, 0, 0);
650 static Void_t* bestalloc(Vmalloc_t* vm, reg size_t size ) argument
652 static Void_t* bestalloc(vm,size)
653 Vmalloc_t* vm; /* regio
781 bestaddr(Vmalloc_t* vm, Void_t* addr ) argument
844 bestfree(Vmalloc_t* vm, Void_t* data ) argument
926 bestresize(Vmalloc_t* vm, Void_t* data, reg size_t size, int type) argument
1060 bestsize(Vmalloc_t* vm, Void_t* addr ) argument
1111 bestalign(Vmalloc_t* vm, size_t size, size_t align) argument
1323 sbrkmem(Vmalloc_t* vm, Void_t* caddr, size_t csize, size_t nsize, Vmdisc_t* disc) argument
[all...]
H A Dvmprofile.c36 #define PFVM(pf) ((pf)->data.data.vm)
54 Vmalloc_t* vm; /* region alloc from */ member in struct:_pfdata_s
76 static Pfobj_t* pfsearch(Vmalloc_t* vm, const char* file, int line) argument
78 static Pfobj_t* pfsearch(vm, file, line)
79 Vmalloc_t* vm; /* region allocating from */
100 /* see if it's there with a combined hash value of vm,file,line */
101 h = line + (((Vmulong_t)vm)>>4);
106 if(PFLINE(pf) == line && PFVM(pf) == vm && strcmp(PFFILE(pf),file) == 0)
134 /* get region record; note that these are ordered by vm */
137 if(vm >
182 pfclose(Vmalloc_t* vm) argument
210 pfsetinfo(Vmalloc_t* vm, Vmuchar_t* data, size_t size, const char* file, int line) argument
354 vmprofile(Vmalloc_t* vm, int fd) argument
464 pfalloc(Vmalloc_t* vm, size_t size) argument
507 pffree(Vmalloc_t* vm, Void_t* data) argument
567 pfresize(Vmalloc_t* vm, Void_t* data, size_t size, int type) argument
659 pfsize(Vmalloc_t* vm, Void_t* addr) argument
670 pfaddr(Vmalloc_t* vm, Void_t* addr) argument
681 pfcompact(Vmalloc_t* vm) argument
691 pfalign(Vmalloc_t* vm, size_t size, size_t align) argument
[all...]
/osnet-11/usr/src/lib/libsqlite/src/
H A Dtest1.c750 sqlite_vm *vm; local
761 rc = sqlite_compile(db, argv[2], argc==4 ? &zTail : 0, &vm, &zErr);
764 assert( vm==0 );
770 if( vm ){
771 if( makePointerStr(interp, zBuf, vm) ) return TCL_ERROR;
789 sqlite_vm *vm; local
801 if( getVmPointer(interp, argv[1], &vm) ) return TCL_ERROR;
802 rc = sqlite_step(vm, argc>=3?&N:0, argc>=4?&azValue:0, argc==5?&azColName:0);
848 sqlite_vm *vm; local
856 if( getVmPointer(interp, argv[1], &vm) ) retur
879 sqlite_vm *vm; local
921 sqlite_vm *vm; local
[all...]
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_nic.c730 sqlite3_stmt *vm; local
745 rc = sqlite3_prepare_v2(db, sql, -1, &vm, NULL);
756 rc = sqlite3_step(vm);
758 ncol = sqlite3_column_count(vm);
764 iflist = smb_nic_iflist_decode(vm, &err);
779 rc = sqlite3_finalize(vm);
800 smb_nic_iflist_decode(sqlite3_stmt *vm, int *err) argument
809 host = (const char *)sqlite3_column_text(vm, SMB_NIC_HTBL_HOST);
810 cmnt = (const char *)sqlite3_column_text(vm, SMB_NIC_HTBL_CMNT);
811 ifnames = (const char *)sqlite3_column_text(vm, SMB_NIC_HTBL_IF
[all...]
/osnet-11/usr/src/lib/libcmd/common/
H A Dod.c262 Vmalloc_t* vm; member in struct:State_s
831 if (!(fp = vmnewof(state->vm, 0, Format_t, 1, 0)))
1314 if (!(state.vm = vmopen(Vmdcheap, Vmlast, 0)))
1371 if (n == 'b' && !(state.buffer.base = vmnewof(state.vm, 0, char, state.buffer.size, 0)))
1542 if (!(state.span = vmnewof(state.vm, 0, char, state.spansize, 0)))
1603 vmclose(state.vm);
H A Dfind.c239 Vmalloc_t* vm; member in struct:State_s
744 if (!(t = vmnewof(state->vm, 0, char, c * 2, 0)))
1148 if (!(np->second.re = vmnewof(state->vm, 0, regex_t, 1, sizeof(regdisc_t))))
1158 redisc->re_resizehandle = (void*)state->vm;
1749 if (!(state.vm = vmopen(Vmdcheap, Vmbest, 0)) || !(state.str = sfstropen()) || !(state.tmp = sfstropen()))
1777 if (!(state.topnode = vmnewof(state.vm, 0, Node_t, argc + 3, 0)))
1857 if (state.vm)
1858 vmclose(state.vm);
/osnet-11/usr/src/lib/libast/common/misc/
H A Dmagic.c153 Vmalloc_t* vm; /* vmalloc region */ \
860 ep->mime = vmnewof(mp->vm, ep->mime, char, sfvalue(rp), 0);
870 ep->desc = vmnewof(mp->vm, ep->desc, char, strlen(t), 1);
888 ep->mime = vmnewof(mp->vm, ep->mime, char, strlen(t), strlen(e));
897 ep->desc = vmnewof(mp->vm, ep->desc, char, sfvalue(gp), 0);
1185 if (mp->idtab = dtnew(mp->vm, &mp->dtdisc, Dthash))
1689 first = ep = vmnewof(mp->vm, 0, Entry_t, 1, 0);
1727 ep = ret->next = vmnewof(mp->vm, 0, Entry_t, 1, 0);
1765 ep = ep->next = vmnewof(mp->vm, 0, Entry_t, 1, 0);
1865 ep->expr = vmstrdup(mp->vm,
2327 register Vmalloc_t* vm; local
[all...]

Completed in 34 milliseconds

12