Lines Matching refs:template
6136 dtrace_hash_lookup(dtrace_hash_t *hash, dtrace_probe_t *template)
6138 int hashval = DTRACE_HASHSTR(hash, template);
6143 if (DTRACE_HASHEQ(hash, bucket->dthb_chain, template))
6151 dtrace_hash_collisions(dtrace_hash_t *hash, dtrace_probe_t *template)
6153 int hashval = DTRACE_HASHSTR(hash, template);
6158 if (DTRACE_HASHEQ(hash, bucket->dthb_chain, template))
6562 dtrace_probe_t template, *probe;
6582 template.dtpr_mod = (char *)pkp->dtpk_mod;
6583 template.dtpr_func = (char *)pkp->dtpk_func;
6584 template.dtpr_name = (char *)pkp->dtpk_name;
6593 (len = dtrace_hash_collisions(dtrace_bymod, &template)) < best) {
6599 (len = dtrace_hash_collisions(dtrace_byfunc, &template)) < best) {
6605 (len = dtrace_hash_collisions(dtrace_byname, &template)) < best) {
6635 for (probe = dtrace_hash_lookup(hash, &template); probe != NULL;
14577 dtrace_probe_t template, *probe, *first, *next;
14580 template.dtpr_mod = ctl->mod_modname;
14597 for (probe = first = dtrace_hash_lookup(dtrace_bymod, &template);