/linux-6.6.21/arch/powerpc/platforms/pseries/ |
D | mobility.c | 122 struct property *new_prop = *prop; in update_dt_property() local 136 if (new_prop) { in update_dt_property() 138 char *new_data = kzalloc(new_prop->length + vd, GFP_KERNEL); in update_dt_property() 142 memcpy(new_data, new_prop->value, new_prop->length); in update_dt_property() 143 memcpy(new_data + new_prop->length, value, vd); in update_dt_property() 145 kfree(new_prop->value); in update_dt_property() 146 new_prop->value = new_data; in update_dt_property() 147 new_prop->length += vd; in update_dt_property() 149 new_prop = kzalloc(sizeof(*new_prop), GFP_KERNEL); in update_dt_property() 150 if (!new_prop) in update_dt_property() [all …]
|
D | hotplug-memory.c | 34 struct property *new_prop; in dlpar_clone_property() local 36 new_prop = kzalloc(sizeof(*new_prop), GFP_KERNEL); in dlpar_clone_property() 37 if (!new_prop) in dlpar_clone_property() 40 new_prop->name = kstrdup(prop->name, GFP_KERNEL); in dlpar_clone_property() 41 new_prop->value = kzalloc(prop_size, GFP_KERNEL); in dlpar_clone_property() 42 if (!new_prop->name || !new_prop->value) { in dlpar_clone_property() 43 dlpar_free_property(new_prop); in dlpar_clone_property() 47 memcpy(new_prop->value, prop->value, prop->length); in dlpar_clone_property() 48 new_prop->length = prop_size; in dlpar_clone_property() 50 of_property_set_flag(new_prop, OF_DYNAMIC); in dlpar_clone_property() [all …]
|
/linux-6.6.21/arch/powerpc/mm/ |
D | drmem.c | 42 struct property *new_prop; in clone_property() local 44 new_prop = kzalloc(sizeof(*new_prop), GFP_KERNEL); in clone_property() 45 if (!new_prop) in clone_property() 48 new_prop->name = kstrdup(prop->name, GFP_KERNEL); in clone_property() 49 new_prop->value = kzalloc(prop_sz, GFP_KERNEL); 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() 57 new_prop->length = prop_sz; in clone_property() [all …]
|
/linux-6.6.21/drivers/of/ |
D | overlay.c | 199 struct property *new_prop; in dup_and_fixup_symbol_prop() local 245 new_prop = kzalloc(sizeof(*new_prop), GFP_KERNEL); in dup_and_fixup_symbol_prop() 246 if (!new_prop) in dup_and_fixup_symbol_prop() 249 new_prop->name = kstrdup(prop->name, GFP_KERNEL); in dup_and_fixup_symbol_prop() 250 new_prop->length = target_path_len + path_tail_len + 1; in dup_and_fixup_symbol_prop() 251 new_prop->value = kzalloc(new_prop->length, GFP_KERNEL); in dup_and_fixup_symbol_prop() 252 if (!new_prop->name || !new_prop->value) in dup_and_fixup_symbol_prop() 255 strcpy(new_prop->value, target_path); in dup_and_fixup_symbol_prop() 256 strcpy(new_prop->value + target_path_len, path_tail); in dup_and_fixup_symbol_prop() 258 of_property_set_flag(new_prop, OF_DYNAMIC); in dup_and_fixup_symbol_prop() [all …]
|
D | unittest.c | 3644 struct property *new_prop; in of_unittest_overlay_high_level() local 3647 new_prop = __of_prop_dup(prop, GFP_KERNEL); in of_unittest_overlay_high_level() 3648 if (!new_prop) { in of_unittest_overlay_high_level() 3653 if (__of_add_property(of_symbols, new_prop)) { in of_unittest_overlay_high_level() 3654 kfree(new_prop->name); in of_unittest_overlay_high_level() 3655 kfree(new_prop->value); in of_unittest_overlay_high_level() 3656 kfree(new_prop); in of_unittest_overlay_high_level() 3664 if (__of_add_property_sysfs(of_symbols, new_prop)) { in of_unittest_overlay_high_level()
|
/linux-6.6.21/drivers/misc/cxl/ |
D | flash.c | 71 struct property *new_prop; in update_property() local 75 new_prop = kzalloc(sizeof(*new_prop), GFP_KERNEL); in update_property() 76 if (!new_prop) in update_property() 79 new_prop->name = kstrdup(name, GFP_KERNEL); in update_property() 80 if (!new_prop->name) { in update_property() 81 kfree(new_prop); in update_property() 85 new_prop->length = vd; in update_property() 86 new_prop->value = kzalloc(new_prop->length, GFP_KERNEL); in update_property() 87 if (!new_prop->value) { in update_property() 88 kfree(new_prop->name); in update_property() [all …]
|
D | base.c | 100 struct property *new_prop) in cxl_update_properties() argument 102 return of_update_property(dn, new_prop); in cxl_update_properties()
|
D | cxl.h | 861 int cxl_update_properties(struct device_node *dn, struct property *new_prop);
|
/linux-6.6.21/scripts/dtc/ |
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() 163 delete_property_by_name(old_node, new_prop->name); in merge_nodes() 164 free(new_prop); in merge_nodes() 170 if (streq(old_prop->name, new_prop->name)) { in merge_nodes() 172 for_each_label_withdel(new_prop->labels, l) in merge_nodes() 175 old_prop->val = new_prop->val; in merge_nodes() [all …]
|
/linux-6.6.21/drivers/crypto/nx/ |
D | nx-common-pseries.c | 738 static int nx842_OF_upd(struct property *new_prop) in nx842_OF_upd() argument 783 if (new_prop && (strncmp(new_prop->name, "status", new_prop->length) || in nx842_OF_upd() 784 strncmp(new_prop->name, "ibm,max-sg-len", new_prop->length) || in nx842_OF_upd() 785 strncmp(new_prop->name, "ibm,max-sync-cop", new_prop->length))) in nx842_OF_upd()
|