Lines Matching refs:parent

49 _lookup_config_node(nvlist_t *parent, const char *path, bool create)  in _lookup_config_node()  argument
58 nvl = parent; in _lookup_config_node()
120 create_relative_config_node(nvlist_t *parent, const char *path) in create_relative_config_node() argument
123 return (_lookup_config_node(parent, path, true)); in create_relative_config_node()
127 find_relative_config_node(nvlist_t *parent, const char *path) in find_relative_config_node() argument
130 return (_lookup_config_node(parent, path, false)); in find_relative_config_node()
134 set_config_value_node(nvlist_t *parent, const char *name, const char *value) in set_config_value_node() argument
139 if (parent == NULL) in set_config_value_node()
140 parent = config_root; in set_config_value_node()
141 if (nvlist_exists_string(parent, name)) in set_config_value_node()
142 nvlist_free_string(parent, name); in set_config_value_node()
143 else if (nvlist_exists(parent, name)) in set_config_value_node()
146 value, name, parent); in set_config_value_node()
147 nvlist_add_string(parent, name, value); in set_config_value_node()
151 set_config_value_node_if_unset(nvlist_t *const parent, const char *const name, in set_config_value_node_if_unset() argument
154 if (get_config_value_node(parent, name) != NULL) { in set_config_value_node_if_unset()
158 set_config_value_node(parent, name, value); in set_config_value_node_if_unset()
345 get_config_value_node(const nvlist_t *parent, const char *name) in get_config_value_node() argument
350 if (parent == NULL) in get_config_value_node()
351 parent = config_root; in get_config_value_node()
352 if (nvlist_exists_nvlist(parent, name)) in get_config_value_node()
354 parent); in get_config_value_node()
355 if (!nvlist_exists_string(parent, name)) in get_config_value_node()
358 return (expand_config_value(nvlist_get_string(parent, name))); in get_config_value_node()
401 get_config_bool_node(const nvlist_t *parent, const char *name) in get_config_bool_node() argument
405 value = get_config_value_node(parent, name); in get_config_bool_node()
412 get_config_bool_node_default(const nvlist_t *parent, const char *name, in get_config_bool_node_default() argument
417 value = get_config_value_node(parent, name); in get_config_bool_node_default()
431 set_config_bool_node(nvlist_t *parent, const char *name, bool value) in set_config_bool_node() argument
434 set_config_value_node(parent, name, value ? "true" : "false"); in set_config_bool_node()