Searched refs:srcu_ctrs (Results 1 – 2 of 2) sorted by relevance
32 struct srcu_ctr srcu_ctrs[2]; /* Locks and unlocks per CPU. */ member180 .srcu_ctrp = &pcpu_name.srcu_ctrs[0], \247 return scpp - &ssp->sda->srcu_ctrs[0]; in __srcu_ptr_to_ctr()254 return &ssp->sda->srcu_ctrs[idx]; in __srcu_ctr_to_ptr()
86 * parameter is set, don't initialize ->srcu_ctrs[].srcu_locks and87 * ->srcu_ctrs[].srcu_unlocks.225 ssp->srcu_ctrp = &ssp->sda->srcu_ctrs[0]; in init_srcu_struct_fields() 463 * Computes approximate total of the readers' ->srcu_ctrs[].srcu_locks477 sum += atomic_long_read(&sdp->srcu_ctrs[idx].srcu_locks); in srcu_readers_lock_idx() 489 * Returns approximate total of the readers' ->srcu_ctrs[].srcu_unlocks501 sum += atomic_long_read(&sdp->srcu_ctrs[idx].srcu_unlocks); in srcu_readers_unlock_idx() 546 * ->srcu_ctrs[idx].srcu_locks counter. In fact, it is possible in srcu_readers_active_idx_check() 548 * ->srcu_ctrp and incrementing ->srcu_ctrs[idx].srcu_locks. And in srcu_readers_active_idx_check() 558 * the ->srcu_ctrs[id in srcu_readers_active_idx_check() [all...]