Lines Matching refs:state
443 enum audit_state *state, in audit_filter_rules() argument
700 *state = AUDIT_DISABLED; in audit_filter_rules()
703 *state = AUDIT_RECORD_CONTEXT; in audit_filter_rules()
716 enum audit_state state; in audit_filter_task() local
721 &state, true)) { in audit_filter_task()
722 if (state == AUDIT_RECORD_CONTEXT) in audit_filter_task()
725 return state; in audit_filter_task()
758 enum audit_state state; in audit_filter_syscall() local
768 &state, false)) { in audit_filter_syscall()
770 ctx->current_state = state; in audit_filter_syscall()
771 return state; in audit_filter_syscall()
789 enum audit_state state; in audit_filter_inode_name() local
796 audit_filter_rules(tsk, &e->rule, ctx, n, &state, false)) { in audit_filter_inode_name()
797 ctx->current_state = state; in audit_filter_inode_name()
902 static inline struct audit_context *audit_alloc_context(enum audit_state state) in audit_alloc_context() argument
909 context->state = state; in audit_alloc_context()
910 context->prio = state == AUDIT_RECORD_CONTEXT ? ~0ULL : 0; in audit_alloc_context()
928 enum audit_state state; in audit_alloc() local
934 state = audit_filter_task(tsk, &key); in audit_alloc()
935 if (state == AUDIT_DISABLED) { in audit_alloc()
940 if (!(context = audit_alloc_context(state))) { in audit_alloc()
1498 enum audit_state state; in __audit_syscall_entry() local
1515 state = context->state; in __audit_syscall_entry()
1517 if (!context->dummy && state == AUDIT_BUILD_CONTEXT) { in __audit_syscall_entry()
1519 state = audit_filter_syscall(tsk, context, &audit_filter_list[AUDIT_FILTER_ENTRY]); in __audit_syscall_entry()
1521 if (state == AUDIT_DISABLED) in __audit_syscall_entry()
1527 context->current_state = state; in __audit_syscall_entry()
1560 context->prio = context->state == AUDIT_RECORD_CONTEXT ? ~0ULL : 0; in __audit_syscall_exit()
1575 if (context->state != AUDIT_RECORD_CONTEXT) { in __audit_syscall_exit()