Searched refs:new_prop (Results 1 - 10 of 10) sorted by relevance
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | mobility.c | 121 struct property *new_prop = *prop; local 135 if (new_prop) { 137 char *new_data = kzalloc(new_prop->length + vd, GFP_KERNEL); 141 memcpy(new_data, new_prop->value, new_prop->length); 142 memcpy(new_data + new_prop->length, value, vd); 144 kfree(new_prop->value); 145 new_prop->value = new_data; 146 new_prop->length += vd; 148 new_prop [all...] |
H A D | hotplug-memory.c | 34 struct property *new_prop; local 36 new_prop = kzalloc(sizeof(*new_prop), GFP_KERNEL); 37 if (!new_prop) 40 new_prop->name = kstrdup(prop->name, GFP_KERNEL); 41 new_prop->value = kzalloc(prop_size, GFP_KERNEL); 42 if (!new_prop->name || !new_prop->value) { 43 dlpar_free_property(new_prop); 47 memcpy(new_prop 60 struct property *new_prop; local [all...] |
/linux-master/arch/powerpc/mm/ |
H A D | drmem.c | 42 struct property *new_prop; local 44 new_prop = kzalloc(sizeof(*new_prop), GFP_KERNEL); 45 if (!new_prop) 48 new_prop->name = kstrdup(prop->name, GFP_KERNEL); 49 new_prop->value = kzalloc(prop_sz, GFP_KERNEL); 50 if (!new_prop->name || !new_prop->value) { 51 kfree(new_prop->name); 52 kfree(new_prop 67 struct property *new_prop; local 106 struct property *new_prop; local [all...] |
/linux-master/drivers/misc/cxl/ |
H A D | flash.c | 71 struct property *new_prop; local 75 new_prop = kzalloc(sizeof(*new_prop), GFP_KERNEL); 76 if (!new_prop) 79 new_prop->name = kstrdup(name, GFP_KERNEL); 80 if (!new_prop->name) { 81 kfree(new_prop); 85 new_prop->length = vd; 86 new_prop->value = kzalloc(new_prop [all...] |
H A D | base.c | 100 struct property *new_prop) 102 return of_update_property(dn, new_prop); 99 cxl_update_properties(struct device_node *dn, struct property *new_prop) argument
|
H A D | cxl.h | 862 int cxl_update_properties(struct device_node *dn, struct property *new_prop);
|
/linux-master/drivers/of/ |
H A D | overlay.c | 199 struct property *new_prop; local 245 new_prop = kzalloc(sizeof(*new_prop), GFP_KERNEL); 246 if (!new_prop) 249 new_prop->name = kstrdup(prop->name, GFP_KERNEL); 250 new_prop->length = target_path_len + path_tail_len + 1; 251 new_prop->value = kzalloc(new_prop->length, GFP_KERNEL); 252 if (!new_prop->name || !new_prop 304 struct property *new_prop = NULL, *prop; local [all...] |
H A D | unittest.c | 3711 struct property *new_prop; local 3714 new_prop = __of_prop_dup(prop, GFP_KERNEL); 3715 if (!new_prop) { 3720 if (__of_add_property(of_symbols, new_prop)) { 3721 kfree(new_prop->name); 3722 kfree(new_prop->value); 3723 kfree(new_prop); 3731 if (__of_add_property_sysfs(of_symbols, new_prop)) {
|
/linux-master/scripts/dtc/ |
H A D | livetree.c | 144 struct property *new_prop, *old_prop; local 158 new_prop = new_node->proplist; 159 new_node->proplist = new_prop->next; 160 new_prop->next = NULL; 162 if (new_prop->deleted) { 163 delete_property_by_name(old_node, new_prop->name); 164 free(new_prop); 170 if (streq(old_prop->name, new_prop->name)) { 172 for_each_label_withdel(new_prop->labels, l) 175 old_prop->val = new_prop [all...] |
/linux-master/drivers/crypto/nx/ |
H A D | nx-common-pseries.c | 724 * can be provided by the @new_prop pointer to overwrite an existing value. 728 * @new_prop: If not NULL, this property is being updated. If NULL, update 734 * -EINVAL - property value not found, new_prop is not a recognized 738 static int nx842_OF_upd(struct property *new_prop) argument 783 if (new_prop && (strncmp(new_prop->name, "status", new_prop->length) || 784 strncmp(new_prop->name, "ibm,max-sg-len", new_prop->length) || 785 strncmp(new_prop [all...] |
Completed in 283 milliseconds