Function report |
Source Code:fs\xattr.c |
Create Date:2022-07-28 20:10:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:simple_xattr_set - xattr SET operation for in-memory/pseudo filesystems*@xattrs: target simple_xattr list*@name: name of the extended attribute*@value: value of the xattr
Proto:int simple_xattr_set(struct simple_xattrs *xattrs, const char *name, const void *value, size_t size, int flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct simple_xattrs * | xattrs | |
const char * | name | |
const void * | value | |
size_t | size | |
int | flags |
874 | struct simple_xattr * new_xattr = NULL |
875 | err = 0 |
878 | If value Then |
884 | If Not name Then |
893 | If flags & set value, fail if attr already exists Then |
896 | Else if new_xattr Then |
898 | Else |
901 | Go to out |
904 | If flags & set value, fail if attr does not exist Then |
907 | Else |
909 | xattr = NULL |
911 | out : |
912 | spin_unlock( & lock) |
913 | If xattr Then |
917 | Return err |
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 |