Function report |
Source Code:fs\readdir.c |
Create Date:2022-07-28 20:06:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ksys_getdents64
Proto:int ksys_getdents64(unsigned int fd, struct linux_dirent64 __user *dirent, unsigned int count)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | fd | |
struct linux_dirent64 __user * | dirent | |
unsigned int | count |
357 | struct getdents_callback64 buf = {actor = filldir64, count = count, current_dir = dirent} |
371 | error = iterate_dir(file, & ctx) |
374 | If prev_reclen Then |
375 | __user * lastdirent |
378 | lastdirent = current_dir - prev_reclen |
379 | If Write a simple value into user space, with less checking(d_off, & d_off) Then error = -EFAULT |
385 | Return error |
Name | Describe |
---|---|
SYSCALL_DEFINE3 |
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 |