函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\buffer.c Create Date:2022-07-29 10:45:26
Last Modify:2020-03-18 10:38:29 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:recalc_bh_state

函数原型:static void recalc_bh_state(void)

返回类型:void

参数:

3373  tot等于0
3375  如果__this_cpu_inc_return(ratelimit)减1小于4096则返回
3377  __this_cpu_write(ratelimit, 0)
3378  遍历在线CPU(i)
3379  tot += ( * ({
3379  ({
3379  循环
3379  const void * __vpp_verify = NULL
3379  当0循环
3379  bh_accounting的地址
3379  })
3379  })).nr
3380  buffer_heads_over_limit等于tot大于Once the number of bh's in the machine exceeds this level, we start* stripping them in writeback.
调用者
名称描述
alloc_buffer_head
free_buffer_head