Lines Matching refs:sgkp
5055 struct idn_gkstat_named *sgkp; local
5074 sgkp = (struct idn_gkstat_named *)(ksp->ks_data);
5075 kstat_named_init(&sgkp->sk_curtime, "curtime",
5077 kstat_named_init(&sgkp->sk_reconfigs, "reconfigs",
5079 kstat_named_init(&sgkp->sk_reconfig_last, "reconfig_last",
5081 kstat_named_init(&sgkp->sk_reaps, "reaps",
5083 kstat_named_init(&sgkp->sk_reap_last, "reap_last",
5085 kstat_named_init(&sgkp->sk_links, "links",
5087 kstat_named_init(&sgkp->sk_link_last, "link_last",
5089 kstat_named_init(&sgkp->sk_unlinks, "unlinks",
5091 kstat_named_init(&sgkp->sk_unlink_last, "unlink_last",
5093 kstat_named_init(&sgkp->sk_buffail, "buf_fail",
5095 kstat_named_init(&sgkp->sk_buffail_last, "buf_fail_last",
5097 kstat_named_init(&sgkp->sk_slabfail, "slab_fail",
5099 kstat_named_init(&sgkp->sk_slabfail_last, "slab_fail_last",
5101 kstat_named_init(&sgkp->sk_slabfail_last, "slab_fail_last",
5103 kstat_named_init(&sgkp->sk_reap_count, "reap_count",
5105 kstat_named_init(&sgkp->sk_dropped_intrs, "dropped_intrs",
5123 struct idn_gkstat_named *sgkp; local
5125 sgkp = (struct idn_gkstat_named *)ksp->ks_data;
5128 sg_kstat.gk_reconfigs = sgkp->sk_reconfigs.value.ul;
5129 sg_kstat.gk_reconfig_last = sgkp->sk_reconfig_last.value.ul;
5130 sg_kstat.gk_reaps = sgkp->sk_reaps.value.ul;
5131 sg_kstat.gk_reap_last = sgkp->sk_reap_last.value.ul;
5132 sg_kstat.gk_links = sgkp->sk_links.value.ul;
5133 sg_kstat.gk_link_last = sgkp->sk_link_last.value.ul;
5134 sg_kstat.gk_unlinks = sgkp->sk_unlinks.value.ul;
5135 sg_kstat.gk_unlink_last = sgkp->sk_unlink_last.value.ul;
5136 sg_kstat.gk_buffail = sgkp->sk_buffail.value.ul;
5137 sg_kstat.gk_buffail_last = sgkp->sk_buffail_last.value.ul;
5138 sg_kstat.gk_slabfail = sgkp->sk_slabfail.value.ul;
5139 sg_kstat.gk_slabfail_last = sgkp->sk_slabfail_last.value.ul;
5140 sg_kstat.gk_reap_count = sgkp->sk_reap_count.value.ul;
5141 sg_kstat.gk_dropped_intrs = sgkp->sk_dropped_intrs.value.ul;
5143 sgkp->sk_curtime.value.ul = ddi_get_lbolt();
5144 sgkp->sk_reconfigs.value.ul = sg_kstat.gk_reconfigs;
5145 sgkp->sk_reconfig_last.value.ul = sg_kstat.gk_reconfig_last;
5146 sgkp->sk_reaps.value.ul = sg_kstat.gk_reaps;
5147 sgkp->sk_reap_last.value.ul = sg_kstat.gk_reap_last;
5148 sgkp->sk_links.value.ul = sg_kstat.gk_links;
5149 sgkp->sk_link_last.value.ul = sg_kstat.gk_link_last;
5150 sgkp->sk_unlinks.value.ul = sg_kstat.gk_unlinks;
5151 sgkp->sk_unlink_last.value.ul = sg_kstat.gk_unlink_last;
5152 sgkp->sk_buffail.value.ul = sg_kstat.gk_buffail;
5153 sgkp->sk_buffail_last.value.ul = sg_kstat.gk_buffail_last;
5154 sgkp->sk_slabfail.value.ul = sg_kstat.gk_slabfail;
5155 sgkp->sk_slabfail_last.value.ul = sg_kstat.gk_slabfail_last;
5156 sgkp->sk_reap_count.value.ul = sg_kstat.gk_reap_count;
5157 sgkp->sk_dropped_intrs.value.ul = sg_kstat.gk_dropped_intrs;