Home
last modified time | relevance | path

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

/freebsd-12.1/sys/kern/
H A Dsubr_lock.c245 struct lock_prof_cpu *lp_cpu[MAXCPU]; variable
292 lp_cpu[cpu] = malloc(sizeof(*lp_cpu[cpu]), M_DEVBUF, in lock_prof_init()
294 lock_prof_init_type(&lp_cpu[cpu]->lpc_types[0]); in lock_prof_init()
295 lock_prof_init_type(&lp_cpu[cpu]->lpc_types[1]); in lock_prof_init()
335 lpc = lp_cpu[cpu]; in lock_prof_reset()
342 lpc = lp_cpu[cpu]; in lock_prof_reset()
383 if (lp_cpu[cpu] == NULL) in lock_prof_sum()
385 type = &lp_cpu[cpu]->lpc_types[spin]; in lock_prof_sum()
443 if (lp_cpu[cpu] == NULL) in dump_lock_prof_stats()
512 type = &lp_cpu[PCPU_GET(cpuid)]->lpc_types[spin]; in lock_profile_lookup()
[all …]