Home
last modified time | relevance | path

Searched refs:fast_read_ctr (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/kernel/locking/
Dpercpu-rwsem.c14 brw->fast_read_ctr = alloc_percpu(int); in __percpu_init_rwsem()
15 if (unlikely(!brw->fast_read_ctr)) in __percpu_init_rwsem()
28 free_percpu(brw->fast_read_ctr); in percpu_free_rwsem()
29 brw->fast_read_ctr = NULL; /* catch use after free bugs */ in percpu_free_rwsem()
61 __this_cpu_add(*brw->fast_read_ctr, val); in update_fast_ctr()
109 sum += per_cpu(*brw->fast_read_ctr, cpu); in clear_fast_ctr()
110 per_cpu(*brw->fast_read_ctr, cpu) = 0; in clear_fast_ctr()
/linux-4.1.27/include/linux/
Dpercpu-rwsem.h11 unsigned int __percpu *fast_read_ctr; member