Lines Matching refs:data
45 * with the kstat_ctl_t data structure. When the kstat_ctl_t is free, the
322 /* Free the kc_private data if present. */
368 kstat_read(kstat_ctl_t *kc, kstat_t *ksp, void *data)
385 * which you hope will hold all the data.
388 * the current size of the kstat's data. You then
399 if (data != NULL) {
400 (void) memcpy(data, ksp->ks_data, ksp->ks_data_size);
408 kstat_named_t *knp = data;
418 * the string to the beginning of 'data' to fix
419 * the pointer so that strings in 'data' don't
422 KSTAT_NAMED_STR_PTR(knp) = (char *)data +
432 kstat_write(kstat_ctl_t *kc, kstat_t *ksp, void *data)
441 if (data != NULL) {
442 (void) memcpy(ksp->ks_data, data, ksp->ks_data_size);
444 kstat_named_t *oknp = data;
454 * The buffer passed in as 'data' has string
455 * pointers that point within 'data'. Fix the
461 (KSTAT_NAMED_STR_PTR(oknp) - (char *)data);
495 * kstat 0's data is the kstat chain, so we can get the chain