Home
last modified time | relevance | path

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

/xen/xen/include/xen/
A Drwlock.h285 ASSERT(per_cpudata == percpu_rwlock->percpu_owner); in _percpu_rwlock_owner_check()
301 _percpu_rwlock_owner_check(per_cpudata, percpu_rwlock); in _percpu_read_lock()
304 ASSERT(this_cpu_ptr(per_cpudata) != percpu_rwlock); in _percpu_read_lock()
309 if ( unlikely(this_cpu_ptr(per_cpudata) != NULL ) ) in _percpu_read_lock()
317 this_cpu_ptr(per_cpudata) = percpu_rwlock; in _percpu_read_lock()
323 this_cpu_ptr(per_cpudata) = NULL; in _percpu_read_lock()
327 this_cpu_ptr(per_cpudata) = percpu_rwlock; in _percpu_read_lock()
337 _percpu_rwlock_owner_check(per_cpudata, percpu_rwlock); in _percpu_read_unlock()
340 ASSERT(this_cpu_ptr(per_cpudata) != NULL); in _percpu_read_unlock()
350 this_cpu_ptr(per_cpudata) = NULL; in _percpu_read_unlock()
[all …]
/xen/xen/common/
A Drwlock.c108 void _percpu_write_lock(percpu_rwlock_t **per_cpudata, in _percpu_write_lock() argument
115 _percpu_rwlock_owner_check(per_cpudata, percpu_rwlock); in _percpu_write_lock()
140 if ( per_cpu_ptr(per_cpudata, cpu) != percpu_rwlock ) in _percpu_write_lock()

Completed in 4 milliseconds