Searched refs:new_prop (Results 1 – 3 of 3) sorted by relevance
| /linux/arch/powerpc/platforms/pseries/ |
| H A 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_obj(*new_prop); in update_dt_property() 150 if (!new_prop) in update_dt_property() [all …]
|
| /linux/arch/powerpc/mm/ |
| H A D | drmem.c | 42 struct property *new_prop; in clone_property() local 44 new_prop = kzalloc_obj(*new_prop); 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/drivers/crypto/nx/ |
| H A D | nx-common-pseries.c | 739 static int nx842_OF_upd(struct property *new_prop) in nx842_OF_upd() argument 784 if (new_prop && (strncmp(new_prop->name, "status", new_prop->length) || in nx842_OF_upd() 785 strncmp(new_prop->name, "ibm,max-sg-len", new_prop->length) || in nx842_OF_upd() 786 strncmp(new_prop->name, "ibm,max-sync-cop", new_prop->length))) in nx842_OF_upd()
|