Searched refs:new_xattr (Results 1 – 2 of 2) sorted by relevance
881 struct simple_xattr *new_xattr; in simple_xattr_alloc() local885 len = sizeof(*new_xattr) + size; in simple_xattr_alloc()886 if (len < sizeof(*new_xattr)) in simple_xattr_alloc()889 new_xattr = kmalloc(len, GFP_KERNEL); in simple_xattr_alloc()890 if (!new_xattr) in simple_xattr_alloc()893 new_xattr->size = size; in simple_xattr_alloc()894 memcpy(new_xattr->value, value, size); in simple_xattr_alloc()895 return new_xattr; in simple_xattr_alloc()943 struct simple_xattr *new_xattr = NULL; in simple_xattr_set() local948 new_xattr = simple_xattr_alloc(value, size); in simple_xattr_set()[all …]
111 struct simple_xattr *new_xattr);