Lines Matching refs:pdata
1545 fasttrap_add_probe(fasttrap_probe_spec_t *pdata) in fasttrap_add_probe() argument
1556 if (pdata->ftps_noffs == 0) in fasttrap_add_probe()
1559 switch (pdata->ftps_type) { in fasttrap_add_probe()
1575 if ((provider = fasttrap_provider_lookup(pdata->ftps_pid, in fasttrap_add_probe()
1598 for (i = 0; i < pdata->ftps_noffs; i++) { in fasttrap_add_probe()
1602 (unsigned long long)pdata->ftps_offs[i]); in fasttrap_add_probe()
1605 pdata->ftps_mod, pdata->ftps_func, name_str) != 0) in fasttrap_add_probe()
1618 pp->ftp_faddr = pdata->ftps_pc; in fasttrap_add_probe()
1619 pp->ftp_fsize = pdata->ftps_size; in fasttrap_add_probe()
1620 pp->ftp_pid = pdata->ftps_pid; in fasttrap_add_probe()
1627 tp->ftt_pc = pdata->ftps_offs[i] + pdata->ftps_pc; in fasttrap_add_probe()
1628 tp->ftt_pid = pdata->ftps_pid; in fasttrap_add_probe()
1632 pp->ftp_tps[0].fit_id.fti_ptype = pdata->ftps_type; in fasttrap_add_probe()
1635 pdata->ftps_mod, pdata->ftps_func, name_str, in fasttrap_add_probe()
1639 } else if (dtrace_probe_lookup(provider->ftp_provid, pdata->ftps_mod, in fasttrap_add_probe()
1640 pdata->ftps_func, name) == 0) { in fasttrap_add_probe()
1641 atomic_add_32(&fasttrap_total, pdata->ftps_noffs); in fasttrap_add_probe()
1644 atomic_add_32(&fasttrap_total, -pdata->ftps_noffs); in fasttrap_add_probe()
1653 qsort(pdata->ftps_offs, pdata->ftps_noffs, in fasttrap_add_probe()
1655 for (i = 1; i < pdata->ftps_noffs; i++) { in fasttrap_add_probe()
1656 if (pdata->ftps_offs[i] > pdata->ftps_offs[i - 1]) in fasttrap_add_probe()
1659 atomic_add_32(&fasttrap_total, -pdata->ftps_noffs); in fasttrap_add_probe()
1663 ASSERT(pdata->ftps_noffs > 0); in fasttrap_add_probe()
1665 ftp_tps[pdata->ftps_noffs]), KM_SLEEP); in fasttrap_add_probe()
1668 pp->ftp_faddr = pdata->ftps_pc; in fasttrap_add_probe()
1669 pp->ftp_fsize = pdata->ftps_size; in fasttrap_add_probe()
1670 pp->ftp_pid = pdata->ftps_pid; in fasttrap_add_probe()
1671 pp->ftp_ntps = pdata->ftps_noffs; in fasttrap_add_probe()
1673 for (i = 0; i < pdata->ftps_noffs; i++) { in fasttrap_add_probe()
1678 tp->ftt_pc = pdata->ftps_offs[i] + pdata->ftps_pc; in fasttrap_add_probe()
1679 tp->ftt_pid = pdata->ftps_pid; in fasttrap_add_probe()
1683 pp->ftp_tps[i].fit_id.fti_ptype = pdata->ftps_type; in fasttrap_add_probe()
1687 pdata->ftps_mod, pdata->ftps_func, name, aframes, pp); in fasttrap_add_probe()