Searched refs:atomic_read (Results 1 – 10 of 10) 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()
155 assert(atomic_read(src) > 0); in update_references()159 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()
163 #define atomic_read(ptr) (*(ptr)) macro
124 if (atomic_read (&as->cache_generation) != atomic_read (&cache->generation)) in get_script_cache()
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()
1384 assert(atomic_read(&bo_gem->refcount) > 0); in drm_intel_gem_bo_unreference_locked_timed()1393 assert(atomic_read(&bo_gem->refcount) > 0); in drm_intel_gem_bo_unreference()