Lines Matching refs:ASSERT
338 ASSERT(in == 0);
413 ASSERT(fasttrap_timeout != 0);
468 ASSERT(current_proc() == p);
470 ASSERT(p->p_dtrace_count > 0);
471 ASSERT(cp->p_dtrace_count == 0);
514 ASSERT(tp->ftt_proc->ftpc_acount != 0);
537 ASSERT(p == current_proc());
600 ASSERT(index < probe->ftp_ntps);
606 ASSERT(probe->ftp_tps[index].fit_tp->ftt_pid == pid);
608 //ASSERT(!(p->p_flag & SVFORK));
654 ASSERT(tp->ftt_ids != NULL || tp->ftt_retids != NULL);
675 ASSERT(0);
714 //ASSERT(p->p_proc_flag & P_PR_LOCK);
727 ASSERT(new_tp->ftt_pid == pid);
728 ASSERT(new_tp->ftt_pc == pc);
729 ASSERT(new_tp->ftt_proc == probe->ftp_prov->ftp_proc);
730 ASSERT(new_tp->ftt_ids == NULL);
731 ASSERT(new_tp->ftt_retids == NULL);
748 ASSERT(0);
774 ASSERT(index < probe->ftp_ntps);
780 ASSERT(probe->ftp_tps[index].fit_tp->ftt_pid == pid);
797 ASSERT(tp != NULL);
803 ASSERT(tp->ftt_ids != NULL);
809 ASSERT(tp->ftt_retids != NULL);
816 ASSERT(0);
821 ASSERT(*idp != NULL);
828 ASSERT(id->fti_probe == probe);
858 ASSERT(*tmp_tp != NULL);
859 ASSERT(*tmp_tp != probe->ftp_tps[index].fit_tp);
860 ASSERT((*tmp_tp)->ftt_ids == NULL);
861 ASSERT((*tmp_tp)->ftt_retids == NULL);
907 //ASSERT(p->p_proc_flag & P_PR_LOCK);
916 ASSERT(*pp != NULL);
919 ASSERT(*pp != NULL);
944 ASSERT(dtrace_pid_probe_ptr == NULL);
945 ASSERT(dtrace_return_probe_ptr == NULL);
949 ASSERT(dtrace_pid_probe_ptr == &fasttrap_pid_probe);
950 ASSERT(dtrace_return_probe_ptr == &fasttrap_return_probe);
958 //ASSERT(MUTEX_HELD(&cpu_lock));
961 ASSERT(fasttrap_pid_count > 0);
998 ASSERT(probe != NULL);
999 ASSERT(!probe->ftp_enabled);
1000 ASSERT(id == probe->ftp_id);
1001 // ASSERT(MUTEX_HELD(&cpu_lock));
1046 ASSERT(p != NULL);
1047 //ASSERT(p->p_parent == curproc);
1048 ASSERT(p->p_stat == SIDL);
1069 // ASSERT(!(p->p_flag & SVFORK));
1093 ASSERT(rc == FASTTRAP_ENABLE_PARTIAL);
1133 ASSERT(id == probe->ftp_id);
1142 // ASSERT(!(p->p_flag & SVFORK));
1157 ASSERT(provider->ftp_rcount > 0);
1190 // ASSERT(MUTEX_HELD(&cpu_lock));
1242 ASSERT(probe != NULL);
1243 ASSERT(!probe->ftp_enabled);
1244 ASSERT(fasttrap_total >= probe->ftp_ntps);
1324 ASSERT(fprc->ftpc_acount <= fprc->ftpc_rcount);
1338 ASSERT(new_fprc != NULL);
1355 ASSERT(fprc->ftpc_acount <= fprc->ftpc_rcount);
1388 ASSERT(proc->ftpc_rcount != 0);
1389 ASSERT(proc->ftpc_acount <= proc->ftpc_rcount);
1402 ASSERT(proc->ftpc_acount == 0);
1418 ASSERT(fprc != NULL);
1453 ASSERT(strlen(name) < sizeof (fp->ftp_name));
1454 ASSERT(pattr != NULL);
1523 ASSERT(new_fp != NULL);
1536 ASSERT(new_fp->ftp_proc != NULL);
1596 ASSERT(provider->ftp_rcount == 0);
1597 ASSERT(provider->ftp_ccount == 0);
1598 ASSERT(provider->ftp_mcount == 0);
1606 ASSERT(provider->ftp_proc->ftpc_acount <
1648 ASSERT(strlen(name) < sizeof (fp->ftp_name));
1665 ASSERT(!mprov || fp->ftp_mcount > 0);
1688 ASSERT(fp->ftp_proc->ftpc_acount < fp->ftp_proc->ftpc_rcount);
1812 ASSERT(pp != NULL);
1870 ASSERT(pdata->ftps_noffs > 0);
1874 ASSERT(pp != NULL);
2065 ASSERT(provider->ftp_mcount > 0);
2107 ASSERT(ntps > 0);
2119 ASSERT(pp != NULL);
2470 ASSERT(fasttrap_tpoints.fth_nent > 0);
2474 ASSERT(fasttrap_tpoints.fth_table != NULL);
2493 ASSERT(fasttrap_provs.fth_nent > 0);
2497 ASSERT(fasttrap_provs.fth_table != NULL);
2515 ASSERT(fasttrap_procs.fth_nent > 0);
2519 ASSERT(fasttrap_procs.fth_table != NULL);
2557 ASSERT( (err & 0xfffff000) == 0 );
2560 ASSERT( (rv & 0xfff00000) == 0 );