函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:put_files_struct

函数原型:void put_files_struct(struct files_struct *files)

返回类型:void

参数:

类型参数名称
struct files_struct *files
415  如果atomic_dec_and_test( & ad mostly part)则
416  fdt等于close_files(files)
419  如果fdt不等于fdtab__free_fdtable(fdt)
421  kmem_cache_free(SLAB cache for files_struct structures (tsk->files) , files)
调用者
名称描述
kcmp_epoll_target
bpf_task_fd_query
reset_files_struct
exit_files
do_coredump
ksys_unshareshare allows a process to 'unshare' part of the process* context which was originally shared using clone. copy_** functions used by do_fork() cannot be used here directly* because they modify an inactive task_struct that is being* constructed