Searched refs:val_size (Results 1 – 2 of 2) sorted by relevance
46 #define NRF_802154_KVMAP_ITEMSIZE(key_size, val_size) ((key_size) + (val_size)) argument51 (idx * NRF_802154_KVMAP_ITEMSIZE(p_kvmap->key_size, p_kvmap->val_size)); in item_ptr_by_idx_get()58 if (p_kvmap->val_size != 0U) in item_value_write()60 memcpy(p_item + p_kvmap->key_size, p_value, p_kvmap->val_size); in item_value_write()66 size_t item_size = NRF_802154_KVMAP_ITEMSIZE(p_kvmap->key_size, p_kvmap->val_size); in item_idx_by_key_search()87 size_t val_size) in nrf_802154_kvmap_init() argument90 p_kvmap->capacity = memsize / NRF_802154_KVMAP_ITEMSIZE(key_size, val_size); in nrf_802154_kvmap_init()92 p_kvmap->val_size = val_size; in nrf_802154_kvmap_init()157 NRF_802154_KVMAP_ITEMSIZE(p_kvmap->key_size, p_kvmap->val_size)); in nrf_802154_kvmap_remove()191 if ((p_value != NULL) && (p_kvmap->val_size != 0U)) in nrf_802154_kvmap_search()[all …]
57 size_t val_size; member71 #define NRF_802154_KVMAP_MEMORY_SIZE(capacity, key_size, val_size) \ argument72 ((capacity) * ((key_size) + (val_size)))95 size_t val_size);