Home
last modified time | relevance | path

Searched refs:atomic_read (Results 1 – 16 of 16) sorted by relevance

/third_party/libdrm/
Dxf86atomic.h45 # define atomic_read(x) ((x)->atomic) macro
66 # define atomic_read(x) AO_load_full(&(x)->atomic) macro
90 # define atomic_read(x) (int) ((x)->atomic) macro
108 c = atomic_read(v); in atomic_add_unless()
/third_party/ltp/testcases/kernel/device-drivers/base/tbase/
Dtbase.c491 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()
/third_party/libdrm/amdgpu/
Damdgpu_internal.h165 assert(atomic_read(src) > 0); in update_references()
169 assert(atomic_read(dst) > 0); in update_references()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/
Dobj_ref.h85 return atomic_read(&ref->refcount); in objref_read()
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/asm/
Datomic.h47 #define atomic_read(v) LOS_AtomicRead(v) macro
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Dusbd_generic_epfile.c79 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()
Df_generic.c395 if (atomic_read(&dev->opened) < 0) in generic_dev_closed()
/third_party/NuttX/drivers/usbdev/gadget/
Dcdcacm.c499 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()
Dusbd_audio.c281 if (atomic_read(&dev->busy_flag)) in fuac_send_message()
Dusbd_hid.c315 if (atomic_read(&hid->busy_flag)) in hid_write()
Df_hid.c528 if (atomic_read(&hid->open_flag)) in usbclass_hid_unbind()
Drndis.c699 if (atomic_read(&priv->tx_transferring)) in rndis_allocnetreq()
/third_party/alsa-lib/src/pcm/
Dpcm_meter.c37 #define atomic_read(ptr) __atomic_load_n(ptr, __ATOMIC_SEQ_CST ) macro
141 if (atomic_read(&meter->reset)) { in snd_pcm_meter_update_scope()
234 while (atomic_read(&meter->reset)) { in snd_pcm_meter_thread()
/third_party/libdrm/radeon/
Dradeon_cs_gem.c201 if ((atomic_read((atomic_t *)radeon_gem_get_reloc_in_cs(bo)) & cs->id)) { in cs_gem_write_reloc()
/third_party/libdrm/nouveau/
Dnouveau.c613 if (atomic_read(&nvbo->refcnt) == 0) { in nouveau_bo_del()
/third_party/libdrm/intel/
Dintel_bufmgr_gem.c1374 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()