Lines Matching refs:prop
196 static void release_prop_list(const struct property *prop) in release_prop_list() argument
199 for (; prop; prop = next) { in release_prop_list()
200 next = prop->next; in release_prop_list()
201 kfree(prop->name); in release_prop_list()
202 kfree(prop->value); in release_prop_list()
203 kfree(prop); in release_prop_list()
305 struct property *prop = NULL; in do_add_node() local
325 struct property *last = prop; in do_add_node()
327 prop = new_property(name, length, value, last); in do_add_node()
328 if (!prop) { in do_add_node()
330 prop = last; in do_add_node()
339 rv = pSeries_reconfig_add_node(path, prop); in do_add_node()
343 release_prop_list(prop); in do_add_node()
381 struct property *prop = NULL; in do_add_property() local
395 prop = new_property(name, length, value, NULL); in do_add_property()
396 if (!prop) in do_add_property()
399 prom_add_property(np, prop); in do_add_property()
408 struct property *prop; in do_remove_property() local
421 prop = of_find_property(np, buf, NULL); in do_remove_property()
423 return prom_remove_property(np, prop); in do_remove_property()