函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\dcache.c Create Date:2022-07-29 10:37:26
Last Modify:2020-03-18 10:27:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dentry_unlist

函数原型:static inline void dentry_unlist(struct dentry *dentry, struct dentry *parent)

返回类型:void

参数:

类型参数名称
struct dentry *dentry
struct dentry *parent
519  protected by d_lock 或等于Parent inode is watched by some fsnotify listener
520  如果此条件成立可能性小(为编译器优化)(链表为空)则返回
522  删除链表项
542 链表后项不等于 our children 循环
543  next等于list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(链表后项, structdentry, d_child)
544  如果此条件成立可能性大(为编译器优化)(!( protected by d_lock & DCACHE_DENTRY_CURSOR))则退出
546  链表后项等于链表后项
调用者
名称描述
__dentry_kill