Function report |
Source Code:kernel\bpf\inode.c |
Create Date:2022-07-28 13:06:18 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_get_inode
Proto:static struct inode *bpf_get_inode(struct super_block *sb, const struct inode *dir, umode_t mode)
Type:struct inode
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct super_block * | sb | |
| const struct inode * | dir | |
| umode_t | mode |
| 88 | Case & == S_IFDIR |
| 89 | Case & == S_IFREG |
| 90 | Case & == S_IFLNK |
| 91 | Break |
| 92 | Default |
| 96 | inode = obtain an inode |
| 101 | i_atime = current_time(inode) |
| 107 | Return inode |
| Name | Describe |
|---|---|
| bpf_mkdir | |
| bpf_mkobj_ops | |
| bpf_symlink |
| 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 |