Searched defs:knt (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ppp/sppp/
H A Dsppp.c242 kstat_named_t *knt; local
285 knt = (kstat_named_t *)ksp->ks_data;
288 kstat_named_init(knt, *cpp, KSTAT_DATA_UINT32);
289 knt++;
293 kstat_named_init(knt, *cpp, KSTAT_DATA_UINT64);
294 knt++;
/illumos-gate/usr/src/uts/common/io/ppp/spppasyn/
H A Dspppasyn.c474 kstat_named_t *knt; local
477 knt = (kstat_named_t *)&state->sa_kstats;
478 for (i = 0; i < nstat; i++, knt++) {
482 (void) sprintf(knt->name, "unknown%d", i);
485 (void) strncpy(knt->name, kstat_names[i],
486 sizeof (knt->name));
487 knt->data_type = KSTAT_DATA_UINT32;
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dspppcomp.c1050 kstat_named_t *knt; local
1094 knt = (kstat_named_t *)ksp->ks_data;
1097 kstat_named_init(knt, *cpp,
1099 knt++;
1103 kstat_named_init(knt, *cpp,
1105 knt++;
/illumos-gate/usr/src/uts/common/io/
H A Dtrill.c941 kstat_named_t *knt; local
962 knt = (kstat_named_t *)&(tsock->ts_kstats);
963 kstat_named_init(&knt[i], sock_kstats_list[i],
H A Dbridge.c556 kstat_setup(kstat_named_t *knt, const char **names, int nstat, argument
563 kstat_named_init(&knt[i], names[i], KSTAT_DATA_UINT64);
568 ksp->ks_data = knt;
/illumos-gate/usr/src/uts/common/io/ppp/sppptun/
H A Dsppptun.c403 kstat_setup(kstat_named_t *knt, const char **names, int nstat, argument
411 kstat_set_string(knt[i].name, names[i]);
412 knt[i].data_type = KSTAT_DATA_UINT64;
418 ksp->ks_data = (void *)knt;

Completed in 143 milliseconds