Function report |
Source Code:fs\xattr.c |
Create Date:2022-07-28 20:10:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Extended attribute LIST operations
Proto:static ssize_t listxattr(struct dentry *d, char __user *list, size_t size)
Type:ssize_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dentry * | d | |
| char __user * | list | |
| size_t | size |
| 608 | char * klist = NULL |
| 610 | If size Then |
| 611 | If size > size of extended attribute namelist (64k) Then size = size of extended attribute namelist (64k) |
| 613 | klist = kvmalloc(size, GFP_KERNEL) |
| 618 | error = vfs_listxattr(d, klist, size) |
| 619 | If error > 0 Then |
| 622 | Else if error == -ERANGE && size >= size of extended attribute namelist (64k) Then |
| 630 | Return error |
| Name | Describe |
|---|---|
| path_listxattr | |
| 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 |