函数逻辑报告 |
Source Code:fs\file_table.c |
Create Date:2022-07-29 10:31:55 |
Last Modify:2020-03-18 10:20:10 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:fput
函数原型:void fput(struct file *file)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | file |
名称 | 描述 |
---|---|
copy_process | 创建进程 |
prctl_set_mm_exe_file | |
umh_pipe_setup | |
fork_usermode_blob | rk_usermode_blob - fork a blob of bytes as a usermode process*@data: a blob of bytes that can be do_execv-ed as a file*@len: length of the blob*@info: information about usermode process (shouldn't be NULL)* If info->cmdline is set it will be used as |
SYSCALL_DEFINE2 | |
kcmp_epoll_target | |
get_clock_desc | |
put_clock_desc | |
cgroup_get_from_fd | group_get_from_fd - get a cgroup pointer from a fd*@fd: fd obtained by open(cgroup2_dir)* Find the cgroup from a fd which should be obtained* by opening a cgroup directory. Returns a pointer to the* cgroup on success. ERR_PTR is returned if the cgroup |
audit_log_d_path_exe | |
audit_exe_compare | |
bpf_task_fd_query | |
__bpf_event_entry_free | |
perf_event_fd_array_get_ptr | |
bpf_fd_reuseport_array_update_elem | Called from syscall only.* The "nsk" in the fd refcnt.* The "osk" and "reuse" are protected by reuseport_lock. |
perf_event_get | |
shmem_zero_setup | shmem_zero_setup - setup a shared anonymous mapping*@vma: the vma to be mmapped is prepared by do_mmap_pgoff |
__put_nommu_region | lease a reference to a region* - the caller must hold the region semaphore for writing, which this releases* - the region may not have been added to the tree yet, in which case vm_top* will equal vm_start |
delete_vma | destroy a VMA record |
do_mmap | handle mapping creation for uClinux |
ksys_mmap_pgoff | |
fault_dirty_shared_page | Handle dirtying of a page in shared file mapping on a write fault.* The function expects the page to be locked and unlocks it. |
remove_vma | Close a vm structure and free it, returning the next. |
__vma_adjust | We cannot adjust vm_start, vm_end, vm_pgoff fields of a vma that* is already present in an i_mmap tree without adjusting the tree.* The following helper function should be used when such adjustments* are necessary |
ksys_mmap_pgoff | |
mmap_region | |
__split_vma | __split_vma() bypasses sysctl_max_map_count checking. We use this where it* has already been checked or doesn't make sense to fail. |
SYSCALL_DEFINE5 | Emulation of deprecated remap_file_pages() syscall. |
SYSCALL_DEFINE3 | MS_SYNC syncs the entire file - including mappings |
madvise_willneed | Schedule all required I/O operations. Do not wait for completion. |
madvise_remove | Application wants to free up the pages and associated backing store.* This is effectively punching a hole into the middle of a file. |
khugepaged_scan_mm_slot | |
shm_release | |
newseg | wseg - Create a new shared memory segment*@ns: namespace*@params: ptr to the structure that contains key, size and shmflg* Called with shm_ids.rwsem held as a writer. |
shmctl_do_lock | |
do_shmat | Fix shmaddr, allocate descriptor, map shm, add attach descriptor to lists.* NOTE! Despite the name, this is NOT a direct system call entrypoint. The* "raddr" thing points to kernel space, and there has to be a wrapper around* this. |
big_key_preparse | Preparse a big key |
big_key_read | ad the key data* - the key's semaphore is read-locked |
flush_unauthorized_files | Derived from fs/exec.c:flush_old_files. |
tomoyo_get_exe | moyo_get_exe - Get tomoyo_realpath() of current process.* Returns the tomoyo_realpath() of current process on success, NULL otherwise.* This function uses kzalloc(), so the caller must call kfree()* if this function didn't return NULL. |
aa_inherit_files | ased on selinux's flush_unauthorized_files |
ima_calc_file_hash | ma_calc_file_hash - calculate file hash* Asynchronous hash (ahash) allows using HW acceleration for calculating* a hash. ahash performance varies for different data sizes on different* crypto accelerators |
open_with_fake_path | |
filp_close | "id" is the POSIX thread ID. We use the* files pointer for this.. |
do_open_execat | |
kernel_read_file_from_path | |
free_bprm | |
create_pipe_files | |
__do_pipe_flags | |
do_pipe2 | sys_pipe() is the normal C calling standard for creating* a pipe. It's not the way Unix traditionally does this, though. |
path_openat | |
free_poll_entry | |
ksys_dup | |
SYSCALL_DEFINE3 | Create a kernel mount representation for a new, prepared superblock* (specified by fs_fd) and attach to an open_tree-like file descriptor. |
proc_ns_fget | |
copy_event_to_user | |
eventfd_fget | ventfd_fget - Acquire a reference of an eventfd file descriptor.*@fd: [in] Eventfd file descriptor.* Returns a pointer to the eventfd file structure in case of success, or the* following error pointer:* -EBADF : Invalid @fd file descriptor. |
put_aio_ring_file | |
iocb_destroy | |
__io_free_req | |
__io_sqe_files_unregister | |
io_sqe_files_register | |
io_sqe_file_unregister | |
io_sqe_files_update | |
load_em86 | |
load_misc_binary | he loader itself |
load_script | |
load_elf_binary | |
load_elf_fdpic_binary | load an fdpic binary into various bits of memory |
cn_print_exe_file | |
umh_pipe_setup | mh_pipe_setup* helper function to customize the process used* to collect the core in userspace. Specifically* it sets up a pipe and installs it as fd 0 (stdin)* for the process. Returns 0 on success, or* PTR_ERR on failure. |
set_mm_exe_file | set_mm_exe_file - change a reference to the mm's executable file* This changes mm's executable file (shown as symlink /proc/[pid]/exe) |
filemap_fault | lemap_fault - read in file data for page fault handling*@vmf: struct vm_fault containing details of the fault* filemap_fault() is invoked via the vma operations vector for a* mapped memory region to read in file data during a page fault |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |