函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sbitmap_bitmap_show

函数原型:void sbitmap_bitmap_show(struct sbitmap *sb, struct seq_file *m)

返回类型:void

参数:

类型参数名称
struct sbitmap *sb
struct seq_file *m
288  byte等于0
289  byte_bits等于0
290  offset等于0
293 i小于@map_nr: Number of words (cachelines) being used for the bitmap.循环
294  word等于READ_ONCE(@word: word holding free bits)
295  word_bits等于READ_ONCE(@depth: Number of bits being used in @word/@cleared)
297 word_bits大于0循环
300  byte或等于word按位与BIT(bits)减1的值左移byte_bits
301  byte_bits加等于bits
302  如果byte_bits恒等于8则
303  emit_byte(m, offset, byte)
304  byte等于0
305  byte_bits等于0
306  offset自加
308  word右移等于bits
309  word_bits减等于bits
312  如果byte_bits
313  emit_byte(m, offset, byte)
314  offset自加
316  如果offsetseq_putc(m, '\n')
调用者
名称描述
hctx_tags_bitmap_show
hctx_sched_tags_bitmap_show
hctx_ctx_map_show