Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 25 of 70) sorted by relevance

123

/xen/xen/include/xen/
A Drwlock.h14 spinlock_t lock; member
54 static inline int _read_trylock(rwlock_t *lock) in _read_trylock()
79 static inline void _read_lock(rwlock_t *lock) in _read_lock()
100 static inline void _read_lock_irq(rwlock_t *lock) in _read_lock_irq()
119 static inline void _read_unlock(rwlock_t *lock) in _read_unlock()
141 static inline int _rw_is_locked(rwlock_t *lock) in _rw_is_locked()
155 static inline void _write_lock(rwlock_t *lock) in _write_lock()
372 #define percpu_read_lock(percpu, lock) \ argument
374 #define percpu_read_unlock(percpu, lock) \ argument
376 #define percpu_write_lock(percpu, lock) \ argument
[all …]
A Drcupdate.h120 static inline void rcu_read_lock(rcu_read_lock_t *lock) in rcu_read_lock()
130 static inline void rcu_read_unlock(rcu_read_lock_t *lock) in rcu_read_unlock()
A Dwait.h17 spinlock_t lock; member
A Devent_fifo.h16 spinlock_t lock; member
A Dvm_event.h31 spinlock_t lock; member
A Dspinlock.h76 struct spinlock *lock; /* the lock itself */ member
200 #define spin_trylock_irqsave(lock, flags) \ argument
/xen/xen/common/
A Dspinlock.c178 void _spin_lock(spinlock_t *lock) in _spin_lock()
183 void _spin_lock_irq(spinlock_t *lock) in _spin_lock_irq()
199 void _spin_unlock(spinlock_t *lock) in _spin_unlock()
209 void _spin_unlock_irq(spinlock_t *lock) in _spin_unlock_irq()
221 int _spin_is_locked(spinlock_t *lock) in _spin_is_locked()
235 int _spin_trylock(spinlock_t *lock) in _spin_trylock()
264 void _spin_barrier(spinlock_t *lock) in _spin_barrier()
289 int _spin_trylock_recursive(spinlock_t *lock) in _spin_trylock_recursive()
313 void _spin_lock_recursive(spinlock_t *lock) in _spin_lock_recursive()
328 void _spin_unlock_recursive(spinlock_t *lock) in _spin_unlock_recursive()
[all …]
A Drwlock.c12 static inline void rspin_until_writer_unlock(rwlock_t *lock, u32 cnts) in rspin_until_writer_unlock()
26 void queue_read_lock_slowpath(rwlock_t *lock) in queue_read_lock_slowpath()
63 void queue_write_lock_slowpath(rwlock_t *lock) in queue_write_lock_slowpath()
/xen/tools/libxl/
A Dlibxl_internal.c405 libxl__flock *lock; in libxl__lock_file() local
464 void libxl__unlock_file(libxl__flock *lock) in libxl__unlock_file()
489 libxl__flock *lock; in libxl__lock_domain_userdata() local
599 static void ev_slowlock_init_internal(libxl__ev_slowlock *lock, in ev_slowlock_init_internal()
609 void libxl__ev_devlock_init(libxl__ev_slowlock *lock) in libxl__ev_devlock_init()
614 void libxl__ev_qmplock_init(libxl__ev_slowlock *lock) in libxl__ev_qmplock_init()
623 void libxl__ev_slowlock_lock(libxl__egc *egc, libxl__ev_slowlock *lock) in libxl__ev_slowlock_lock()
639 static void ev_lock_prepare_fork(libxl__egc *egc, libxl__ev_slowlock *lock) in ev_lock_prepare_fork()
714 libxl__ev_slowlock *lock = CONTAINER_OF(child, *lock, child); in ev_lock_child_callback() local
769 void libxl__ev_slowlock_unlock(libxl__gc *gc, libxl__ev_slowlock *lock) in libxl__ev_slowlock_unlock()
[all …]
A Dlibxl_mem.c33 libxl__flock *lock = NULL; in libxl_domain_setmaxmem() local
187 libxl__flock *lock; in libxl_set_memory_target() local
/xen/xen/common/sched/
A Dcore.c309 spinlock_t *lock; in vcpu_runstate_get() local
506 spinlock_t *lock; in sched_select_initial_cpu() local
685 spinlock_t *lock; in sched_move_domain() local
834 spinlock_t *lock; in vcpu_sleep_nosync() local
862 spinlock_t *lock; in vcpu_wake() local
1118 spinlock_t *lock; in restore_vcpu_affinity() local
1302 spinlock_t *lock; in vcpu_set_affinity() local
1461 spinlock_t *lock; in vcpu_yield() local
1563 spinlock_t *lock; in vcpu_temporary_affinity() local
2516 spinlock_t *lock; in sched_slave() local
[all …]
A Dnull.c79 spinlock_t lock; /* scheduler lock; nests inside cpupool_lock */ member
460 spinlock_t *lock; in null_unit_insert() local
524 spinlock_t *lock; in null_unit_remove() local
878 spinlock_t *lock; in null_schedule() local
947 spinlock_t *lock; in null_dump_pcpu() local
995 spinlock_t *lock; in null_dump() local
A Dcredit.c211 spinlock_t lock; member
961 spinlock_t *lock = unit_schedule_lock_irqsave(currunit, &flags); in csched_unit_acct() local
1014 spinlock_t *lock; in csched_unit_insert() local
1321 spinlock_t *lock; in csched_runq_sort() local
1724 spinlock_t *lock; in csched_load_balance() local
2039 spinlock_t *lock; in csched_dump_pcpu() local
2133 spinlock_t *lock; in csched_dump() local
A Dcredit2.c496 spinlock_t lock; /* Lock for this runqueue */ member
525 rwlock_t lock; /* Private scheduler lock */ member
2025 spinlock_t *lock; in unpark_parked_units() local
2300 spinlock_t *lock = unit_schedule_lock_irq(unit); in csched2_context_saved() local
2943 spinlock_t *lock = unit_schedule_lock(unit); in csched2_dom_cntl() local
2957 spinlock_t *lock; in csched2_dom_cntl() local
3071 spinlock_t *lock = unit_schedule_lock(unit); in csched2_dom_cntl() local
3208 spinlock_t *lock; in csched2_unit_insert() local
3246 spinlock_t *lock; in csched2_unit_remove() local
3837 spinlock_t *lock; in csched2_dump() local
/xen/xen/include/asm-x86/hvm/
A Dvpt.h66 spinlock_t lock; member
93 rwlock_t lock; member
114 spinlock_t lock; member
124 spinlock_t lock; member
A Ddomain.h53 spinlock_t lock; member
112 spinlock_t lock; member
192 spinlock_t lock; member
/xen/tools/libs/toolcore/
A Dhandlereg.c36 static void lock(void) { in lock() function
/xen/xen/xsm/flask/ss/
A Dsidtab.h33 spinlock_t lock; member
/xen/xen/include/asm-x86/
A Dmce.h32 spinlock_t lock; member
A Dmem_sharing.h146 static inline int mem_sharing_fork_page(struct domain *d, gfn_t gfn, bool lock) in mem_sharing_fork_page()
/xen/xen/xsm/flask/
A Davc.c314 spinlock_t *lock; in avc_reclaim_node() local
483 spinlock_t *lock; in avc_insert() local
624 spinlock_t *lock; in avc_update_node() local
684 spinlock_t *lock; in avc_ss_reset() local
/xen/misc/coverity/
A Dmodel.c47 struct pthread_mutex_t lock; member
/xen/xen/include/asm-arm/
A Dvgic.h103 spinlock_t lock; /* Covers access to all other members of this struct */ member
143 spinlock_t lock; member
204 spinlock_t lock; member
A Dmmio.h62 rwlock_t lock; member
A Dvpl011.h56 spinlock_t lock; member

Completed in 166 milliseconds

123