Home
last modified time | relevance | path

Searched refs:zms_write (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/samples/subsys/fs/zms/src/
Dmain.c133 rc = zms_write(&fs, IP_ADDRESS_ID, &buf, strlen(buf)); in main()
152 rc = zms_write(&fs, KEY_VALUE_ID, &key, sizeof(key)); in main()
170 rc = zms_write(&fs, CNT_ID, &i, sizeof(i)); in main()
190 rc = zms_write(&fs, LONG_DATA_ID, &longarray, sizeof(longarray)); in main()
212 rc = zms_write(&fs, id, &id, sizeof(uint32_t)); in main()
/Zephyr-latest/subsys/settings/src/
Dsettings_zms.c84 rc = zms_write(&cf->cf_zms, settings_element.next_hash, &settings_update_element, in settings_zms_unlink_ll_node()
113 rc = zms_write(&cf->cf_zms, settings_element.previous_hash, in settings_zms_unlink_ll_node()
305 rc = zms_write(&cf->cf_zms, name_hash + ZMS_DATA_ID_OFFSET, value, val_len); in settings_zms_save()
312 rc = zms_write(&cf->cf_zms, name_hash, name, strlen(name)); in settings_zms_save()
329 rc = zms_write(&cf->cf_zms, name_hash | 1, &settings_element, in settings_zms_save()
337 rc = zms_write(&cf->cf_zms, cf->last_hash_id, &settings_element, in settings_zms_save()
363 rc = zms_write(&cf->cf_zms, ZMS_LL_HEAD_HASH_ID, &settings_element, in settings_zms_get_last_hash_ids()
/Zephyr-latest/tests/subsys/fs/zms/src/
Dmain.c118 len = zms_write(fs, id, wr_buf, sizeof(wr_buf)); in execute_long_pattern_write()
182 len = zms_write(&fixture->fs, TEST_DATA_ID, wr_buf_1, sizeof(wr_buf_1)); in ZTEST_F()
208 len = zms_write(&fixture->fs, TEST_DATA_ID, wr_buf_2, sizeof(wr_buf_2)); in ZTEST_F()
248 len = zms_write(&fixture->fs, id, buf, sizeof(buf)); in ZTEST_F()
291 len = zms_write(fs, id, buf, sizeof(buf)); in write_content()
437 len = zms_write(&fixture->fs, id, buf, sizeof(buf)); in ZTEST_F()
471 len = zms_write(&fixture->fs, filling_id, &filling_id, sizeof(filling_id)); in ZTEST_F()
487 len = zms_write(&fixture->fs, filling_id, &filling_id, sizeof(filling_id)); in ZTEST_F()
520 len = zms_write(&fixture->fs, filling_id, &filling_id, sizeof(filling_id)); in ZTEST_F()
735 err = zms_write(&fixture->fs, 1, &data, sizeof(data)); in ZTEST_F()
[all …]
/Zephyr-latest/include/zephyr/fs/
Dzms.h129 ssize_t zms_write(struct zms_fs *fs, uint32_t id, const void *data, size_t len);
/Zephyr-latest/subsys/secure_storage/src/its/store/
Dzms.c71 zms_ret = zms_write(&s_zms, zms_id, data, data_length); in secure_storage_its_store_set()
/Zephyr-latest/subsys/fs/zms/
Dzms.c1393 ssize_t zms_write(struct zms_fs *fs, uint32_t id, const void *data, size_t len) in zms_write() function
1537 return zms_write(fs, id, NULL, 0); in zms_delete()