函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:alloc_dcookie

函数原型:static struct dcookie_struct *alloc_dcookie(const struct path *path)

返回类型:struct dcookie_struct

参数:

类型参数名称
const struct path *path
96  dcs等于分配高速缓存区
99  如果非dcs则返回:NULL
102  d等于dentry
103  加自旋锁
104  protected by d_lock 或等于For use by dcookie subsystem
105  自旋锁解锁
107  path等于path
108  path_get - get a reference to a path*@path: path to get the reference to* Given a path increment the reference count to the dentry and the vfsmount.
109  hash_dcookie(dcs)
110  返回:dcs
调用者
名称描述
get_dcookieThis is the main kernel-side routine that retrieves the cookie* value for a dentry/vfsmnt pair.