Searched refs:new_xattr (Results 1 - 3 of 3) sorted by relevance

/linux-master/fs/
H A Dxattr.c1087 struct simple_xattr *new_xattr; local
1091 len = sizeof(*new_xattr) + size;
1092 if (len < sizeof(*new_xattr))
1095 new_xattr = kvmalloc(len, GFP_KERNEL_ACCOUNT);
1096 if (!new_xattr)
1099 new_xattr->size = size;
1100 memcpy(new_xattr->value, value, size);
1101 return new_xattr;
1209 struct simple_xattr *old_xattr = NULL, *new_xattr = NULL; local
1215 new_xattr
1362 simple_xattr_add(struct simple_xattrs *xattrs, struct simple_xattr *new_xattr) argument
[all...]
/linux-master/include/linux/
H A Dxattr.h129 struct simple_xattr *new_xattr);
/linux-master/mm/
H A Dshmem.c3640 struct simple_xattr *new_xattr; local
3662 new_xattr = simple_xattr_alloc(xattr->value, xattr->value_len);
3663 if (!new_xattr)
3667 new_xattr->name = kmalloc(XATTR_SECURITY_PREFIX_LEN + len,
3669 if (!new_xattr->name) {
3670 kvfree(new_xattr);
3674 memcpy(new_xattr->name, XATTR_SECURITY_PREFIX,
3676 memcpy(new_xattr->name + XATTR_SECURITY_PREFIX_LEN,
3679 simple_xattr_add(&info->xattrs, new_xattr);

Completed in 119 milliseconds