Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:int seq_release(struct inode *inode, struct file *file)

Type:int

Parameter:

TypeParameterName
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  Return 0
Caller
NameDescribe
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