Lines Matching refs:state
34 .state = ATOMIC_INIT(RCU_DYNTICKS_IDX),
145 instrument_atomic_write(&ct->state, sizeof(ct->state)); in ct_kernel_exit()
183 instrument_atomic_write(&ct->state, sizeof(ct->state)); in ct_kernel_enter()
235 instrument_atomic_write(&ct->state, sizeof(ct->state)); in ct_nmi_exit()
285 instrument_atomic_read(&ct->state, sizeof(ct->state)); in ct_nmi_enter()
287 instrument_atomic_write(&ct->state, sizeof(ct->state)); in ct_nmi_enter()
466 void noinstr __ct_user_enter(enum ctx_state state) in __ct_user_enter() argument
477 if (__ct_state() != state) { in __ct_user_enter()
486 if (state == CONTEXT_USER) { in __ct_user_enter()
505 ct_kernel_exit(true, RCU_DYNTICKS_IDX + state); in __ct_user_enter()
513 arch_atomic_set(&ct->state, state); in __ct_user_enter()
530 arch_atomic_set(&ct->state, state); in __ct_user_enter()
538 arch_atomic_add(state, &ct->state); in __ct_user_enter()
555 void ct_user_enter(enum ctx_state state) in ct_user_enter() argument
571 __ct_user_enter(state); in ct_user_enter()
606 void noinstr __ct_user_exit(enum ctx_state state) in __ct_user_exit() argument
613 if (__ct_state() == state) { in __ct_user_exit()
619 ct_kernel_enter(true, RCU_DYNTICKS_IDX - state); in __ct_user_exit()
620 if (state == CONTEXT_USER) { in __ct_user_exit()
633 arch_atomic_set(&ct->state, CONTEXT_KERNEL); in __ct_user_exit()
638 arch_atomic_set(&ct->state, CONTEXT_KERNEL); in __ct_user_exit()
646 arch_atomic_sub(state, &ct->state); in __ct_user_exit()
663 void ct_user_exit(enum ctx_state state) in ct_user_exit() argument
671 __ct_user_exit(state); in ct_user_exit()