Lines Matching refs:type
75 const char *type, int flags)
95 WITNESS_INIT(lock, (type != NULL) ? type : name);
223 * Array of objects and profs for each type of object for each cpu. Spinlocks
267 lock_prof_init_type(struct lock_prof_type *type)
271 SLIST_INIT(&type->lpt_lpalloc);
272 LIST_INIT(&type->lpt_lpoalloc);
274 SLIST_INSERT_HEAD(&type->lpt_lpalloc, &type->lpt_prof[i],
276 LIST_INSERT_HEAD(&type->lpt_lpoalloc, &type->lpt_objs[i],
368 struct lock_prof_type *type;
380 type = &lp_cpu[cpu]->lpc_types[spin];
381 SLIST_FOREACH(l, &type->lpt_hash[hash], link) {
402 lock_prof_type_stats(struct lock_prof_type *type, struct sbuf *sb, int spin,
409 SLIST_FOREACH(l, &type->lpt_hash[i], link) {
496 struct lock_prof_type *type;
507 type = &lp_cpu[PCPU_GET(cpuid)]->lpc_types[spin];
508 head = &type->lpt_hash[hash];
515 lp = SLIST_FIRST(&type->lpt_lpalloc);
520 SLIST_REMOVE_HEAD(&type->lpt_lpalloc, link);
525 SLIST_INSERT_HEAD(&type->lpt_hash[hash], lp, link);
534 struct lock_prof_type *type;
542 type = &lp_cpu[PCPU_GET(cpuid)]->lpc_types[spin];
543 l = LIST_FIRST(&type->lpt_lpoalloc);
627 struct lock_prof_type *type;
678 type = &lp_cpu[PCPU_GET(cpuid)]->lpc_types[spin];
679 LIST_INSERT_HEAD(&type->lpt_lpoalloc, l, lpo_link);