/barrelfish-master/include/vm/ |
H A D | redzone.c | 74 u_long nsize; local 76 bcopy(naddr - REDZONE_CHSIZE - sizeof(u_long), &nsize, sizeof(nsize)); 77 return (nsize); 81 redzone_size_ntor(u_long nsize) argument 84 return (nsize + redzone_roundup(nsize) + REDZONE_FSIZE); 98 redzone_setup(caddr_t raddr, u_long nsize) argument 103 atomic_add_long(&redzone_extra_mem, redzone_size_ntor(nsize) - nsize); 133 u_long nsize; local [all...] |
H A D | redzone.h | 33 u_long redzone_size_ntor(u_long nsize); 35 void *redzone_setup(caddr_t raddr, u_long nsize);
|
H A D | vnode_pager.c | 396 vnode_pager_setsize(struct vnode *vp, vm_ooffset_t nsize) argument 412 if (nsize == object->un_pager.vnp.vnp_size) { 419 nobjsize = OFF_TO_IDX(nsize + PAGE_MASK); 420 if (nsize < object->un_pager.vnp.vnp_size) { 435 if ((nsize & PAGE_MASK) && 436 (m = vm_page_lookup(object, OFF_TO_IDX(nsize))) != NULL && 438 int base = (int)nsize & PAGE_MASK; 469 } else if ((nsize & PAGE_MASK) && 470 vm_page_is_cached(object, OFF_TO_IDX(nsize))) { 471 vm_page_cache_free(object, OFF_TO_IDX(nsize), [all...] |
H A D | vm_unix.c | 65 char *nsize; member in struct:obreak_args 91 new = round_page((vm_offset_t)uap->nsize);
|
H A D | vm_mmap.c | 1012 unsigned long nsize; local 1030 nsize = ptoa(npages + pmap_wired_count(map->pmap)); 1031 if (nsize > lim_cur_proc(proc, RLIMIT_MEMLOCK)) { 1041 error = racct_set(proc, RACCT_MEMLOCK, nsize);
|
/barrelfish-master/lib/lua/src/ |
H A D | lmem.c | 26 ** void * frealloc (void *ud, void *ptr, size_t osize, size_t nsize); 27 ** (`osize' is the old size, `nsize' is the new size) 75 void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) { argument 81 if (nsize > realosize && g->gcrunning) 84 newblock = (*g->frealloc)(g->ud, block, osize, nsize); 85 if (newblock == NULL && nsize > 0) { 86 api_check(L, nsize > realosize, 90 newblock = (*g->frealloc)(g->ud, block, osize, nsize); /* try again */ 95 lua_assert((nsize == 0) == (newblock == NULL)); 96 g->GCdebt = (g->GCdebt + nsize) [all...] |
H A D | loadlib.c | 171 DWORD nsize = sizeof(buff)/sizeof(char); local 172 DWORD n = GetModuleFileNameA(NULL, buff, nsize); 173 if (n == 0 || n == nsize || (lb = strrchr(buff, '\\')) == NULL)
|
H A D | ltable.c | 338 int nsize = isdummy(t->node) ? 0 : sizenode(t); local 339 luaH_resize(L, t, nasize, nsize);
|
H A D | lauxlib.c | 919 static void *l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) { argument 921 if (nsize == 0) { 926 return realloc(ptr, nsize);
|
/barrelfish-master/lib/dmalloc/ |
H A D | dmalloc.c | 4027 size_t nsize = chunksize(oldfirst); local 4028 unlink_chunk(m, oldfirst, nsize); 4029 oldfirst = chunk_plus_offset(oldfirst, nsize); 4030 qsize += nsize; 4471 size_t nsize = chunksize(next); local 4472 psize += nsize; 4473 unlink_chunk(m, next, nsize); 4813 size_t nsize = chunksize(next); local 4814 psize += nsize; 4815 unlink_chunk(fm, next, nsize); 5740 size_t nsize = chunksize(next); local [all...] |
/barrelfish-master/include/lua/ |
H A D | lua.h | 70 typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
|