Searched refs:new_xattr (Results 1 – 1 of 1) sorted by relevance
812 struct simple_xattr *new_xattr; in simple_xattr_alloc() local816 len = sizeof(*new_xattr) + size; in simple_xattr_alloc()817 if (len < sizeof(*new_xattr)) in simple_xattr_alloc()820 new_xattr = kmalloc(len, GFP_KERNEL); in simple_xattr_alloc()821 if (!new_xattr) in simple_xattr_alloc()824 new_xattr->size = size; in simple_xattr_alloc()825 memcpy(new_xattr->value, value, size); in simple_xattr_alloc()826 return new_xattr; in simple_xattr_alloc()874 struct simple_xattr *new_xattr = NULL; in simple_xattr_set() local879 new_xattr = simple_xattr_alloc(value, size); in simple_xattr_set()[all …]