Lines Matching refs:buffer
281 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)
1579 if (copyout(kd_mapptr, buffer, kd_mapsize))
1612 kdbg_getentropy (user_addr_t buffer, size_t *number, int ms_timeout)
1639 * allocate entropy buffer
1701 * copyout the buffer
1703 if (copyout(kd_entropy_buffer, buffer, kd_entropy_indx * sizeof(uint64_t)))
1725 * We allow a maximum buffer size of 50% of either ram or max mapped address, whichever is smaller
1933 * enable only if buffer is initialized
2150 kdbg_read(user_addr_t buffer, size_t *number, vnode_t vp, vfs_context_t ctx)
2212 // Get from cpu data to buffer header to buffer
2215 // See if there are actual data left in this buffer
2266 // Copy into buffer
2305 error = copyout(kdcopybuf, buffer, tempbuf_number * sizeof(kd_buf));
2306 buffer += (tempbuf_number * sizeof(kd_buf));
2370 * buffer
2371 * uap->tracebuf_size - size of the user space trace buffer
2375 * EINVAL if the supplied trace buffer isn't sanely sized
2379 * ENOSPC if the supplied buffer is insufficient
2427 * the trace buffer