tree data REFACTOR data unres sets naming unified
diff --git a/src/tree_data_helpers.c b/src/tree_data_helpers.c
index 7fd4582..1fd28df 100644
--- a/src/tree_data_helpers.c
+++ b/src/tree_data_helpers.c
@@ -347,18 +347,18 @@
 }
 
 void
-lyd_parse_set_data_flags(struct lyd_node *node, struct ly_set *when_check, struct ly_set *exts_check, struct lyd_meta **meta,
-        uint32_t options)
+lyd_parse_set_data_flags(struct lyd_node *node, struct ly_set *node_when, struct ly_set *node_exts, struct lyd_meta **meta,
+        uint32_t parse_opts)
 {
     struct lyd_meta *meta2, *prev_meta = NULL;
 
     if (lysc_has_when(node->schema)) {
-        if (!(options & LYD_PARSE_ONLY)) {
+        if (!(parse_opts & LYD_PARSE_ONLY)) {
             /* remember we need to evaluate this node's when */
-            LY_CHECK_RET(ly_set_add(when_check, node, 1, NULL), );
+            LY_CHECK_RET(ly_set_add(node_when, node, 1, NULL), );
         }
     }
-    LY_CHECK_RET(lysc_node_ext_tovalidate(exts_check, node), );
+    LY_CHECK_RET(lysc_node_ext_tovalidate(node_exts, node), );
 
     LY_LIST_FOR(*meta, meta2) {
         if (!strcmp(meta2->name, "default") && !strcmp(meta2->annotation->module->name, "ietf-netconf-with-defaults") &&
diff --git a/src/tree_data_internal.h b/src/tree_data_internal.h
index 0d98567..bc3eb82 100644
--- a/src/tree_data_internal.h
+++ b/src/tree_data_internal.h
@@ -436,13 +436,13 @@
  * @brief Set data flags for a newly parsed node.
  *
  * @param[in] node Node to use.
- * @param[in,out] when_check Set of nodes with unresolved when.
- * @param[in,out] exts_check Set of nodes and their extension instances if they have own validation callback.
+ * @param[in,out] node_when Set of nodes with unresolved when.
+ * @param[in,out] node_exts Set of nodes and their extension instances if they have own validation callback.
  * @param[in,out] meta Node metadata, may be removed from.
- * @param[in] options Parse options.
+ * @param[in] parse_opts Parse options.
  */
-void lyd_parse_set_data_flags(struct lyd_node *node, struct ly_set *when_check, struct ly_set *exts_check,
-        struct lyd_meta **meta, uint32_t options);
+void lyd_parse_set_data_flags(struct lyd_node *node, struct ly_set *node_when, struct ly_set *node_exts,
+        struct lyd_meta **meta, uint32_t parse_opts);
 
 /**
  * @brief Append all list key predicates to path.