Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\dcache.c Create Date:2022-07-28 20:07:30
Last Modify:2020-03-18 10:27:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:swap_names

Proto:static void swap_names(struct dentry *dentry, struct dentry *target)

Type:void

Parameter:

TypeParameterName
struct dentry *dentry
struct dentry *target
2734  If Value for the false possibility is greater at compile time(dname_external(target)) Then
2740  Else
2745  memcpy( small names , name, len + 1)
2747  name = name
2750  Else
2756  memcpy( small names , name, len + 1)
2758  name = name
2760  Else
2766  When i < 128 bytes / sizeof(long) cycle
2772  swap - swap values of @a and @b*@a: first value*@b: second value(hash_len, hash_len)
Caller
NameDescribe
__d_move__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