Lines Matching refs:new_prop
83 struct property *new_prop; in dlpar_clone_property() local
85 new_prop = kzalloc(sizeof(*new_prop), GFP_KERNEL); in dlpar_clone_property()
86 if (!new_prop) in dlpar_clone_property()
89 new_prop->name = kstrdup(prop->name, GFP_KERNEL); in dlpar_clone_property()
90 new_prop->value = kzalloc(prop_size, GFP_KERNEL); in dlpar_clone_property()
91 if (!new_prop->name || !new_prop->value) { in dlpar_clone_property()
92 dlpar_free_property(new_prop); in dlpar_clone_property()
96 memcpy(new_prop->value, prop->value, prop->length); in dlpar_clone_property()
97 new_prop->length = prop_size; in dlpar_clone_property()
99 of_property_set_flag(new_prop, OF_DYNAMIC); in dlpar_clone_property()
100 return new_prop; in dlpar_clone_property()
108 struct property *new_prop; in find_aa_index() local
135 new_prop = dlpar_clone_property(ala_prop, new_prop_size); in find_aa_index()
136 if (!new_prop) in find_aa_index()
139 assoc_arrays = new_prop->value; in find_aa_index()
148 of_update_property(dr_node, new_prop); in find_aa_index()