函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mempolicy.c Create Date:2022-07-27 17:06:50
Last Modify:2020-03-17 22:28:11 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Free a backing policy store on inode delete.

函数原型:void mpol_free_shared_policy(struct shared_policy *p)

返回类型:void

参数:

类型参数名称
struct shared_policy *p
2668  如果非rb_node则返回
2670  write_lock( & lock)
2671  next等于This function returns the first node (in sort order) of the tree.
2672 next循环
2673  n等于rb_entry(next, structsp_node, nd)
2674  next等于rb_next( & nd)
2675  sp_delete(p, n)
2677  write_unlock( & lock)