Home
last modified time | relevance | path

Searched refs:subtree (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/subsys/settings/src/
Dsettings_store.c42 int settings_load_subtree(const char *subtree) in settings_load_subtree() argument
47 .subtree = subtree in settings_load_subtree()
60 rc = settings_commit_subtree(subtree); in settings_load_subtree()
66 const char *subtree, in settings_load_subtree_direct() argument
73 .subtree = subtree, in settings_load_subtree_direct()
123 int settings_save_subtree(const char *subtree) in settings_save_subtree() argument
140 if (subtree && !settings_name_steq(ch->name, subtree, NULL)) { in settings_save_subtree()
154 if (subtree && !settings_name_steq(ch->name, subtree, NULL)) { in settings_save_subtree()
Dsettings.c209 if (load_arg && load_arg->subtree && in settings_call_set_handler()
210 !settings_name_steq(name, load_arg->subtree, &name_key)) { in settings_call_set_handler()
262 int settings_commit_subtree(const char *subtree) in settings_commit_subtree() argument
274 if (subtree && !settings_name_steq(ch->name, subtree, NULL)) { in settings_commit_subtree()
295 if (subtree && !settings_name_steq(ch->name, subtree, NULL)) { in settings_commit_subtree()
Dsettings_shell.c17 const char *subtree; member
32 if (params->subtree != NULL) { in settings_list_callback()
33 shell_print(params->shell_ptr, "%s/%s", params->subtree, key); in settings_list_callback()
47 .subtree = (argc == 2 ? argv[1] : NULL) in cmd_list()
50 err = settings_load_subtree_direct(params.subtree, settings_list_callback, &params); in cmd_list()
/Zephyr-latest/modules/openthread/platform/
Dsettings.c21 const char *subtree; member
60 ret = snprintk(path, sizeof(path), "%s%s%s", ctx->subtree, in ot_setting_delete_cb()
88 char subtree[OT_SETTINGS_MAX_PATH_LEN]; in ot_setting_delete_subtree() local
90 .subtree = subtree, in ot_setting_delete_subtree()
97 ret = snprintk(subtree, sizeof(subtree), "%s", in ot_setting_delete_subtree()
100 ret = snprintk(subtree, sizeof(subtree), "%s/%x", in ot_setting_delete_subtree()
103 __ASSERT(ret < sizeof(subtree), "Setting path buffer too small."); in ot_setting_delete_subtree()
105 ret = settings_load_subtree_direct(subtree, ot_setting_delete_cb, in ot_setting_delete_subtree()
109 subtree, index, ret); in ot_setting_delete_subtree()
/Zephyr-latest/include/zephyr/settings/
Dsettings.h279 int settings_load_subtree(const char *subtree);
321 const char *subtree,
341 int settings_save_subtree(const char *subtree);
384 int settings_commit_subtree(const char *subtree);
424 const char *subtree; member
/Zephyr-latest/samples/subsys/settings/
DREADME.rst51 subtree <alpha> handler registered: OK
52 subtree <alpha/beta> has static handler
80 loading subtree to destination provided by the caller
/Zephyr-latest/tests/net/lib/wifi_credentials_backend_settings/src/
Dmain.c119 static int custom_settings_load_subtree_direct(const char *subtree, settings_load_direct_cb cb, in custom_settings_load_subtree_direct() argument
122 size_t subtree_len = strlen(subtree); in custom_settings_load_subtree_direct()
127 if (strncmp(subtree, fake_settings_buf_keys[i], subtree_len) == 0) { in custom_settings_load_subtree_direct()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings/src/
Dsettings.c96 if (arg->subtree != NULL && !strstr(line, arg->subtree)) { in settings_custom_load()
/Zephyr-latest/doc/services/settings/
Dindex.rst15 the keys can be organized by the package and subtree defining the key,
32 Settings handlers for subtree implement a set of handler functions.
/Zephyr-latest/doc/releases/
Drelease-notes-2.1.rst893 * :github:`12969` - settings: loading key-value pairs for given subtree
Drelease-notes-2.4.rst794 * Disallow modifying the content of a static subtree name.