Home
last modified time | relevance | path

Searched refs:knt (Results 1 – 6 of 6) sorted by relevance

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