Lines Matching defs:ks
110 static void netstack_shared_kstat_add(kstat_t *ks);
111 static void netstack_shared_kstat_remove(kstat_t *ks);
1130 kstat_t *ks;
1133 ks = kstat_create_zone(ks_module, ks_instance, ks_name,
1135 if (ks != NULL)
1136 netstack_shared_kstat_add(ks);
1137 return (ks);
1147 kstat_delete_netstack(kstat_t *ks, netstackid_t ks_netstackid)
1150 netstack_shared_kstat_remove(ks);
1152 kstat_delete(ks);
1213 netstack_shared_kstat_add(kstat_t *ks)
1219 sk->sk_kstat = ks;
1231 kstat_zone_add(ks, sz->sz_zoneid);
1237 netstack_shared_kstat_remove(kstat_t *ks)
1247 if ((*skp)->sk_kstat == ks) {
1262 kstat_zone_remove(ks, sz->sz_zoneid);