Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namei.c Create Date:2022-07-28 20:04:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:putname

Proto:void putname(struct filename *name)

Type:void

Parameter:

TypeParameterName
struct filename *name
250  BUG_ON(refcnt <= 0)
252  If --refcnt > 0 Then Return
255  If pointer to actual string != iname Then
256  __putname( pointer to actual string )
257  kfree(name)
258  Else __putname(name)
Caller
NameDescribe
audit_free_names
bpf_obj_pin_user
bpf_obj_get_user
SYSCALL_DEFINE2
SYSCALL_DEFINE1
do_sys_open
open_exec
__do_execve_filesys_execve() executes a new program.
getname_flags
filename_lookup
filename_parentat
kern_path_lockeddoes lookup, returns the object with parent locked
filename_mountpoint
do_file_open_root
filename_create
do_rmdir
do_unlinkatMake sure that the actual truncation of the file will occur outside its* directory's i_mutex. Truncate can take a long time if there is a lot of* writeout happening, and we don't want to prevent access to the directory* while waiting on the I/O.
do_symlinkat
do_renameat2
fs_lookup_params_lookup_param - Look up a path referred to by a parameter*@fc: The filesystem context to log errors through.*@param: The parameter.*@want_bdev: T if want a blockdev*@_path: The result of the lookup
quotactl_blocklook up a superblock on which quota ops will be performed* - use the name of a block device to find the superblock thereon