Searched refs:ct (Results 1 – 4 of 4) sorted by relevance
/kernel/ |
D | context_tracking.c | 126 struct context_tracking *ct = this_cpu_ptr(&context_tracking); in ct_kernel_exit() local 129 WRITE_ONCE(ct->dynticks_nmi_nesting, 0); in ct_kernel_exit() 134 ct->dynticks_nesting--; in ct_kernel_exit() 145 instrument_atomic_write(&ct->state, sizeof(ct->state)); in ct_kernel_exit() 148 WRITE_ONCE(ct->dynticks_nesting, 0); /* Avoid irq-access tearing. */ in ct_kernel_exit() 165 struct context_tracking *ct = this_cpu_ptr(&context_tracking); in ct_kernel_enter() local 173 ct->dynticks_nesting++; in ct_kernel_enter() 183 instrument_atomic_write(&ct->state, sizeof(ct->state)); in ct_kernel_enter() 187 WRITE_ONCE(ct->dynticks_nesting, 1); in ct_kernel_enter() 189 WRITE_ONCE(ct->dynticks_nmi_nesting, DYNTICK_IRQ_NONIDLE); in ct_kernel_enter() [all …]
|
/kernel/irq/ |
D | generic-chip.c | 40 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_disable_reg() local 44 irq_reg_writel(gc, mask, ct->regs.disable); in irq_gc_mask_disable_reg() 45 *ct->mask_cache &= ~mask; in irq_gc_mask_disable_reg() 60 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_set_bit() local 64 *ct->mask_cache |= mask; in irq_gc_mask_set_bit() 65 irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask); in irq_gc_mask_set_bit() 80 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_clr_bit() local 84 *ct->mask_cache &= ~mask; in irq_gc_mask_clr_bit() 85 irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask); in irq_gc_mask_clr_bit() 100 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_unmask_enable_reg() local [all …]
|
/kernel/time/ |
D | posix-cpu-timers.c | 329 struct task_cputime ct; in __thread_group_cputime() local 331 thread_group_cputime(tsk, &ct); in __thread_group_cputime() 332 store_samples(samples, ct.stime, ct.utime, ct.sum_exec_runtime); in __thread_group_cputime()
|
/kernel/rcu/ |
D | tree.c | 4192 struct context_tracking *ct = this_cpu_ptr(&context_tracking); in rcu_boot_init_percpu_data() local 4198 WARN_ON_ONCE(ct->dynticks_nesting != 1); in rcu_boot_init_percpu_data() 4223 struct context_tracking *ct = per_cpu_ptr(&context_tracking, cpu); in rcutree_prepare_cpu() local 4232 ct->dynticks_nesting = 1; /* CPU not up, no tearing. */ in rcutree_prepare_cpu()
|