Searched refs:atomic_read (Results 1 – 11 of 11) sorted by relevance
49 # define atomic_read(x) ((x)->atomic) macro69 # define atomic_read(x) AO_load_full(&(x)->atomic) macro93 # define atomic_read(x) (int) ((x)->atomic) macro111 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()
171 assert(atomic_read(src) > 0); in update_references()175 assert(atomic_read(dst) > 0); in update_references()
76 static ssize_t atomic_read(int fd, void *d, size_t l) { in atomic_read() function333 if (atomic_read(pipe_fds[0], &dpid, sizeof(dpid)) != sizeof(dpid)) { in daemon_fork()430 if ((r = atomic_read(_daemon_retval_pipe[0], &i, sizeof(i))) != sizeof(i)) { in daemon_retval_wait()
388 if (atomic_read(&skb->users) != 1) { in pg_inject()392 while (atomic_read(&skb->users) != 1) { in pg_inject()
124 if (atomic_read (&as->cache_generation) != atomic_read (&cache->generation)) in get_script_cache()
163 #define atomic_read(ptr) (*(ptr)) macro
531 if (atomic_read (&as->cache_generation) != atomic_read (&cache->generation)) in get_rs_cache()
204 if ((atomic_read((atomic_t *)radeon_gem_get_reloc_in_cs(bo)) & cs->id)) { in cs_gem_write_reloc()
604 if (atomic_read(&nvbo->refcnt) == 0) { in nouveau_bo_del()
1427 assert(atomic_read(&bo_gem->refcount) > 0); in drm_intel_gem_bo_unreference_locked_timed()1436 assert(atomic_read(&bo_gem->refcount) > 0); in drm_intel_gem_bo_unreference()