• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/

Lines Matching refs:match

375  * no way for a global variable key signature to match a thread-local key
921 * invoking ECB match the target credentials
6339 * These functions are used to match groups of probes, given some elements of
6348 uint32_t match = priv & ppriv;
6358 * No matching bits, but there were bits to match...
6360 if (match == 0 && ppriv != 0)
6366 if (((ppriv & ~match) & DTRACE_PRIV_OWNER) != 0 &&
6375 if (((ppriv & ~match) & DTRACE_PRIV_ZONEOWNER) != 0 &&
6387 * This function returns >0 for match, 0 for no match, and <0 for error.
6424 * The function returns 0 if no match, >0 if match, and <0 if recursion error.
6547 return (1); /* always match the empty pattern */
6571 * invoke the match callback once if a matching probe is found.
7222 int match;
7235 match = dtrace_match(&pkey, DTRACE_PRIV_ALL, 0, 0,
7239 ASSERT(match == 1 || match == 0);
7240 return (match ? id : 0);
9988 * the buffer size must match our specified size.
10557 dtrace_enabling_replicate(dtrace_state_t *state, dtrace_probedesc_t *match,
10564 ASSERT(strlen(match->dtpd_provider) < DTRACE_PROVNAMELEN);
10565 ASSERT(strlen(match->dtpd_mod) < DTRACE_MODNAMELEN);
10566 ASSERT(strlen(match->dtpd_func) < DTRACE_FUNCNAMELEN);
10567 ASSERT(strlen(match->dtpd_name) < DTRACE_NAMELEN);
10573 * match the specified state.
10589 * an exact match to the specified probe description.
10595 if (strcmp(pd->dtpd_provider, match->dtpd_provider))
10598 if (strcmp(pd->dtpd_mod, match->dtpd_mod))
10601 if (strcmp(pd->dtpd_func, match->dtpd_func))
10604 if (strcmp(pd->dtpd_name, match->dtpd_name))
11065 * this type and NULL is returned if the types do not match.
12824 uint32_t match;
12863 for (match = DTRACE_PRIV_KERNEL; ; match = 0) {
12868 if (match && ecb->dte_probe != NULL) {
12872 if (!(prov->dtpv_priv.dtpp_flags & match))
12880 if (!match)
14304 dtrace_dof_error(NULL, "returned value did not match expected generation");
14542 * If we have any retained enablings, we need to match against them.
14547 * our task queue to do the match for us.
14563 * match modules as soon as they load. However, we cannot guarantee
14935 * probes, and then match any anonymous enabling against them. Note
15600 dtrace_probedesc_t *match = &desc.dtrpd_match;
15607 match->dtpd_provider[DTRACE_PROVNAMELEN - 1] = '\0';
15608 match->dtpd_mod[DTRACE_MODNAMELEN - 1] = '\0';
15609 match->dtpd_func[DTRACE_FUNCNAMELEN - 1] = '\0';
15610 match->dtpd_name[DTRACE_NAMELEN - 1] = '\0';
15618 err = dtrace_enabling_replicate(state, match, create);
15644 * Before we attempt to match this probe, we want to give