Home
last modified time | relevance | path

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

123

/include/linux/
A Drculist_nulls.h37 WRITE_ONCE(n->pprev, NULL); in hlist_nulls_del_init_rcu()
77 WRITE_ONCE(n->pprev, LIST_POISON2); in hlist_nulls_del_rcu()
104 WRITE_ONCE(n->next, first); in hlist_nulls_add_head_rcu()
105 WRITE_ONCE(n->pprev, &h->first); in hlist_nulls_add_head_rcu()
108 WRITE_ONCE(first->pprev, &n->next); in hlist_nulls_add_head_rcu()
140 WRITE_ONCE(n->next, last->next); in hlist_nulls_add_tail_rcu()
A Dlist_nulls.h98 WRITE_ONCE(n->pprev, &h->first); in hlist_nulls_add_head()
101 WRITE_ONCE(first->pprev, &n->next); in hlist_nulls_add_head()
109 WRITE_ONCE(*pprev, next); in __hlist_nulls_del()
111 WRITE_ONCE(next->pprev, pprev); in __hlist_nulls_del()
117 WRITE_ONCE(n->pprev, LIST_POISON2); in hlist_nulls_del()
A Drculist.h24 WRITE_ONCE(list->next, list); in INIT_LIST_HEAD_RCU()
25 WRITE_ONCE(list->prev, list); in INIT_LIST_HEAD_RCU()
229 WRITE_ONCE(n->pprev, NULL); in hlist_del_init_rcu()
561 WRITE_ONCE(n->pprev, LIST_POISON2); in hlist_del_rcu()
579 WRITE_ONCE(new->pprev, old->pprev); in hlist_replace_rcu()
639 WRITE_ONCE(n->pprev, &h->first); in hlist_add_head_rcu()
642 WRITE_ONCE(first->pprev, &n->next); in hlist_add_head_rcu()
675 WRITE_ONCE(n->pprev, &last->next); in hlist_add_tail_rcu()
703 WRITE_ONCE(n->pprev, next->pprev); in hlist_add_before_rcu()
706 WRITE_ONCE(next->pprev, &n->next); in hlist_add_before_rcu()
[all …]
A Drcupdate_trace.h53 WRITE_ONCE(t->trc_reader_nesting, READ_ONCE(t->trc_reader_nesting) + 1); in rcu_read_lock_trace()
79 WRITE_ONCE(t->trc_reader_nesting, INT_MIN + nesting); in rcu_read_unlock_trace()
81 WRITE_ONCE(t->trc_reader_nesting, nesting); in rcu_read_unlock_trace()
A Dhung_task.h51 WRITE_ONCE(current->blocker, lock_ptr | type); in hung_task_set_blocker()
58 WRITE_ONCE(current->blocker, 0UL); in hung_task_clear_blocker()
A Ddynamic_queue_limits.h110 WRITE_ONCE(dql->history_head, now_hi); in dql_queue_stall()
118 WRITE_ONCE(DQL_HIST_ENT(dql, now_hi), map | BIT_MASK(now)); in dql_queue_stall()
130 WRITE_ONCE(dql->last_obj_cnt, count); in dql_queued()
A Dlist.h37 WRITE_ONCE(list->next, list); in INIT_LIST_HEAD()
38 WRITE_ONCE(list->prev, list); in INIT_LIST_HEAD()
156 WRITE_ONCE(prev->next, new); in __list_add()
196 WRITE_ONCE(prev->next, next); in __list_del()
390 WRITE_ONCE(entry->prev, entry); in list_del_init_careful()
980 WRITE_ONCE(*pprev, next); in __hlist_del()
1024 WRITE_ONCE(n->next, first); in hlist_add_head()
1027 WRITE_ONCE(h->first, n); in hlist_add_head()
1040 WRITE_ONCE(n->next, next); in hlist_add_before()
1042 WRITE_ONCE(*(n->pprev), n); in hlist_add_before()
[all …]
A Drbtree_augmented.h200 WRITE_ONCE(parent->rb_left, new); in __rb_change_child()
202 WRITE_ONCE(parent->rb_right, new); in __rb_change_child()
204 WRITE_ONCE(root->rb_node, new); in __rb_change_child()
295 WRITE_ONCE(parent->rb_left, child2); in __rb_erase_augmented()
296 WRITE_ONCE(successor->rb_right, child); in __rb_erase_augmented()
304 WRITE_ONCE(successor->rb_left, tmp); in __rb_erase_augmented()
A Dlocal_lock_internal.h107 WRITE_ONCE(tl->acquired, 1); \
141 WRITE_ONCE(tl->acquired, 1); \
158 WRITE_ONCE(tl->acquired, 1); \
176 WRITE_ONCE(tl->acquired, 0); \
A Daverage.h65 WRITE_ONCE(e->internal, internal ? \
A Dlist_bl.h99 WRITE_ONCE(*pprev, in hlist_bl_add_before()
123 WRITE_ONCE(*pprev, in __hlist_bl_del()
A Dvirtio_ring.h54 WRITE_ONCE(*p, v); \
A Dstatic_call.h261 WRITE_ONCE(key->func, func); in __static_call_update()
339 WRITE_ONCE(key->func, func); in __static_call_update()
/include/net/
A Drps.h82 WRITE_ONCE(table->ents[index], val); in rps_record_sock_flow()
144 WRITE_ONCE(table->ents[index], RPS_NO_CPU); in sock_rps_delete_flow()
162 WRITE_ONCE(*dest, tail); in rps_input_queue_tail_save()
169 WRITE_ONCE(sd->input_queue_head, sd->input_queue_head + val); in rps_input_queue_head_add()
A Dbusy_poll.h153 WRITE_ONCE(sk->sk_napi_id, skb->napi_id); in sk_mark_napi_id()
166 WRITE_ONCE(sk->sk_napi_id, skb->napi_id); in sk_mark_napi_id_set()
175 WRITE_ONCE(sk->sk_napi_id, napi_id); in __sk_mark_napi_id_once()
A Dred.h236 WRITE_ONCE(p->qth_min, qth_min << Wlog); in red_set_parms()
237 WRITE_ONCE(p->qth_max, qth_max << Wlog); in red_set_parms()
238 WRITE_ONCE(p->Wlog, Wlog); in red_set_parms()
239 WRITE_ONCE(p->Plog, Plog); in red_set_parms()
247 WRITE_ONCE(p->max_P, max_P); in red_set_parms()
260 WRITE_ONCE(p->Scell_log, Scell_log); in red_set_parms()
A Ddst_cache.h79 WRITE_ONCE(dst_cache->reset_ts, jiffies); in dst_cache_reset()
A Dinet_frag.h131 WRITE_ONCE(fqdir->high_thresh, 0); in fqdir_pre_exit()
136 WRITE_ONCE(fqdir->dead, true); in fqdir_pre_exit()
A Dsock.h717 WRITE_ONCE(sk->sk_peek_off, off); in sk_peek_offset_bwd()
1098 WRITE_ONCE(sk->sk_backlog.head, skb); in __sk_add_backlog()
1102 WRITE_ONCE(sk->sk_backlog.tail, skb); in __sk_add_backlog()
1159 WRITE_ONCE(sk->sk_incoming_cpu, cpu); in sk_incoming_cpu_update()
1171 WRITE_ONCE(sk->sk_rxhash, skb->hash); in sock_rps_save_rxhash()
1179 WRITE_ONCE(sk->sk_rxhash, 0); in sock_rps_reset_rxhash()
1861 WRITE_ONCE(sk->sk_prot, proto); in sock_replace_proto()
2171 WRITE_ONCE(sk->sk_dst_pending_confirm, 0); in __sk_dst_set()
2184 WRITE_ONCE(sk->sk_dst_pending_confirm, 0); in sk_dst_set()
2677 WRITE_ONCE(sk->sk_stamp, kt); in sock_write_timestamp()
[all …]
/include/asm-generic/
A Dbarrier.h127 #define __smp_store_mb(var, value) do { WRITE_ONCE(var, value); __smp_mb(); } while (0)
143 WRITE_ONCE(*p, v); \
182 #define smp_store_mb(var, value) do { WRITE_ONCE(var, value); barrier(); } while (0)
197 WRITE_ONCE(*p, v); \
A Drqspinlock.h116 WRITE_ONCE(rqh->locks[rqh->cnt - 1], NULL); in release_held_lock_entry()
197 WRITE_ONCE(rqh->locks[rqh->cnt - 1], NULL); in res_spin_unlock()
A Drwonce.h58 #define WRITE_ONCE(x, val) \ macro
/include/vdso/
A Dhelpers.h38 WRITE_ONCE(vc->seq, vc->seq + 1); in vdso_write_seq_begin()
48 WRITE_ONCE(vc->seq, vc->seq + 1); in vdso_write_seq_end()
/include/drm/
A Dspsc_queue.h77 WRITE_ONCE(*tail, node); in spsc_queue_push()
104 WRITE_ONCE(queue->head, next); in spsc_queue_pop()
/include/net/netfilter/
A Dnf_conntrack_core.h94 WRITE_ONCE(ct->timeout, nfct_time_stamp + (u32)timeout); in __nf_ct_set_timeout()

Completed in 36 milliseconds

123