Searched refs:newsize (Results 1 - 13 of 13) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | subr_sbuf.c | 117 int newsize; local 119 newsize = SBUF_MINEXTENDSIZE; 120 while (newsize < size) { 121 if (newsize < (int)SBUF_MAXEXTENDSIZE) 122 newsize *= 2; 124 newsize += SBUF_MAXEXTENDINCR; 127 return (newsize); 138 int newsize; local 143 newsize = sbuf_extendsize(s->s_size + addlen); 144 newbuf = (char *)SBMALLOC(newsize); [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/ |
H A D | vm_kern.h | 118 vm_size_t newsize);
|
H A D | vm_kern.c | 457 vm_size_t newsize) 474 newmapsize = vm_map_round_page(newsize); 452 kmem_realloc( vm_map_t map, vm_offset_t oldaddr, vm_size_t oldsize, vm_offset_t *newaddrp, vm_size_t newsize) argument
|
H A D | vm_object.c | 4236 vm_object_size_t newsize; local 4296 newsize = prev_offset + prev_size + next_size; 4297 if (newsize > prev_object->size) { 4310 prev_object->size = newsize;
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | pms.c | 574 int newsize, cstp, oldAltSize, xdsply; local 680 newsize = steps * sizeof(pmsDef); /* Get the size needed for the definition blocks */ 682 if(!(newpd = (pmsDef *)kalloc(newsize))) { /* Get memory for the whole thing */ 686 bzero((void *)newpd, newsize); /* Make it pretty */ 705 altDpmsTabSize = newsize; /* Set the size */
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/console/ |
H A D | panic_dialog.c | 399 unsigned int newsize; local 405 newsize = sizeof(struct panicimage) + newimage->pd_dataSize; 409 newsize = size; 412 if ( (error = panic_dialog_verify( newimage, newsize )) )
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | dhcp_options.c | 74 my_realloc(void * oldptr, int oldsize, int newsize) argument 78 MALLOC(data, void *, newsize, M_TEMP, M_WAITOK);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_vfsops.c | 2248 u_int64_t newsize; local 2255 error = sysctl_quad(oldp, oldlenp, newp, newlen, (quad_t *)&newsize); 2259 error = hfs_extendfs(hfsmp, newsize, context); 3269 hfs_extendfs(struct hfsmount *hfsmp, u_int64_t newsize, vfs_context_t context) argument 3337 if ((sectorsize * sectorcnt) < newsize) { 3354 if ((newsize <= oldsize) || (newsize % sectorsize) || (newsize % phys_sectorsize)) { 3358 newblkcnt = newsize / vcb->blockSize; 3512 hfsmp->hfs_logical_block_count = newsize / sectorsiz 3613 hfs_truncatefs(struct hfsmount *hfsmp, u_int64_t newsize, vfs_context_t context) argument [all...] |
H A D | hfs_readwrite.c | 1424 u_int64_t newsize; local 1435 newsize = *(u_int64_t *)ap->a_data; 1438 if (newsize > cursize) { 1440 } else if (newsize < cursize) {
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | vnode_internal.h | 394 int resize_namecache(u_int newsize);
|
/macosx-10.5.8/xnu-1228.15.4/libsa/ |
H A D | kld_patch.c | 2169 vm_size_t newsize; 2185 newsize = endMachO - startMachO; 2186 if (newsize < round_page_32(file->fMapSize)) { 2200 newsize); 2206 file->fMachOSize = file->fMapSize = newsize; 2219 ret = kmem_alloc(kernel_map, &newMachO, newsize); 2229 file->fMapSize = newsize;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_cache.c | 1542 resize_namecache(u_int newsize) argument 1552 dNegNodes = (newsize / 10); 1553 dNodes = newsize + dNegNodes;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | dtrace.c | 8596 int newsvars, oldsize, newsize; 8602 newsize = newsvars * sizeof (dtrace_statvar_t *); 8604 statics = kmem_zalloc(newsize, KM_SLEEP);
|
Completed in 280 milliseconds