函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\rcutorture.c Create Date:2022-07-27 11:22:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Callback function for continuous-flood RCU callbacks.

函数原型:static void rcu_torture_fwd_cb_cr(struct callback_head *rhp)

返回类型:void

参数:

类型参数名称
struct callback_head *rhp
1712  rfcp等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(rhp, structrcu_fwd_cb, rh)
1715  rfc_next = NULL
1716  rfc_gps自加
1717  spin_lock_irqsave( & rcu_fwd_lock, flags)
1718  rfcpp等于rcu_fwd_cb_tail
1719  rcu_fwd_cb_tail等于rfc_next
1720  WRITE_ONCE( * rfcpp, rfcp)
1721  WRITE_ONCE(n_launders_cb, n_launders_cb + 1)
1722  i等于jiffiesrcu_fwd_startat的差除HZHistogram buckets/second.
1723  如果i大于等于ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(n_launders_hist)则i等于ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(n_launders_hist)减1
1725  n_launders自加
1726  launder_gp_seq等于get_gp_seq()
1727  spin_unlock_irqrestore( & rcu_fwd_lock, flags)