Lines Matching defs:src
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
446 kstat_copy(const kstat_t *src, kstat_t *dst)
448 *dst = *src;
450 if (src->ks_data != NULL) {
451 if ((dst->ks_data = malloc(src->ks_data_size)) == NULL)
453 bcopy(src->ks_data, dst->ks_data, src->ks_data_size);
462 kstat_add(const kstat_t *src, kstat_t *dst)
469 return (kstat_copy(src, dst));
471 from = src->ks_data;
474 for (i = 0; i < src->ks_ndata; i++) {