Home
last modified time | relevance | path

Searched refs:WRITE_ONCE (Results 1 – 25 of 30) sorted by relevance

12

/include/vdso/
Dhelpers.h37 WRITE_ONCE(vd[CS_HRES_COARSE].seq, vd[CS_HRES_COARSE].seq + 1); in vdso_write_begin()
38 WRITE_ONCE(vd[CS_RAW].seq, vd[CS_RAW].seq + 1); in vdso_write_begin()
50 WRITE_ONCE(vd[CS_HRES_COARSE].seq, vd[CS_HRES_COARSE].seq + 1); in vdso_write_end()
51 WRITE_ONCE(vd[CS_RAW].seq, vd[CS_RAW].seq + 1); in vdso_write_end()
/include/asm-generic/
Dbarrier.h108 #define __smp_store_mb(var, value) do { WRITE_ONCE(var, value); __smp_mb(); } while (0)
124 WRITE_ONCE(*p, v); \
163 #define smp_store_mb(var, value) do { WRITE_ONCE(var, value); barrier(); } while (0)
179 WRITE_ONCE(*p, v); \
Datomic.h181 #define atomic_set(v, i) WRITE_ONCE(((v)->counter), (i))
/include/drm/
Dspsc_queue.h74 WRITE_ONCE(*tail, node); in spsc_queue_push()
102 WRITE_ONCE(queue->head, next); in spsc_queue_pop()
/include/net/
Dbusy_poll.h125 WRITE_ONCE(sk->sk_napi_id, skb->napi_id); in sk_mark_napi_id()
136 WRITE_ONCE(sk->sk_napi_id, skb->napi_id); in sk_mark_napi_id_once()
Darp.h61 WRITE_ONCE(n->confirmed, now); in __ipv4_confirm_neigh()
Drequest_sock.h200 WRITE_ONCE(queue->rskq_accept_head, req->dl_next); in reqsk_queue_remove()
Dndisc.h418 WRITE_ONCE(n->confirmed, now); in __ipv6_confirm_neigh()
435 WRITE_ONCE(n->confirmed, now); in __ipv6_confirm_neigh_stub()
Dsock.h555 WRITE_ONCE(sk->sk_peek_off, off); in sk_peek_offset_bwd()
896 WRITE_ONCE(sk->sk_wmem_queued, sk->sk_wmem_queued + val); in sk_wmem_queued_add()
963 WRITE_ONCE(sk->sk_incoming_cpu, cpu); in sk_incoming_cpu_update()
1949 WRITE_ONCE(sk->sk_dst_pending_confirm, 1); in sk_dst_confirm()
1960 WRITE_ONCE(n->confirmed, now); in sock_confirm_neigh()
1962 WRITE_ONCE(sk->sk_dst_pending_confirm, 0); in sock_confirm_neigh()
2240 WRITE_ONCE(sk->sk_sndbuf, max_t(u32, val, SOCK_MIN_SNDBUF)); in sk_stream_moderate_sndbuf()
2361 WRITE_ONCE(sk->sk_stamp, kt); in sock_write_timestamp()
2594 WRITE_ONCE(sk->sk_pacing_shift, val); in sk_pacing_shift_update()
/include/linux/
Drbtree_augmented.h174 WRITE_ONCE(parent->rb_left, new); in __rb_change_child()
176 WRITE_ONCE(parent->rb_right, new); in __rb_change_child()
178 WRITE_ONCE(root->rb_node, new); in __rb_change_child()
269 WRITE_ONCE(parent->rb_left, child2); in __rb_erase_augmented()
270 WRITE_ONCE(successor->rb_right, child); in __rb_erase_augmented()
278 WRITE_ONCE(successor->rb_left, tmp); in __rb_erase_augmented()
Drcuwait.h48 WRITE_ONCE((w)->task, NULL); \
Daverage.h65 WRITE_ONCE(e->internal, internal ? \
Dvirtio_ring.h55 WRITE_ONCE(*p, v); in virtio_store_mb()
Dlist_bl.h99 WRITE_ONCE(*pprev, in hlist_bl_add_before()
123 WRITE_ONCE(*pprev, in __hlist_bl_del()
Dsrcutiny.h63 WRITE_ONCE(ssp->srcu_lock_nesting[idx], ssp->srcu_lock_nesting[idx] + 1); in __srcu_read_lock()
Dlist.h28 WRITE_ONCE(list->next, list); in INIT_LIST_HEAD()
66 WRITE_ONCE(prev->next, new); in __list_add()
106 WRITE_ONCE(prev->next, next); in __list_del()
762 WRITE_ONCE(*pprev, next); in __hlist_del()
788 WRITE_ONCE(h->first, n); in hlist_add_head()
799 WRITE_ONCE(*(n->pprev), n); in hlist_add_before()
Drcupdate.h136 WRITE_ONCE((t)->rcu_tasks_holdout, false); \
380 WRITE_ONCE((p), (typeof(p))(_r_a_p__v)); \
781 WRITE_ONCE(p, RCU_INITIALIZER(v)); \
Dlist_nulls.h86 WRITE_ONCE(*pprev, next); in __hlist_nulls_del()
Dcgroup-defs.h852 WRITE_ONCE(skcd->val, skcd_buf.val); /* see sock_cgroup_ptr() */ in sock_cgroup_set_prioidx()
869 WRITE_ONCE(skcd->val, skcd_buf.val); /* see sock_cgroup_ptr() */ in sock_cgroup_set_classid()
Dptr_ring.h112 WRITE_ONCE(r->queue[r->producer++], ptr); in __ptr_ring_produce()
287 WRITE_ONCE(r->consumer_head, consumer_head); in __ptr_ring_discard_one()
546 WRITE_ONCE(r->consumer_head, head); in ptr_ring_unconsume()
Drculist.h33 WRITE_ONCE(list->next, list); in INIT_LIST_HEAD_RCU()
34 WRITE_ONCE(list->prev, list); in INIT_LIST_HEAD_RCU()
Didr.h81 WRITE_ONCE(idr->idr_next, val); in idr_set_cursor()
Dcompiler.h284 #define WRITE_ONCE(x, val) \ macro
Dpm_runtime.h107 WRITE_ONCE(dev->power.last_busy, ktime_get_mono_fast_ns()); in pm_runtime_mark_last_busy()
Dskbuff.h1867 WRITE_ONCE(newsk->next, next); in __skb_insert()
1868 WRITE_ONCE(newsk->prev, prev); in __skb_insert()
1869 WRITE_ONCE(next->prev, newsk); in __skb_insert()
1870 WRITE_ONCE(prev->next, newsk); in __skb_insert()
1881 WRITE_ONCE(first->prev, prev); in __skb_queue_splice()
1882 WRITE_ONCE(prev->next, first); in __skb_queue_splice()
1884 WRITE_ONCE(last->next, next); in __skb_queue_splice()
1885 WRITE_ONCE(next->prev, last); in __skb_queue_splice()
2026 WRITE_ONCE(next->prev, prev); in __skb_unlink()
2027 WRITE_ONCE(prev->next, next); in __skb_unlink()

12