Lines Matching full:parent

51 _lookup_config_node(nvlist_t *parent, const char *path, bool create)  in _lookup_config_node()  argument
60 nvl = parent; in _lookup_config_node()
130 create_relative_config_node(nvlist_t *parent, const char *path) in create_relative_config_node() argument
133 return (_lookup_config_node(parent, path, true)); in create_relative_config_node()
137 find_relative_config_node(nvlist_t *parent, const char *path) in find_relative_config_node() argument
140 return (_lookup_config_node(parent, path, false)); in find_relative_config_node()
144 set_config_value_node(nvlist_t *parent, const char *name, const char *value) in set_config_value_node() argument
149 if (parent == NULL) in set_config_value_node()
150 parent = config_root; in set_config_value_node()
151 if (nvlist_exists_string(parent, name)) in set_config_value_node()
152 nvlist_free_string(parent, name); in set_config_value_node()
153 else if (nvlist_exists(parent, name)) in set_config_value_node()
156 value, name, parent); in set_config_value_node()
157 nvlist_add_string(parent, name, value); in set_config_value_node()
161 set_config_value_node_if_unset(nvlist_t *const parent, const char *const name, in set_config_value_node_if_unset() argument
164 if (get_config_value_node(parent, name) != NULL) { in set_config_value_node_if_unset()
168 set_config_value_node(parent, name, value); in set_config_value_node_if_unset()
355 get_config_value_node(const nvlist_t *parent, const char *name) in get_config_value_node() argument
360 if (parent == NULL) in get_config_value_node()
361 parent = config_root; in get_config_value_node()
363 if (nvlist_exists_nvlist(parent, name)) in get_config_value_node()
365 parent); in get_config_value_node()
366 if (!nvlist_exists_string(parent, name)) in get_config_value_node()
369 return (expand_config_value(nvlist_get_string(parent, name))); in get_config_value_node()
412 get_config_bool_node(const nvlist_t *parent, const char *name) in get_config_bool_node() argument
416 value = get_config_value_node(parent, name); in get_config_bool_node()
423 get_config_bool_node_default(const nvlist_t *parent, const char *name, in get_config_bool_node_default() argument
428 value = get_config_value_node(parent, name); in get_config_bool_node_default()
442 set_config_bool_node(nvlist_t *parent, const char *name, bool value) in set_config_bool_node() argument
445 set_config_value_node(parent, name, value ? "true" : "false"); in set_config_bool_node()