函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:d_exchange - exchange two dentries*@dentry1: first dentry*@dentry2: second dentry

函数原型:void d_exchange(struct dentry *dentry1, struct dentry *dentry2)

返回类型:void

参数:

类型参数名称
struct dentry *dentry1
struct dentry *dentry2
2908  当前CPU负责更新时间
2910  WARN_ON(! Where the name belongs to - NULL is * negative )
2911  WARN_ON(! Where the name belongs to - NULL is * negative )
2912  WARN_ON(linux/include/linux/dcache.h* Dirent cache data structures* (C) Copyright 1997 Thomas Schoebel-Theuer,* with heavy changes by Linus Torvalds(dentry1))
2913  WARN_ON(linux/include/linux/dcache.h* Dirent cache data structures* (C) Copyright 1997 Thomas Schoebel-Theuer,* with heavy changes by Linus Torvalds(dentry2))
2915  __d_move - move a dentry*@dentry: entry to move*@target: new dentry*@exchange: exchange the two dentries* Update the dcache to reflect the move of a file name
2917  write_sequnlock( & rename_lock)