Lines Matching refs:state
442 enum audit_state *state, in audit_filter_rules() argument
727 *state = AUDIT_DISABLED; in audit_filter_rules()
730 *state = AUDIT_RECORD_CONTEXT; in audit_filter_rules()
743 enum audit_state state; in audit_filter_task() local
748 &state, true)) { in audit_filter_task()
749 if (state == AUDIT_RECORD_CONTEXT) in audit_filter_task()
752 return state; in audit_filter_task()
785 enum audit_state state; in audit_filter_syscall() local
794 &state, false)) { in audit_filter_syscall()
796 ctx->current_state = state; in audit_filter_syscall()
797 return state; in audit_filter_syscall()
814 enum audit_state state; in audit_filter_inode_name() local
818 audit_filter_rules(tsk, &e->rule, ctx, n, &state, false)) { in audit_filter_inode_name()
819 ctx->current_state = state; in audit_filter_inode_name()
892 static inline struct audit_context *audit_alloc_context(enum audit_state state) in audit_alloc_context() argument
899 context->state = state; in audit_alloc_context()
900 context->prio = state == AUDIT_RECORD_CONTEXT ? ~0ULL : 0; in audit_alloc_context()
918 enum audit_state state; in audit_alloc() local
924 state = audit_filter_task(tsk, &key); in audit_alloc()
925 if (state == AUDIT_DISABLED) { in audit_alloc()
930 if (!(context = audit_alloc_context(state))) { in audit_alloc()
1632 enum audit_state state; in __audit_syscall_entry() local
1639 state = context->state; in __audit_syscall_entry()
1640 if (state == AUDIT_DISABLED) in __audit_syscall_entry()
1644 if (!context->dummy && state == AUDIT_BUILD_CONTEXT) { in __audit_syscall_entry()
1658 context->current_state = state; in __audit_syscall_entry()
1717 context->prio = context->state == AUDIT_RECORD_CONTEXT ? ~0ULL : 0; in __audit_syscall_exit()
1730 if (context->state != AUDIT_RECORD_CONTEXT) { in __audit_syscall_exit()