Lines Matching refs:systrace_sysent
102 systrace_sysent_t *systrace_sysent = NULL;
158 sy = (code >= NUM_SYSENT) ? &systrace_sysent[63] : &systrace_sysent[code];
272 sy = (code >= NUM_SYSENT) ? &systrace_sysent[63] : &systrace_sysent[code];
423 systrace_init(sysent, &systrace_sysent);
429 if (systrace_sysent[i].stsy_underlying == NULL)
443 systrace_sysent[i].stsy_entry = DTRACE_IDNONE;
444 systrace_sysent[i].stsy_return = DTRACE_IDNONE;
469 ASSERT(systrace_sysent[sysnum].stsy_entry == DTRACE_IDNONE);
474 ASSERT(systrace_sysent[sysnum].stsy_return == DTRACE_IDNONE);
488 int enabled = (systrace_sysent[sysnum].stsy_entry != DTRACE_IDNONE ||
489 systrace_sysent[sysnum].stsy_return != DTRACE_IDNONE);
492 systrace_sysent[sysnum].stsy_entry = id;
497 systrace_sysent[sysnum].stsy_return = id;
514 if (sysent[sysnum].sy_callc == systrace_sysent[sysnum].stsy_underlying) {
529 int disable = (systrace_sysent[sysnum].stsy_entry == DTRACE_IDNONE ||
530 systrace_sysent[sysnum].stsy_return == DTRACE_IDNONE);
535 ml_nofault_copy((vm_offset_t)&systrace_sysent[sysnum].stsy_underlying, (vm_offset_t)&sysent[sysnum].sy_callc, sizeof(systrace_sysent[sysnum].stsy_underlying));
546 systrace_sysent[sysnum].stsy_entry = DTRACE_IDNONE;
551 systrace_sysent[sysnum].stsy_return = DTRACE_IDNONE;