Searched refs:ksp (Results 1 – 5 of 5) sorted by relevance
143 register struct kmemstats *ksp = &kmemstats[type]; local163 while (ksp->ks_memuse >= ksp->ks_limit) {168 if (ksp->ks_limblocks < 65535)169 ksp->ks_limblocks++;170 tsleep(ksp, PSWP+2, memname[type], 0);172 ksp->ks_size |= 1 << indx;209 ksp->ks_memuse += allocsize;302 ksp->ks_memuse += 1 << indx;305 ksp->ks_inuse++;306 ksp->ks_calls++;[all …]
304 short *ksp; in new_itemsets() local318 ksp = kernel_end[symbol]; in new_itemsets()319 if (!ksp) in new_itemsets()322 ksp = kernel_base[symbol]; in new_itemsets()325 *ksp++ = i + 1; in new_itemsets()326 kernel_end[symbol] = ksp; in new_itemsets()
42 ksp
69 $ksp=&wparam(1);
1887 static kstat_t *ksp = NULL; in getla() local1900 if (ksp == NULL) in getla()1901 ksp = kstat_lookup(kc, "unix", 0, "system_misc"); in getla()1902 if (ksp == NULL) in getla()1909 if (kstat_read(kc, ksp, NULL) < 0) in getla()1916 ksn = (kstat_named_t *) kstat_data_lookup(ksp, "avenrun_1min"); in getla()