Lines Matching refs:dts_cred

1369 	cred_t *cr, *s_cr = state->dts_cred.dcr_cred;  in dtrace_priv_proc_common_user()
1397 cred_t *cr, *s_cr = state->dts_cred.dcr_cred; in dtrace_priv_proc_common_zone()
1430 int action = state->dts_cred.dcr_action; in dtrace_priv_proc_destructive()
1459 if (state->dts_cred.dcr_action & DTRACE_CRA_PROC_CONTROL) in dtrace_priv_proc_control()
1477 (state->dts_cred.dcr_action & DTRACE_CRA_PROC)) in dtrace_priv_proc()
1488 if (state->dts_cred.dcr_action & DTRACE_CRA_KERNEL) in dtrace_priv_kernel()
1499 if (state->dts_cred.dcr_action & DTRACE_CRA_KERNEL_DESTRUCTIVE) in dtrace_priv_kernel_destructive()
1562 cred_t *s_cr = state->dts_cred.dcr_cred; in dtrace_priv_probe()
1591 cred_t *s_cr = state->dts_cred.dcr_cred; in dtrace_priv_probe()
5507 (z = state->dts_cred.dcr_cred->cr_zone) != kcred->cr_zone) { in dtrace_dif_subr()
7078 !state->dts_cred.dcr_destructive || in dtrace_probe()
7115 if (state->dts_cred.dcr_visible & DTRACE_CRV_KERNEL) in dtrace_probe()
8917 dtrace_cred2priv(enab->dten_vstate->dtvs_state->dts_cred.dcr_cred, in dtrace_probe_enable()
9275 (vstate->dtvs_state->dts_cred.dcr_visible & DTRACE_CRV_KERNEL) == 0; in dtrace_difo_validate()
11396 if (!(state->dts_cred.dcr_visible & DTRACE_CRV_ALLPROC) && in dtrace_ecb_create()
11400 if (!(state->dts_cred.dcr_visible & DTRACE_CRV_ALLZONE) && in dtrace_ecb_create()
11409 if (!(state->dts_cred.dcr_visible & DTRACE_CRV_KERNEL) && in dtrace_ecb_create()
12411 dtrace_cred_t *dcr = &enab->dten_vstate->dtvs_state->dts_cred; in dtrace_enabling_matchall()
13853 state->dts_cred.dcr_visible = DTRACE_CRV_ALL; in dtrace_state_create()
13854 state->dts_cred.dcr_action = DTRACE_CRA_ALL; in dtrace_state_create()
13864 state->dts_cred.dcr_cred = cr; in dtrace_state_create()
13872 state->dts_cred.dcr_action |= DTRACE_CRA_PROC; in dtrace_state_create()
13883 state->dts_cred.dcr_visible |= in dtrace_state_create()
13886 state->dts_cred.dcr_action |= in dtrace_state_create()
13891 state->dts_cred.dcr_visible |= in dtrace_state_create()
13894 state->dts_cred.dcr_action |= in dtrace_state_create()
13905 state->dts_cred.dcr_action |= in dtrace_state_create()
13922 state->dts_cred.dcr_visible |= DTRACE_CRV_KERNEL | in dtrace_state_create()
13925 state->dts_cred.dcr_action |= DTRACE_CRA_KERNEL | in dtrace_state_create()
13932 state->dts_cred.dcr_action |= in dtrace_state_create()
13940 state->dts_cred.dcr_action |= in dtrace_state_create()
13950 state->dts_cred.dcr_action |= in dtrace_state_create()
13963 state->dts_cred.dcr_action |= in dtrace_state_create()
13967 state->dts_cred.dcr_action |= in dtrace_state_create()
14119 if (state->dts_destructive && !state->dts_cred.dcr_destructive) { in dtrace_state_go()
14359 !(state->dts_cred.dcr_visible & DTRACE_CRV_KERNEL)) { in dtrace_state_go()
14366 state->dts_cred.dcr_cred->cr_zone->zone_dtrace_getf++; in dtrace_state_go()
14491 !(state->dts_cred.dcr_visible & DTRACE_CRV_KERNEL)) { in dtrace_state_stop()
14498 ASSERT(state->dts_cred.dcr_cred->cr_zone->zone_dtrace_getf > 0); in dtrace_state_stop()
14502 state->dts_cred.dcr_cred->cr_zone->zone_dtrace_getf--; in dtrace_state_stop()
14531 state->dts_cred.dcr_destructive = 1; in dtrace_state_option()
14603 if (state->dts_cred.dcr_cred != NULL) in dtrace_state_destroy()
14604 crfree(state->dts_cred.dcr_cred); in dtrace_state_destroy()