Searched refs:refcnt (Results 1 – 10 of 10) sorted by relevance
/xen/xen/arch/x86/ |
A D | domain_page.c | 102 hashent->refcnt++; in map_domain_page() 103 ASSERT(hashent->refcnt); in map_domain_page() 142 if ( hashent->idx != MAPHASHENT_NOTINUSE && !hashent->refcnt ) in map_domain_page() 204 ASSERT(hashent->refcnt); in unmap_domain_page() 205 hashent->refcnt--; in unmap_domain_page() 207 else if ( !hashent->refcnt ) in unmap_domain_page()
|
/xen/xen/include/xen/ |
A D | sched.h | 453 atomic_t refcnt; member 565 if ( atomic_dec_and_test(&(_d)->refcnt) ) domain_destroy(_d) 573 int old, seen = atomic_read(&d->refcnt); in get_domain() 579 seen = atomic_cmpxchg(&d->refcnt, old, old + 1); in get_domain() 591 atomic_inc(&d->refcnt); in get_knownalive_domain() 592 ASSERT(!(atomic_read(&d->refcnt) & DOMAIN_DESTROYED)); in get_knownalive_domain()
|
/xen/xen/common/sched/ |
A D | cpupool.c | 214 atomic_inc(&c->refcnt); in __cpupool_get_by_id() 231 if ( !atomic_dec_and_test(&pool->refcnt) ) in cpupool_put() 257 atomic_set(&c->refcnt, 2); in cpupool_create() 505 atomic_inc(&c->refcnt); in cpupool_unassign_cpu_start()
|
A D | credit2.c | 500 unsigned int refcnt; /* How many CPUs reference this runqueue */ member 1000 if ( rqd->refcnt < max_cpus_runq && (ops->cpupool->gran != SCHED_GRAN_cpu || in cpu_add_to_runqueue() 1009 if ( !rqd_valid || rqd->refcnt < rqd_valid->refcnt ) in cpu_add_to_runqueue() 1038 rqd->refcnt++; in cpu_add_to_runqueue() 4080 ASSERT(rqd && rqd->refcnt); in csched2_free_pdata() 4083 rqd->refcnt--; in csched2_free_pdata() 4084 if ( !rqd->refcnt ) in csched2_free_pdata()
|
A D | private.h | 515 atomic_t refcnt; member
|
/xen/xen/arch/x86/hvm/ |
A D | vmsi.c | 152 atomic_t refcnt; /* how many bind_pt_irq called for the device */ member 435 atomic_set(&entry->refcnt, 0); in add_msixtbl_entry() 503 atomic_inc(&entry->refcnt); in msixtbl_pt_register() 562 if ( !atomic_dec_and_test(&entry->refcnt) ) in msixtbl_pt_unregister()
|
/xen/xen/common/ |
A D | domain.c | 283 BUG_ON(atomic_read(&d->refcnt) != DOMAIN_DESTROYED); in _domain_destroy() 406 atomic_set(&d->refcnt, 1); in domain_create() 527 atomic_set(&d->refcnt, DOMAIN_DESTROYED); in domain_create() 943 if ( atomic_cmpxchg(&d->refcnt, 0, DOMAIN_DESTROYED) != 0 ) in domain_destroy()
|
A D | keyhandler.c | 270 atomic_read(&d->refcnt), d->is_dying, in dump_domains()
|
A D | grant_table.c | 991 unsigned int cache_flags, clear_flags = 0, refcnt = 0, typecnt = 0; in map_grant_ref() local 1123 refcnt++; in map_grant_ref() 1131 refcnt--; in map_grant_ref() 1180 refcnt++; in map_grant_ref() 1272 while ( refcnt-- ) in map_grant_ref()
|
/xen/xen/include/asm-x86/ |
A D | domain.h | 51 uint32_t refcnt; member
|
Completed in 873 milliseconds