Home
last modified time | relevance | path

Searched refs:dynticks_nesting (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/include/linux/
Dcontext_tracking_state.h42 long dynticks_nesting; /* Track process nesting level. */ member
80 return __this_cpu_read(context_tracking.dynticks_nesting); in ct_dynticks_nesting()
87 return ct->dynticks_nesting; in ct_dynticks_nesting_cpu()
/linux-6.6.21/kernel/
Dcontext_tracking.c31 .dynticks_nesting = 1,
134 ct->dynticks_nesting--; in ct_kernel_exit()
148 WRITE_ONCE(ct->dynticks_nesting, 0); /* Avoid irq-access tearing. */ in ct_kernel_exit()
173 ct->dynticks_nesting++; in ct_kernel_enter()
187 WRITE_ONCE(ct->dynticks_nesting, 1); in ct_kernel_enter()
/linux-6.6.21/Documentation/RCU/Design/Data-Structures/
DData-Structures.rst938 1 long dynticks_nesting;
948 The ``->dynticks_nesting`` field counts the nesting depth of process
963 ``->dynticks_nesting`` field is incremented up from zero, the
965 whenever the ``->dynticks_nesting`` field is decremented down to zero,
995 | Why not simply combine the ``->dynticks_nesting`` and |
/linux-6.6.21/kernel/rcu/
Dtree.c4349 WARN_ON_ONCE(ct->dynticks_nesting != 1); in rcu_boot_init_percpu_data()
4383 ct->dynticks_nesting = 1; /* CPU not up, no tearing. */ in rcutree_prepare_cpu()