/Zephyr-latest/subsys/settings/src/ |
D | settings_store.c | 42 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()
|
D | settings.c | 209 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()
|
D | settings_shell.c | 17 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, ¶ms); in cmd_list()
|
/Zephyr-latest/modules/openthread/platform/ |
D | settings.c | 21 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/ |
D | settings.h | 279 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/ |
D | README.rst | 51 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/ |
D | main.c | 119 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/ |
D | settings.c | 96 if (arg->subtree != NULL && !strstr(line, arg->subtree)) { in settings_custom_load()
|
/Zephyr-latest/doc/services/settings/ |
D | index.rst | 15 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/ |
D | release-notes-2.1.rst | 893 * :github:`12969` - settings: loading key-value pairs for given subtree
|
D | release-notes-2.4.rst | 794 * Disallow modifying the content of a static subtree name.
|