函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:seq_release - free the structures associated with sequential file.*@file: file in question*@inode: its inode* Frees the structures associated with sequential file; can be used* as ->f_op->release() if you don't have private data to destroy.

函数原型:int seq_release(struct inode *inode, struct file *file)

返回类型:int

参数:

类型参数名称
struct inode *inode
struct file *file
359  m等于 needed for tty driver, and maybe others
360  kvfree() - Free memory.*@addr: Pointer to allocated memory.* kvfree frees memory allocated by any of vmalloc(), kmalloc() or kvmalloc().* It is slightly more efficient to use kfree() or vfree() if you are certain* that you know which one to use.
361  kmem_cache_free(seq_file_cache, m)
362  返回:0
调用者
名称描述
gcov_seq_releaselease() implementation for gcov data files. Release resources allocated* by open().
show_traces_release
tracing_err_log_release
tracing_stat_releaseAvoid consuming memory with our now useless rbtree.
ftrace_event_release
event_trigger_regex_release
ftrace_pid_release
bpffs_map_release
profiles_release
ima_release_policyma_release_policy - start using the new measure policy rules.* Initially, ima_measure points to the default policy rules, now* point to the new policy rules, and remove the securityfs policy file,* assuming a valid policy.
single_release
seq_release_private