Searched refs:percpu_rwlock (Results 1 – 2 of 2) sorted by relevance
270 typedef struct percpu_rwlock percpu_rwlock_t;272 struct percpu_rwlock { struct311 read_lock(&percpu_rwlock->rwlock); in _percpu_read_lock()317 this_cpu_ptr(per_cpudata) = percpu_rwlock; in _percpu_read_lock()325 read_lock(&percpu_rwlock->rwlock); in _percpu_read_lock()329 read_unlock(&percpu_rwlock->rwlock); in _percpu_read_lock()334 percpu_rwlock_t *percpu_rwlock) in _percpu_read_unlock() argument347 read_unlock(&percpu_rwlock->rwlock); in _percpu_read_unlock()365 ASSERT(percpu_rwlock->writer_activating); in _percpu_write_unlock()366 percpu_rwlock->writer_activating = 0; in _percpu_write_unlock()[all …]
109 percpu_rwlock_t *percpu_rwlock) in _percpu_write_lock() argument115 _percpu_rwlock_owner_check(per_cpudata, percpu_rwlock); in _percpu_write_lock()121 write_lock(&percpu_rwlock->rwlock); in _percpu_write_lock()124 percpu_rwlock->writer_activating = 1; in _percpu_write_lock()140 if ( per_cpu_ptr(per_cpudata, cpu) != percpu_rwlock ) in _percpu_write_lock()
Completed in 5 milliseconds