Lines Matching refs:dts_cred
1203 cred_t *cr, *s_cr = state->dts_cred.dcr_cred; in dtrace_priv_proc_common_user()
1231 cred_t *cr, *s_cr = state->dts_cred.dcr_cred; in dtrace_priv_proc_common_zone()
1264 int action = state->dts_cred.dcr_action; in dtrace_priv_proc_destructive()
1293 if (state->dts_cred.dcr_action & DTRACE_CRA_PROC_CONTROL) in dtrace_priv_proc_control()
1311 (state->dts_cred.dcr_action & DTRACE_CRA_PROC)) in dtrace_priv_proc()
1322 if (state->dts_cred.dcr_action & DTRACE_CRA_KERNEL) in dtrace_priv_kernel()
1333 if (state->dts_cred.dcr_action & DTRACE_CRA_KERNEL_DESTRUCTIVE) in dtrace_priv_kernel_destructive()
1396 cred_t *s_cr = state->dts_cred.dcr_cred; in dtrace_priv_probe()
1425 cred_t *s_cr = state->dts_cred.dcr_cred; in dtrace_priv_probe()
5280 (z = state->dts_cred.dcr_cred->cr_zone) != kcred->cr_zone) { in dtrace_dif_subr()
6784 !state->dts_cred.dcr_destructive || in dtrace_probe()
6821 if (state->dts_cred.dcr_visible & DTRACE_CRV_KERNEL) in dtrace_probe()
8630 dtrace_cred2priv(enab->dten_vstate->dtvs_state->dts_cred.dcr_cred, in dtrace_probe_enable()
8987 (vstate->dtvs_state->dts_cred.dcr_visible & DTRACE_CRV_KERNEL) == 0; in dtrace_difo_validate()
11020 if (!(state->dts_cred.dcr_visible & DTRACE_CRV_ALLPROC) && in dtrace_ecb_create()
11024 if (!(state->dts_cred.dcr_visible & DTRACE_CRV_ALLZONE) && in dtrace_ecb_create()
11033 if (!(state->dts_cred.dcr_visible & DTRACE_CRV_KERNEL) && in dtrace_ecb_create()
12003 dtrace_cred_t *dcr = &enab->dten_vstate->dtvs_state->dts_cred; in dtrace_enabling_matchall()
13425 state->dts_cred.dcr_visible = DTRACE_CRV_ALL; in dtrace_state_create()
13426 state->dts_cred.dcr_action = DTRACE_CRA_ALL; in dtrace_state_create()
13436 state->dts_cred.dcr_cred = cr; in dtrace_state_create()
13444 state->dts_cred.dcr_action |= DTRACE_CRA_PROC; in dtrace_state_create()
13455 state->dts_cred.dcr_visible |= in dtrace_state_create()
13458 state->dts_cred.dcr_action |= in dtrace_state_create()
13463 state->dts_cred.dcr_visible |= in dtrace_state_create()
13466 state->dts_cred.dcr_action |= in dtrace_state_create()
13477 state->dts_cred.dcr_action |= in dtrace_state_create()
13494 state->dts_cred.dcr_visible |= DTRACE_CRV_KERNEL | in dtrace_state_create()
13497 state->dts_cred.dcr_action |= DTRACE_CRA_KERNEL | in dtrace_state_create()
13504 state->dts_cred.dcr_action |= in dtrace_state_create()
13512 state->dts_cred.dcr_action |= in dtrace_state_create()
13522 state->dts_cred.dcr_action |= in dtrace_state_create()
13535 state->dts_cred.dcr_action |= in dtrace_state_create()
13539 state->dts_cred.dcr_action |= in dtrace_state_create()
13691 if (state->dts_destructive && !state->dts_cred.dcr_destructive) { in dtrace_state_go()
13875 !(state->dts_cred.dcr_visible & DTRACE_CRV_KERNEL)) { in dtrace_state_go()
13882 state->dts_cred.dcr_cred->cr_zone->zone_dtrace_getf++; in dtrace_state_go()
14007 !(state->dts_cred.dcr_visible & DTRACE_CRV_KERNEL)) { in dtrace_state_stop()
14014 ASSERT(state->dts_cred.dcr_cred->cr_zone->zone_dtrace_getf > 0); in dtrace_state_stop()
14018 state->dts_cred.dcr_cred->cr_zone->zone_dtrace_getf--; in dtrace_state_stop()
14047 state->dts_cred.dcr_destructive = 1; in dtrace_state_option()
14120 if (state->dts_cred.dcr_cred != NULL) in dtrace_state_destroy()
14121 crfree(state->dts_cred.dcr_cred); in dtrace_state_destroy()