Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\file_table.c Create Date:2022-07-28 20:01:53
Last Modify:2020-03-18 10:20:10 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fput

Proto:void fput(struct file *file)

Type:void

Parameter:

TypeParameterName
struct file *file
357  fput_many(file, 1)
Caller
NameDescribe
copy_processCreate a new process
prctl_set_mm_exe_file
umh_pipe_setup
fork_usermode_blobrk_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_fdgroup_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_elemCalled from syscall only.* The "nsk" in the fd refcnt.* The "osk" and "reuse" are protected by reuseport_lock.
perf_event_get
shmem_zero_setupshmem_zero_setup - setup a shared anonymous mapping*@vma: the vma to be mmapped is prepared by do_mmap_pgoff
__put_nommu_regionlease 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_vmadestroy a VMA record
do_mmaphandle mapping creation for uClinux
ksys_mmap_pgoff
fault_dirty_shared_pageHandle dirtying of a page in shared file mapping on a write fault.* The function expects the page to be locked and unlocks it.
remove_vmaClose a vm structure and free it, returning the next.
__vma_adjustWe 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_DEFINE5Emulation of deprecated remap_file_pages() syscall.
SYSCALL_DEFINE3MS_SYNC syncs the entire file - including mappings
madvise_willneedSchedule all required I/O operations. Do not wait for completion.
madvise_removeApplication 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
newsegwseg - 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_shmatFix 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_preparsePreparse a big key
big_key_readad the key data* - the key's semaphore is read-locked
flush_unauthorized_filesDerived from fs/exec.c:flush_old_files.
tomoyo_get_exemoyo_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_filesased on selinux's flush_unauthorized_files
ima_calc_file_hashma_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_pipe2sys_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_DEFINE3Create 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_fgetventfd_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_binaryhe loader itself
load_script
load_elf_binary
load_elf_fdpic_binaryload an fdpic binary into various bits of memory
cn_print_exe_file
umh_pipe_setupmh_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.