函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:locks_start

函数原型:static void *locks_start(struct seq_file *f, loff_t *pos)__acquires(&blocked_lock_lock)

返回类型:void

参数:

类型参数名称
struct seq_file *f
loff_t *pos
2932  iter等于private
2934  li_pos等于pos加1
2935  percpu_down_write( & file_rwsem)
2936  加自旋锁
2937  返回:seq_hlist_start_precpu - start an iteration of a percpu hlist array*@head: pointer to percpu array of struct hlist_heads*@cpu: pointer to cpu "cursor"*@pos: start position of sequence* Called at seq_file->op->start().