函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:logic_pio_trans_cpuaddr

函数原型:unsigned long logic_pio_trans_cpuaddr(resource_size_t addr)

返回类型:unsigned long

参数:

类型参数名称
resource_size_taddr
211  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
213  如果flags不等于LOGIC_PIO_CPU_MMIO则继续下一循环
215  如果Consider a kernel general helper for this (addr, hw_start, range size populated )则
218  cpuaddr等于addrhw_startio_start
220  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
221  返回:cpuaddr
224  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
226  打印错误信息("addr %pa not registered in io_range_list\n", & addr)
228  返回:0UL的反