/macosx-10.5.8/xnu-1228.15.4/bsd/dev/random/YarrowCoreLib/src/ |
H A D | macOnly.h | 62 extern DWORD prng_slow_poll(BYTE* buf,UINT bufsize);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_xattr.c | 230 size_t bufsize; local 240 bufsize = 32; 262 *ap->a_size = bufsize; 265 if (uio_resid(uio) < bufsize) 268 result = uiomove((caddr_t)&finderinfo , bufsize, uio); 327 bufsize = sizeof(HFSPlusAttrData) - 2; 329 bufsize += uio_resid(uio); 330 bufsize = MAX(bufsize, sizeof(HFSPlusAttrRecord)); 331 MALLOC(recp, HFSPlusAttrRecord *, bufsize, M_TEM 1952 int bufsize; local 2006 int bufsize; local [all...] |
H A D | hfs_catalog.c | 2824 size_t bufsize; local 2828 bufsize = 1 + utf8_encodelen(cnp->ustr.unicode, 2831 MALLOC(new_nameptr, u_int8_t *, bufsize, M_TEMP, M_WAITOK); 2834 new_nameptr, &tmp_namelen, bufsize, ':', 0); 2991 int bufsize; local 3006 bufsize = MAXPATHLEN + (maxlinks * sizeof(linkinfo_t)) + sizeof(*iterator); 3008 bufsize += 2*sizeof(struct direntry); 3010 MALLOC(buffer, void *, bufsize, M_TEMP, M_WAITOK); 3011 bzero(buffer, bufsize); 3709 size_t bufsize; local [all...] |
H A D | hfs_readwrite.c | 3429 size_t bufsize; local 3440 iosize = bufsize = MIN(copysize, 128 * 1024); 3443 if (kmem_alloc(kernel_map, (vm_offset_t *)&bufp, bufsize)) { 3491 kmem_free(kernel_map, (vm_offset_t)bufp, bufsize); 3507 size_t bufsize; local 3520 bufsize = MIN(blkcnt * blksize, 1024 * 1024) & ~(iosize - 1); 3521 breadcnt = bufsize / iosize; 3523 if (kmem_alloc(kernel_map, (vm_offset_t *)&bufp, bufsize)) { 3578 kmem_free(kernel_map, (vm_offset_t)bufp, bufsize);
|
H A D | hfs_vfsops.c | 2263 size_t bufsize; local 2272 bufsize = MAX(newlen * 3, MAXPATHLEN); 2274 MALLOC(unicode_name, u_int16_t *, bufsize, M_TEMP, M_WAITOK); 2279 &bytes, bufsize, 0, UTF_DECOMPOSED);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | uipc_mbuf.c | 2076 m_clalloc(const u_int32_t num, const int wait, const u_int32_t bufsize) argument 2086 VERIFY(bufsize == m_maxsize(MC_CL) || 2087 bufsize == m_maxsize(MC_BIGCL) || bufsize == m_maxsize(MC_16KCL)); 2113 i = m_howmany(num, bufsize); 2119 size = round_page_32(i * bufsize); 2123 if (bufsize <= m_maxsize(MC_BIGCL)) { 2152 if (bufsize == m_maxsize(MC_CL)) { 2159 } else if (bufsize == m_maxsize(MC_BIGCL)) { 2191 if (bufsize 3047 m_getpackets_internal(unsigned int *num_needed, int num_with_pkthdrs, int wait, int wantall, size_t bufsize) argument 3166 size_t bufsize, r_bufsize; local 4354 m_howmany(int num, size_t bufsize) argument [all...] |
H A D | subr_prof.c | 356 user_upp->pr_size = uap->bufsize; 387 upp->pr_size = uap->bufsize; 450 user_upc->pr_size = uap->bufsize; 456 upc->pr_size = uap->bufsize;
|
H A D | mcache.c | 232 mcache_create(const char *name, size_t bufsize, size_t align, argument 235 return (mcache_create_common(name, bufsize, align, mcache_slab_alloc, 245 mcache_create_ext(const char *name, size_t bufsize, argument 249 return (mcache_create_common(name, bufsize, 0, allocfn, 257 mcache_create_common(const char *name, size_t bufsize, size_t align, argument 318 cp->mc_bufsize = bufsize; 336 chunksize = MAX(bufsize, sizeof (u_int64_t)); 405 printf("mcache_create: %s (%s) arg %p bufsize %lu align %lu " 407 arg, bufsize, cp->mc_align, chunksize, btp->bt_bktsize);
|
H A D | kern_pcsamples.c | 290 pc_bufinfo.bufsize = pc_bufsize;
|
H A D | ubc_subr.c | 1706 * bufsize The size of the upl to create 1714 * KERN_INVALID_ARGUMENT The bufsize argument is not an even 1738 long bufsize, 1748 if (bufsize & 0xfff) 1768 kr = memory_object_upl_request(control, f_offset, bufsize, uplp, NULL, &count, uplflags); 1778 * Return the maximum bufsize ubc_create_upl( ) will take. 1735 ubc_create_upl( struct vnode *vp, off_t f_offset, long bufsize, upl_t *uplp, upl_page_info_t **plp, int uplflags) argument
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | tcp_input.c | 3421 u_long bufsize; local 3595 bufsize = rt->rt_rmx.rmx_sendpipe; 3596 if (bufsize < so->so_snd.sb_hiwat) 3598 bufsize = so->so_snd.sb_hiwat; 3599 if (bufsize < mss) 3600 mss = bufsize; 3602 bufsize = (((bufsize + (u_int64_t)mss - 1) / (u_int64_t)mss) * (u_int64_t)mss); 3603 if (bufsize > sb_max_corrected) 3604 bufsize [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/synthfs/ |
H A D | synthfs.h | 226 void synthfs_setupuio (struct iovec *iov, struct uio *uio, void *buffer, size_t bufsize, enum uio_seg space, enum uio_rw direction, proc_t p);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_fsevents.c | 2112 parse_buffer_and_add_events(const char *buffer, int bufsize, vfs_context_t ctx, long *remainder) argument 2120 while ((ptr+sizeof(int)+sizeof(fse_info)+1) < buffer+bufsize) { 2133 while(ptr < buffer+bufsize && *ptr != '\0') { 2137 if (ptr >= buffer+bufsize) { 2164 while(ptr < buffer+bufsize && *ptr != '\0') { 2168 if (ptr >= buffer+bufsize) { 2189 *remainder = (long)((buffer+bufsize) - event_start);
|
H A D | vfs_xattr.c | 533 size_t bufsize = 0; local 551 iosize = bufsize = MIN(datasize, NS_IOBUFSIZE); 552 if (kmem_alloc(kernel_map, (vm_offset_t *)&bufptr, bufsize)) { 593 kmem_free(kernel_map, (vm_offset_t)bufptr, bufsize); 722 size_t bufsize = 0; local 771 iosize = bufsize = MIN(datasize, NS_IOBUFSIZE); 772 if (kmem_alloc(kernel_map, (vm_offset_t *)&bufptr, bufsize)) { 827 kmem_free(kernel_map, (vm_offset_t)bufptr, bufsize);
|
H A D | vfs_lookup.c | 111 static int vfs_getrealpath(const char * path, char * realpath, size_t bufsize, vfs_context_t ctx); 1300 vfs_getrealpath(const char * path, char * realpath, size_t bufsize, vfs_context_t ctx) argument 1347 error = build_path(vp, realpath, bufsize, &length, 0, ctx);
|
H A D | vfs_syscalls.c | 1640 muap.bufsize = uap->bufsize; 1657 maxcount = uap->bufsize / sizeof(struct user_statfs); 1660 maxcount = uap->bufsize / sizeof(struct statfs); 1761 maxcount = uap->bufsize / sizeof(struct statfs64); 5554 size_t bufsize; local 5575 bufsize = 3 * MIN(uio_resid(uio), 87371) / 8; 5576 MALLOC(bufptr, void *, bufsize, M_TEMP, M_WAITOK); 5579 uio_addiov(auio, (uintptr_t)bufptr, bufsize); 5585 bytesread = bufsize 5620 getdirentries_common(int fd, user_addr_t bufp, user_size_t bufsize, ssize_t *bytesread, off_t *offset, int flags) argument [all...] |
H A D | vfs_journal.c | 468 int bufsize, amt_flushed, total_bytes; local 475 bufsize = buf_size(bp); 501 amt_flushed += OSAddAtomic(bufsize, (SInt32 *)&tr->num_flushed); 512 if ((amt_flushed + bufsize) < total_bytes) { 2301 panic("jnl: mod block start: bufsize %d not a multiple of block size %d\n", 2308 panic("jnl: transaction too big (%d >= %lld bytes, bufsize %d, tr %p bp %p)\n",
|
H A D | vfs_bio.c | 401 buf_setsize(buf_t bp, uint32_t bufsize) { argument 403 bp->b_bufsize = bufsize;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | dtrace_glue.c | 889 size_t bufsize, /* size of the objects it manages */ 899 return (kmem_cache_t *)bufsize; /* A cookie that tracks the single object size. */ 906 size_t bufsize = (size_t)cp; local 907 return (void *)_MALLOC(bufsize, M_TEMP, M_WAITOK); 887 kmem_cache_create( char *name, size_t bufsize, size_t align, int (*constructor)(void *, void *, int), void (*destructor)(void *, void *), void (*reclaim)(void *), void *private, vmem_t *vmp, int cflags) argument
|
H A D | dtrace.c | 12084 int bufsize = (int)NCPU * sizeof (dtrace_buffer_t), i; 12148 state->dts_buffer = kmem_zalloc(bufsize, KM_SLEEP); 12149 state->dts_aggbuffer = kmem_zalloc(bufsize, KM_SLEEP); 12443 int rval = 0, i, bufsize = (int)NCPU * sizeof (dtrace_buffer_t); 12491 if ((buf = kmem_zalloc(bufsize, KM_NOSLEEP)) == NULL) { 12694 kmem_free(buf, bufsize); 12821 int i, bufsize = (int)NCPU * sizeof (dtrace_buffer_t); 12916 kmem_free(state->dts_buffer, bufsize); 12917 kmem_free(state->dts_aggbuffer, bufsize); 12920 kmem_free(spec[i].dtsp_buffer, bufsize); [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/ |
H A D | nfs_bio.c | 638 int bufsize; local 647 bufsize = size; 648 if (bufsize > NFS_MAXBSIZE) 658 } else if (bufsize < nmp->nm_biosize) { 660 bufsize = nmp->nm_biosize; 702 if (bp->nb_bufsize != bufsize) 876 if ((bp->nb_bufsize != bufsize) && bp->nb_data) { 886 bp->nb_data = kalloc(bufsize); 904 bp->nb_bufsize = bufsize; 918 if (bufsize < PAGE_SIZ [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | atp_write.c | 596 unsigned short bufsize = UAS_VALUE(bdsp->bdsBuffSz); local 612 if ((bufsize != 0) && (bufaddr != 0)) { 620 if (len > bufsize) 621 len = bufsize; 627 bufsize -= len;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | sysproto.h | 167 char bufsize_l_[PADL_(int)]; int bufsize; char bufsize_r_[PADR_(int)]; member in struct:ogetfsstat_args 173 char bufsize_l_[PADL_(int)]; int bufsize; char bufsize_r_[PADR_(int)]; member in struct:getfsstat_args 265 char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; member in struct:profil_args 641 char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; member in struct:add_profil_args 901 char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; member in struct:listxattr_args 907 char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; member in struct:flistxattr_args 1353 char bufsize_l_[PADL_(user_size_t)]; user_size_t bufsize; char bufsize_r_[PADR_(user_size_t)]; member in struct:getdirentries64_args 1366 char bufsize_l_[PADL_(int)]; int bufsize; char bufsize_r_[PADR_(int)]; member in struct:getfsstat64_args 1694 char bufsize_l_[PADL_(int)]; int bufsize; char bufsize_r_[PADR_(int)]; member in struct:__mac_getfsstat_args
|