Searched refs:buffer (Results 76 - 100 of 103) sorted by relevance

12345

/darwin-on-arm/xnu/libkern/crypto/
H A Dlocalcrypto_md5.c192 memcpy(&context->buffer[index], input, partLen);
195 context->buffer, context);
211 memcpy(&context->buffer[index], &input[i], inputLen - i);
/darwin-on-arm/xnu/iokit/Kernel/
H A DIODMACommand.cpp885 void * buffer; member in struct:IODMACommandTransferContext
924 copypv(cpuAddr, context->bufferOffset + (addr64_t) context->buffer, copyLen,
928 copypv(context->bufferOffset + (addr64_t) context->buffer, cpuAddr, copyLen,
940 IODMACommand::transfer(IOOptionBits transferOp, UInt64 offset, void * buffer, UInt64 length) argument
954 context.buffer = buffer;
H A DIOHibernateRestoreKernel.c91 UART_RBR = 0, /* receive buffer Register (R) */
377 uint32_t * buffer, uint32_t ppnum)
623 // alloc new buffer page
760 /* Max number conversion buffer length: a u_quad_t in base 2, plus NUL byte. */
764 * Put a NUL-terminated ASCII number (base <= 36) in a buffer in reverse
766 * written in the buffer (i.e., the first character of the string).
767 * The buffer pointed to by `nbuf' must have length >= MAXNBUF.
376 store_one_page(uint32_t procFlags, uint32_t * src, uint32_t compressedSize, uint32_t * buffer, uint32_t ppnum) argument
/darwin-on-arm/xnu/bsd/bsm/
H A Daudit_record.h193 int au_close_buffer(int d, short event, u_char *buffer, size_t *buflen);
194 int au_close_token(token_t *tok, u_char *buffer, size_t *buflen);
/darwin-on-arm/xnu/bsd/dev/random/
H A Dfips_sha1.c77 #define buffer m.b8 macro
199 memcpy(&context->buffer[index], input, partLen);
202 context->state[4], context->buffer, context);
218 memcpy(&context->buffer[index], &input[i], inputLen - i);
/darwin-on-arm/xnu/bsd/hfs/hfscommon/BTree/
H A DBTreeScanner.c47 // avoidIO If true, don't do any I/O to refill the buffer
50 // key Key of found record (points into buffer)
51 // data Data of found record (points into buffer)
61 // does not copy the key or data to a caller-supplied buffer (like
77 // If this is the first call, there won't be any nodes in the buffer, so go
134 // Purpose: Point to the next leaf node in the buffer. Read more nodes
135 // into the buffer if needed (and allowed).
139 // avoidIO If true, don't do any I/O to refill the buffer
159 // Time to read some more nodes into the buffer
166 // read some more nodes into buffer
[all...]
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Catalog/
H A DFileIDsServices.c52 static void CopyExtentInfo( ExtentKey *key, ExtentRecord *data, ExtentsRecBuffer *buffer, u_int16_t bufferCount );
579 // get iterator and buffer descriptor ready...
603 // If our buffer is not full, we must be done, or recieved an error
605 if ( i != kNumExtentsToCache ) // if the buffer is not full, we must be done
621 static void CopyExtentInfo( ExtentKey *key, ExtentRecord *data, ExtentsRecBuffer *buffer, u_int16_t bufferCount ) argument
623 BlockMoveData( key, &(buffer[bufferCount].extentKey), sizeof( ExtentKey ) );
624 BlockMoveData( data, &(buffer[bufferCount].extentData), sizeof( ExtentRecord ) );
/darwin-on-arm/xnu/bsd/hfs/hfscommon/headers/
H A DBTreesInternal.h120 void *buffer; member in struct:BlockDescriptor
/darwin-on-arm/xnu/iokit/IOKit/
H A DIODMACommand.h93 @constant kForceDoubleBuffer Copy the entire prepared range to a new page aligned buffer.
307 kForceDoubleBuffer copy the entire prepared range to a new page aligned buffer.
325 virtual UInt64 transfer( IOOptionBits transferOp, UInt64 offset, void * buffer, UInt64 length );
330 @abstract Copy data to the IODMACommand's buffer from the specified buffer.
331 @discussion This method copies data to the IODMACommand's memory at the given offset, from the caller's buffer. The IODMACommand must be prepared, and the offset is relative to the prepared offset.
333 @param bytes The caller supplied buffer to copy the data from.
340 @abstract Copy data from the IODMACommand's buffer to the specified buffer.
341 @discussion This method copies data from the IODMACommand's memory at the given offset, to the caller's buffer
[all...]
/darwin-on-arm/xnu/libkern/c++/
H A DOSUnserializeXML.cpp182 // state information for the parsing of a single buffer
1497 { yyerror("unexpected end of buffer");
2042 /* copy to null terminated buffer */
2284 // end of the buffer?
2700 OSUnserializeXML(const char *buffer, OSString **errorString)
2705 if ((!state) || (!buffer)) return 0;
2710 state->parseBuffer = buffer;
H A DOSUnserializeXML.y87 // state information for the parsing of a single buffer
145 input: /* empty */ { yyerror("unexpected end of buffer");
430 /* copy to null terminated buffer */
672 // end of the buffer?
1088 OSUnserializeXML(const char *buffer, OSString **errorString)
1093 if ((!state) || (!buffer)) return 0;
1098 state->parseBuffer = buffer;
H A DOSKext.cpp173 /* If the file is contained in a larger buffer laid down by the booter or
439 /* Create an OSData wrapper for the allocated buffer.
455 "Allocated link buffer for kext %s at %p (%lu bytes).",
2607 * the larger mkext file buffer any more.
2997 * so that we don't have the tie to the larger mkext file buffer any more.
3223 * the buffer.
3347 "Kext load request buffer from user space still retained by a kext; "
3371 char * buffer = NULL; local
3408 kmem_result = kmem_alloc(kernel_map, (vm_offset_t *)&buffer, logInfoLength);
3417 memcpy(buffer, logInf
7653 char * buffer; local
9471 char * buffer = stackBuffer; // do not free local
[all...]
/darwin-on-arm/xnu/libkern/libkern/
H A DOSKextLibPrivate.h595 * @abstract The length of a string buffer
649 * @param buffer
650 * A C string buffer of at least
652 * @param bufferSize The size in bytes of <code>buffer</code>.
656 * <code>FALSE</code> if <code>buffer</code> is <code>NULL</code> or
661 * The return value strictly indicates whether <code>buffer</code>
670 char * buffer,
/darwin-on-arm/xnu/osfmk/kperf/
H A Daction.c31 * modules and puts them in a buffer
45 #include <kperf/buffer.h>
91 * buffer.
128 /* stash the data into the buffer
H A Dtimetrigger.c39 #include <kperf/buffer.h>
91 /* In an interrupt, get the interrupt buffer for this CPU */
/darwin-on-arm/xnu/bsd/kern/
H A Dkdebug.c281 kd_threadmap *map; /* pointer to the map buffer */
1139 * The proc count could change during buffer allocation,
1141 * buffer sizes. This gives new tasks some chance of
1214 * Clean up the trace buffer
1238 /* Clean up the thread map buffer */
1292 /* This is for pid exclusion in the trace buffer */
1518 kdbg_readmap(user_addr_t buffer, size_t *number, vnode_t vp, vfs_context_t ctx) argument
1579 if (copyout(kd_mapptr, buffer, kd_mapsize))
1612 kdbg_getentropy (user_addr_t buffer, size_t *number, int ms_timeout) argument
1639 * allocate entropy buffer
2150 kdbg_read(user_addr_t buffer, size_t *number, vnode_t vp, vfs_context_t ctx) argument
[all...]
/darwin-on-arm/xnu/bsd/net/
H A Dntstat.c261 u_int8_t *buffer = OSMalloc(size, tag); local
262 if (buffer == NULL) return NULL;
264 u_int8_t *aligned = buffer + sizeof(*hdr);
268 hdr->offset = aligned - buffer;
276 void *buffer,
279 struct align_header *hdr = (struct align_header*)(void *)((u_int8_t*)buffer - sizeof(*hdr));
280 OSFree(((char*)buffer) - hdr->offset, hdr->length, tag);
1795 // responses and succeed until the buffer fills up. Since the clients thread
275 nstat_free_aligned( void *buffer, OSMallocTag tag) argument
H A Dkpi_interface.c103 if (ifp->if_broadcast.length > sizeof (ifp->if_broadcast.u.buffer)) {
274 sizeof (ifp->if_broadcast.u.buffer)) {
286 ifp->if_broadcast.u.buffer,
1426 sizeof (interface->if_broadcast.u.buffer)) {
1427 bcopy(interface->if_broadcast.u.buffer, addr,
H A Dif_var.h284 u_int8_t *ifd_desc; /* ptr to desc buffer */
594 u_char buffer[8]; member in union:ifnet::__anon205::__anon206
/darwin-on-arm/xnu/osfmk/kern/
H A Dbsd_kern.c688 fill_taskthreadlist(task_t task, void * buffer, int thcount) argument
695 uptr = (uint64_t *)buffer;
/darwin-on-arm/xnu/osfmk/x86_64/
H A Dloose_ends.c204 int (*func)(void * buffer, vm_size_t bytes, void * arg),
201 apply_func_phys( addr64_t dst64, vm_size_t bytes, int (*func)(void * buffer, vm_size_t bytes, void * arg), void * arg) argument
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_catalog.c2362 /* Acquire a buffer cache block for our block. */
2593 * Pack a cat_entrylist buffer with attributes from the catalog
3192 * Pack a uio buffer with directory entries from the catalog
3202 void * buffer; local
3218 * Get a buffer for link info array, btree iterator and a direntry:
3225 MALLOC(buffer, void *, bufsize, M_TEMP, M_WAITOK);
3226 bzero(buffer, bufsize);
3233 state.cbs_linkinfo = (linkinfo_t *)((char *)buffer + MAXPATHLEN);
3317 state.cbs_namebuf = (u_int8_t *)buffer;
3321 /* Use a temporary buffer t
[all...]
H A Dhfs_vfsops.c1154 * an advisory read to get most of the data into the buffer cache.
4752 * Invalidate the physical block numbers associated with buffer cache blocks
4786 * physical block number of any buffer cache block in the copied extent
4804 void *buffer = NULL; local
4871 * TODO: Should we use a larger buffer, doing several consecutive
4876 if (kmem_alloc(kernel_map, (vm_offset_t*) &buffer, bufferSize))
4879 /* Get a buffer for doing the I/O */
4881 buf_setdataptr(bp, (uintptr_t)buffer);
4890 /* Prepare the buffer for reading */
4904 /* Attach the new CP blob to the buffer i
[all...]
/darwin-on-arm/xnu/osfmk/i386/
H A Dloose_ends.c175 int (*func)(void * buffer, vm_size_t bytes, void * arg),
172 apply_func_phys( addr64_t dst64, vm_size_t bytes, int (*func)(void * buffer, vm_size_t bytes, void * arg), void * arg) argument
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_dummynet.c263 #define HEAP_SWAP(a, b, buffer) { buffer = a ; a = b ; b = buffer ; }

Completed in 282 milliseconds

12345