Home
last modified time | relevance | path

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

/fs/
Dxattr.c803 struct simple_xattr *new_xattr; in simple_xattr_alloc() local
807 len = sizeof(*new_xattr) + size; in simple_xattr_alloc()
808 if (len < sizeof(*new_xattr)) in simple_xattr_alloc()
811 new_xattr = kmalloc(len, GFP_KERNEL); in simple_xattr_alloc()
812 if (!new_xattr) in simple_xattr_alloc()
815 new_xattr->size = size; in simple_xattr_alloc()
816 memcpy(new_xattr->value, value, size); in simple_xattr_alloc()
817 return new_xattr; in simple_xattr_alloc()
851 struct simple_xattr *new_xattr = NULL; in __simple_xattr_set() local
856 new_xattr = simple_xattr_alloc(value, size); in __simple_xattr_set()
[all …]