函数逻辑报告

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

函数名称:show_fd_locks

函数原型:void show_fd_locks(struct seq_file *f, struct file *filp, struct files_struct *files)

返回类型:void

参数:

类型参数名称
struct seq_file *f
struct file *filp
struct files_struct *files
2914  inode等于locks_inode(filp)
2916  id等于0
2918  ctx等于smp_load_acquire( & i_flctx)
2919  如果非ctx则返回
2922  加自旋锁
2923  __show_fd_locks(f, & flc_flock, & id, filp, files)
2924  __show_fd_locks(f, & flc_posix, & id, filp, files)
2925  __show_fd_locks(f, & flc_lease, & id, filp, files)
2926  自旋锁解锁