Function report |
Source Code:fs\readdir.c |
Create Date:2022-07-28 20:06:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fillonedir
Proto:static int fillonedir(struct dir_context *ctx, const char *name, int namlen, loff_t offset, u64 ino, unsigned int d_type)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct dir_context * | ctx | |
const char * | name | |
int | namlen | |
loff_t | offset | |
u64 | ino | |
unsigned int | d_type |
158 | result++ |
160 | If Not access_ok - Checks if a user space pointer is valid*@addr: User space pointer to start of block to check*@size: Size of block to check* Context: User context only. This function may sleep if pagefaults are* enabled.(dirent, (unsignedlong)(d_name + namlen + 1) - (unsignedlong)dirent) Then Go to efault |
170 | Return 0 |
171 | efault : |
173 | Return -EFAULT |
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 |