Function report |
Source Code:fs\anon_inodes.c |
Create Date:2022-07-28 20:19:23 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:anon_inode_getfd - creates a new file instance by hooking it up to an* anonymous inode, and a dentry that describe the "class"* of the file*@name: [in] name of the "class" of the new file*@fops: [in] file operations for the new file*@priv: [in] private
Proto:int anon_inode_getfd(const char *name, const struct file_operations *fops, void *priv, int flags)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | name | |
| const struct file_operations * | fops | |
| void * | priv | |
| int | flags |
| 131 | error = get_unused_fd_flags(flags) |
| 139 | Go to err_put_unused_fd |
| 141 | fd_install(fd, file) |
| 143 | Return fd |
| 145 | err_put_unused_fd : |
| 146 | put_unused_fd(fd) |
| 147 | Return error |
| Name | Describe |
|---|---|
| bpf_map_new_fd | |
| bpf_prog_new_fd | |
| bpf_tracing_prog_attach | |
| bpf_raw_tracepoint_open | |
| __btf_new_fd | |
| do_inotify_init | y syscalls |
| SYSCALL_DEFINE2 | anotify syscalls |
| do_signalfd4 | |
| SYSCALL_DEFINE2 | |
| do_eventfd | |
| resolve_userfault_fork | |
| SYSCALL_DEFINE1 | |
| fscontext_create_fd | Attach a filesystem context to a file and an fd. |
| 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 |