Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/rcu/
Dtree_stall.h438 data_race(rcu_state.n_force_qs) - rcu_state.n_force_qs_gpstart, in print_cpu_stall_info()
453 data_race(rcu_state.gp_flags), in rcu_check_gp_kthread_starvation()
514 gpa = data_race(rcu_state.gp_activity); in print_other_cpu_stall()
517 data_race(jiffies_till_next_fqs), in print_other_cpu_stall()
673 ja = j - data_race(rcu_state.gp_activity); in show_rcu_gp_kthreads()
674 jr = j - data_race(rcu_state.gp_req_activity); in show_rcu_gp_kthreads()
675 jw = j - data_race(rcu_state.gp_wake_time); in show_rcu_gp_kthreads()
679 ja, jr, jw, (long)data_race(rcu_state.gp_wake_seq), in show_rcu_gp_kthreads()
680 (long)data_race(rcu_state.gp_seq), in show_rcu_gp_kthreads()
681 (long)data_race(rcu_get_root()->gp_seq_needed), in show_rcu_gp_kthreads()
[all …]
Dtasks.h142 int i = data_race(rtp->gp_state); // Let KCSAN detect update races in tasks_gp_state_getname()
285 tasks_gp_state_getname(rtp), data_race(rtp->gp_state), in show_rcu_tasks_generic_gp_kthread()
286 jiffies - data_race(rtp->gp_jiffies), in show_rcu_tasks_generic_gp_kthread()
287 data_race(rtp->n_gps), in show_rcu_tasks_generic_gp_kthread()
288 data_race(rtp->n_ipis_fails), data_race(rtp->n_ipis), in show_rcu_tasks_generic_gp_kthread()
289 ".k"[!!data_race(rtp->kthread_ptr)], in show_rcu_tasks_generic_gp_kthread()
290 ".C"[!!data_race(rtp->cbs_head)], in show_rcu_tasks_generic_gp_kthread()
1211 data_race(n_heavy_reader_ofl_updates), in show_rcu_tasks_trace_gp_kthread()
1212 data_race(n_heavy_reader_updates), in show_rcu_tasks_trace_gp_kthread()
1213 data_race(n_heavy_reader_attempts)); in show_rcu_tasks_trace_gp_kthread()
Dtree_exp.h545 data_race(rnp_root->expmask), in synchronize_rcu_expedited_wait()
546 ".T"[!!data_race(rnp_root->exp_tasks)]); in synchronize_rcu_expedited_wait()
556 data_race(rnp->expmask), in synchronize_rcu_expedited_wait()
557 ".T"[!!data_race(rnp->exp_tasks)]); in synchronize_rcu_expedited_wait()
Dsrcutree.c1271 u0 = data_race(sdp->srcu_unlock_count[!idx]); in srcu_torture_stats_print()
1272 u1 = data_race(sdp->srcu_unlock_count[idx]); in srcu_torture_stats_print()
1280 l0 = data_race(sdp->srcu_lock_count[!idx]); in srcu_torture_stats_print()
1281 l1 = data_race(sdp->srcu_lock_count[idx]); in srcu_torture_stats_print()
Drcutorture.c1538 data_race(n_barrier_successes), in rcu_torture_stats_print()
1539 data_race(n_barrier_attempts), in rcu_torture_stats_print()
1540 data_race(n_rcu_torture_barrier_error)); in rcu_torture_stats_print()
1541 pr_cont("read-exits: %ld\n", data_race(n_read_exits)); in rcu_torture_stats_print()
Dtree_plugin.h759 __func__, READ_ONCE(rnp->gp_tasks), data_race(rnp->boost_tasks), in dump_blkd_tasks()
Dtree.c1408 trace_rcu_grace_period(rcu_state.name, data_race(rcu_state.gp_seq), TPS("newreq")); in rcu_start_this_gp()
/Linux-v5.10/mm/
Dfrontswap.c64 data_race(frontswap_loads++); in inc_frontswap_loads()
67 data_race(frontswap_succ_stores++); in inc_frontswap_succ_stores()
70 data_race(frontswap_failed_stores++); in inc_frontswap_failed_stores()
73 data_race(frontswap_invalidates++); in inc_frontswap_invalidates()
Dpage_io.c88 if (data_race(!(sis->flags & SWP_BLKDEV))) in swap_slot_free_notify()
315 if (data_race(sis->flags & SWP_FS_OPS)) { in __swap_writepage()
404 if (data_race(sis->flags & SWP_FS_OPS)) { in swap_readpage()
468 if (data_race(sis->flags & SWP_FS_OPS)) { in swap_set_page_dirty()
Dpage_counter.c125 data_race(c->failcnt++); in page_counter_try_charge()
Dswap_state.c61 #define INC_CACHE_INFO(x) data_race(swap_cache_info.x++)
62 #define ADD_CACHE_INFO(x, nr) data_race(swap_cache_info.x += (nr))
Dswap.c634 if (data_race(pagevec_count(pvec))) { in lru_add_drain_cpu()
838 data_race(pagevec_count(&per_cpu(lru_rotate.pvec, cpu))) || in lru_add_drain_all()
Dswapfile.c934 if (data_race(!si->swap_map[offset])) { in scan_swap_map_slots()
951 if (data_race(!si->swap_map[offset])) { in scan_swap_map_slots()
1155 if (data_race(!(p->flags & SWP_USED))) in __swap_info_get()
1181 if (data_race(!p->swap_map[swp_offset(entry)])) in _swap_info_get()
1304 if (data_race(!(si->flags & SWP_VALID))) in get_swap_device()
Drmap.c675 if (data_race(mm->tlb_flush_batched)) { in flush_tlb_batched_pending()
Dmemory.c3280 if (data_race(si->flags & SWP_SYNCHRONOUS_IO) && in do_swap_page()
/Linux-v5.10/kernel/locking/
Dosq_lock.c161 if (data_race(prev->next) == node && in osq_lock()
/Linux-v5.10/include/linux/
Dcompiler.h204 #define data_race(expr) \ macro
/Linux-v5.10/kernel/
Dscftorture.c149 invoked_count += data_race(per_cpu(scf_invoked_count, cpu)); in scf_torture_stats_print()
Dfork.c365 *new = data_race(*orig); in vm_area_dup()
1981 if (data_race(nr_threads >= max_threads)) in copy_process()
/Linux-v5.10/kernel/kcsan/
Dkcsan-test.c296 static noinline void test_kernel_data_race(void) { data_race(test_var++); } in test_kernel_data_race()
/Linux-v5.10/Documentation/dev-tools/
Dkcsan.rst104 * KCSAN understands the ``data_race(expr)`` annotation, which tells KCSAN that
/Linux-v5.10/arch/x86/mm/pat/
Dset_memory.c138 data_race(cpa_4k_install++); in cpa_inc_4k_install()
/Linux-v5.10/kernel/time/
Dtimekeeping.c618 snapshot->boot = snapshot->mono + ktime_to_ns(data_race(tk->offs_boot)); in ktime_get_fast_timestamps()
/Linux-v5.10/net/ipv4/
Dtcp_ipv4.c1133 data_race(memcpy(key->key, newkey, newkeylen)); in tcp_md5_do_add()
Dtcp.c4020 return data_race(crypto_ahash_update(hp->md5_req)); in tcp_md5_hash_key()