Lines Matching refs:new_prop
70 struct property *new_prop; in update_property() local
74 new_prop = kzalloc(sizeof(*new_prop), GFP_KERNEL); in update_property()
75 if (!new_prop) in update_property()
78 new_prop->name = kstrdup(name, GFP_KERNEL); in update_property()
79 if (!new_prop->name) { in update_property()
80 kfree(new_prop); in update_property()
84 new_prop->length = vd; in update_property()
85 new_prop->value = kzalloc(new_prop->length, GFP_KERNEL); in update_property()
86 if (!new_prop->value) { in update_property()
87 kfree(new_prop->name); in update_property()
88 kfree(new_prop); in update_property()
91 memcpy(new_prop->value, value, vd); in update_property()
93 val = (u32 *)new_prop->value; in update_property()
94 rc = cxl_update_properties(dn, new_prop); in update_property()
99 kfree(new_prop->name); in update_property()
100 kfree(new_prop->value); in update_property()
101 kfree(new_prop); in update_property()