| Function report | 
| Source Code: include\linux\fs.h | Create Date:2022-07-28 05:42:56 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:get_file
Proto:static inline struct file *get_file(struct file *f)
Type:struct file
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct file * | f | 
| 985 | atomic_long_inc( & f_count) | 
| 986 | Return f | 
| Name | Describe | 
|---|---|
| dup_mmap | |
| 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) | 
| prctl_set_mm_exe_file | |
| kcmp_epoll_target | |
| bpf_task_fd_query | |
| do_mmap | handle mapping creation for uClinux | 
| 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. | 
| copy_vma | Copy the vma structure to a new location in the same mm,* prior to moving page table entries, to effect an mremap move. | 
| 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 | |
| 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. | 
| __pollwait | Ok, Peter made a complicated, but straightforward multiple_wait() function | 
| dup_fd | Allocate a new files structure and copy contents from the* passed in files structure.* errorp will be valid only when the returned files_struct is NULL. | 
| __close_fd_get_file | variant of __close_fd that gets a ref on the file for later fput | 
| do_dup2 | |
| f_dupfd | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |