Searched refs:new_prop (Results 1 – 10 of 10) sorted by relevance
/linux/arch/powerpc/platforms/pseries/ |
A D | mobility.c | 109 if (new_prop) { in update_dt_property() 115 memcpy(new_data, new_prop->value, new_prop->length); in update_dt_property() 118 kfree(new_prop->value); in update_dt_property() 122 new_prop = kzalloc(sizeof(*new_prop), GFP_KERNEL); in update_dt_property() 123 if (!new_prop) in update_dt_property() 127 if (!new_prop->name) { in update_dt_property() 128 kfree(new_prop); in update_dt_property() 132 new_prop->length = vd; in update_dt_property() 133 new_prop->value = kzalloc(new_prop->length, GFP_KERNEL); in update_dt_property() 136 kfree(new_prop); in update_dt_property() [all …]
|
A D | hotplug-memory.c | 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() 91 if (!new_prop->name || !new_prop->value) { in dlpar_clone_property() 92 dlpar_free_property(new_prop); in dlpar_clone_property() 97 new_prop->length = prop_size; in dlpar_clone_property() 100 return new_prop; in dlpar_clone_property() 108 struct property *new_prop; in find_aa_index() local 136 if (!new_prop) in find_aa_index() 139 assoc_arrays = new_prop->value; in find_aa_index() [all …]
|
/linux/arch/powerpc/mm/ |
A D | drmem.c | 44 new_prop = kzalloc(sizeof(*new_prop), GFP_KERNEL); in clone_property() 45 if (!new_prop) in clone_property() 50 if (!new_prop->name || !new_prop->value) { in clone_property() 51 kfree(new_prop->name); in clone_property() 52 kfree(new_prop->value); in clone_property() 53 kfree(new_prop); in clone_property() 61 return new_prop; in clone_property() 73 if (!new_prop) in drmem_update_dt_v1() 76 p = new_prop->value; in drmem_update_dt_v1() 131 if (!new_prop) in drmem_update_dt_v2() [all …]
|
/linux/drivers/of/ |
A D | overlay.c | 249 new_prop = kzalloc(sizeof(*new_prop), GFP_KERNEL); in dup_and_fixup_symbol_prop() 250 if (!new_prop) in dup_and_fixup_symbol_prop() 255 new_prop->value = kzalloc(new_prop->length, GFP_KERNEL); in dup_and_fixup_symbol_prop() 256 if (!new_prop->name || !new_prop->value) in dup_and_fixup_symbol_prop() 266 return new_prop; in dup_and_fixup_symbol_prop() 269 kfree(new_prop->name); in dup_and_fixup_symbol_prop() 271 kfree(new_prop); in dup_and_fixup_symbol_prop() 349 if (!new_prop) in add_changeset_property() 358 new_prop); in add_changeset_property() 361 new_prop); in add_changeset_property() [all …]
|
A D | unittest.c | 3135 struct property *new_prop; in of_unittest_overlay_high_level() local 3138 new_prop = __of_prop_dup(prop, GFP_KERNEL); in of_unittest_overlay_high_level() 3139 if (!new_prop) { in of_unittest_overlay_high_level() 3144 if (__of_add_property(of_symbols, new_prop)) { in of_unittest_overlay_high_level() 3145 kfree(new_prop->name); in of_unittest_overlay_high_level() 3146 kfree(new_prop->value); in of_unittest_overlay_high_level() 3147 kfree(new_prop); in of_unittest_overlay_high_level() 3155 if (__of_add_property_sysfs(of_symbols, new_prop)) { in of_unittest_overlay_high_level()
|
/linux/drivers/misc/cxl/ |
A D | flash.c | 74 new_prop = kzalloc(sizeof(*new_prop), GFP_KERNEL); in update_property() 75 if (!new_prop) 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() 99 kfree(new_prop->name); in update_property() [all …]
|
A D | base.c | 99 struct property *new_prop) in cxl_update_properties() argument 101 return of_update_property(dn, new_prop); in cxl_update_properties()
|
A D | cxl.h | 859 int cxl_update_properties(struct device_node *dn, struct property *new_prop);
|
/linux/scripts/dtc/ |
A D | livetree.c | 144 struct property *new_prop, *old_prop; in merge_nodes() local 158 new_prop = new_node->proplist; in merge_nodes() 159 new_node->proplist = new_prop->next; in merge_nodes() 160 new_prop->next = NULL; in merge_nodes() 162 if (new_prop->deleted) { in merge_nodes() 164 free(new_prop); in merge_nodes() 175 old_prop->val = new_prop->val; in merge_nodes() 179 free(new_prop); in merge_nodes() 180 new_prop = NULL; in merge_nodes() 186 if (new_prop) in merge_nodes() [all …]
|
/linux/drivers/crypto/nx/ |
A D | nx-common-pseries.c | 736 static int nx842_OF_upd(struct property *new_prop) in nx842_OF_upd() argument 781 if (new_prop && (strncmp(new_prop->name, "status", new_prop->length) || in nx842_OF_upd() 782 strncmp(new_prop->name, "ibm,max-sg-len", new_prop->length) || in nx842_OF_upd() 783 strncmp(new_prop->name, "ibm,max-sync-cop", new_prop->length))) in nx842_OF_upd()
|
Completed in 25 milliseconds