Lines Matching defs:data

43  * 	All of the queue data structures are allocated in advance as part of
56 * the earlier errors provide the most important data for analysis.
57 * When a new error is dispatched, the error data is copied into the
61 * and returned to the caller. The element buffer data, eqe_data, may be
64 * created with errorq_nvcreate() to handle name-value pair (nvpair) data.
70 * invoked with a pointer to the saved error data. This function may be
92 * queue element data as a fixed buffer of name-value pairs. The
97 * data as fixed buffer nvlists (ereports). errorq_reserve()
113 * The queue element structures and error data buffers are allocated in
116 * a previous pointer, and a pointer to the corresponding error data
117 * buffer. The data buffer for a nvlist errorq is a shared buffer
178 * and each element will be able to record up to 'eltsize' bytes of data.
198 * void errorq_dispatch(errorq, data, len, flag);
200 * Attempt to enqueue the specified error data. If a free queue element
201 * is available, the data is copied into a free element and placed on a
203 * dropped. The data length (len) is specified in bytes and should not
204 * exceed the queue's maximum element size. If the data length is less
227 * The element is returned to the caller who may add error-specific data
303 caddr_t data;
360 * data pointer.
362 for (eep = eqp->eq_elems, data = eqp->eq_data; qlen > 1; qlen--) {
366 eep->eqe_data = data;
367 data += size;
372 eep->eqe_data = data;
389 * flag and initialize each element to have the start of its data region used
390 * as an errorq_nvelem_t with a nvlist allocator that consumes the data region.
421 * the various queue data structures. The caller must use some higher-level
516 * data buffer is copied into a preallocated queue element. If 'len' is
522 errorq_dispatch(errorq_t *eqp, const void *data, size_t len, uint_t flag)
548 bcopy(data, eep->eqe_data, MIN(eqp->eq_size, len));
859 * element is returned to the caller who may add error-specific data to
1024 * Reserve a new element and duplicate the data of the original into it.