Searched refs:atomic_read (Results 1 – 16 of 16) sorted by relevance
45 # define atomic_read(x) ((x)->atomic) macro66 # define atomic_read(x) AO_load_full(&(x)->atomic) macro90 # define atomic_read(x) (int) ((x)->atomic) macro108 c = atomic_read(v); in atomic_add_unless()
491 a = atomic_read(&drv->kobj.refcount); in test_get_drv()503 if ((a == (atomic_read(&drv->kobj.refcount) - 1))) { in test_get_drv()551 a = atomic_read(&drv->kobj.refcount); in test_put_drv()557 if ((a == (atomic_read(&drv->kobj.refcount) + 1))) { in test_put_drv()
165 assert(atomic_read(src) > 0); in update_references()169 assert(atomic_read(dst) > 0); in update_references()
85 return atomic_read(&ref->refcount); in objref_read()
47 #define atomic_read(v) LOS_AtomicRead(v) macro
79 if (atomic_read(&epfile->busy_flag) == 1) { in generic_epfile_submit_sync()204 if (atomic_read(&epfile->busy_flag) == 1) in generic_epfile_cancel_cur_request()405 if (!atomic_read(&epfile->busy_flag)) in generic_epfile_handle_write()
395 if (atomic_read(&dev->opened) < 0) in generic_dev_closed()
499 if (atomic_read(&g_magickey) == 1) in cdcacm_recvpacket()508 if (g_readpend == true && atomic_read(&g_magickey) == 0) in cdcacm_recvpacket()575 if (atomic_read(&priv->send_char) == 0) in cdcacm_requeue_rdrequest()638 if (atomic_read(&priv->shutdown) == 0) in cdcacm_release_rxpending()
281 if (atomic_read(&dev->busy_flag)) in fuac_send_message()
315 if (atomic_read(&hid->busy_flag)) in hid_write()
528 if (atomic_read(&hid->open_flag)) in usbclass_hid_unbind()
699 if (atomic_read(&priv->tx_transferring)) in rndis_allocnetreq()
37 #define atomic_read(ptr) __atomic_load_n(ptr, __ATOMIC_SEQ_CST ) macro141 if (atomic_read(&meter->reset)) { in snd_pcm_meter_update_scope()234 while (atomic_read(&meter->reset)) { in snd_pcm_meter_thread()
201 if ((atomic_read((atomic_t *)radeon_gem_get_reloc_in_cs(bo)) & cs->id)) { in cs_gem_write_reloc()
613 if (atomic_read(&nvbo->refcnt) == 0) { in nouveau_bo_del()
1374 assert(atomic_read(&bo_gem->refcount) > 0); in drm_intel_gem_bo_unreference_locked_timed()1383 assert(atomic_read(&bo_gem->refcount) > 0); in drm_intel_gem_bo_unreference()