Home
last modified time | relevance | path

Searched refs:kap (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dklpd.c202 klpd_arg_t *kap = NULL; in klpd_marshall() local
228 kap = KLH_ARG(khp); in klpd_marshall()
231 vp, kap->kla_str, MAXPATHLEN, p->klpd_cred) != 0) { in klpd_marshall()
236 plen = strlen(kap->kla_str); in klpd_marshall()
244 kap->kla_str[plen] = '/'; in klpd_marshall()
245 bcopy(tmp, &kap->kla_str[plen + 1], clen); in klpd_marshall()
266 len += sizeof (*kap); in klpd_marshall()
269 kap = KLH_ARG(khp); in klpd_marshall()
270 kap->kla_int = va_arg(ap, int); in klpd_marshall()
279 if (kap != NULL) { in klpd_marshall()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgenunix.c2215 kmastat_cache(uintptr_t addr, const kmem_cache_t *cp, kmastat_args_t *kap) in kmastat_cache() argument
2217 kmastat_vmem_t **kvpp = kap->ka_kvpp; in kmastat_cache()
2258 mdb_printf((dfp++)->fmt, meminuse >> kap->ka_shift, in kmastat_cache()
2259 kap->ka_shift == GIGS ? 'G' : kap->ka_shift == MEGS ? 'M' : in kmastat_cache()
2260 kap->ka_shift == KILOS ? 'K' : 'B'); in kmastat_cache()
2269 kmastat_vmem_totals(uintptr_t addr, const vmem_t *v, kmastat_args_t *kap) in kmastat_vmem_totals() argument
2271 kmastat_vmem_t *kv = *kap->ka_kvpp; in kmastat_vmem_totals()
2284 kv->kv_meminuse >> kap->ka_shift, in kmastat_vmem_totals()
2285 kap->ka_shift == GIGS ? 'G' : kap->ka_shift == MEGS ? 'M' : in kmastat_vmem_totals()
2286 kap->ka_shift == KILOS ? 'K' : 'B', kv->kv_alloc, kv->kv_fail); in kmastat_vmem_totals()