Searched refs:frag_cache (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.7.0/subsys/lorawan/services/ |
D | frag_flash.c | 26 static struct frag_cache_entry frag_cache[FRAG_MAX_REDUNDANCY]; variable 77 if (frag_cache[i].addr == addr) { in frag_flash_write() 78 memcpy(frag_cache[i].data, data, size); in frag_flash_write() 84 if (cached_frags < ARRAY_SIZE(frag_cache)) { in frag_flash_write() 85 frag_cache[cached_frags].addr = addr; in frag_flash_write() 86 memcpy(frag_cache[cached_frags].data, data, size); in frag_flash_write() 100 if (frag_cache[i].addr == addr) { in frag_flash_read() 101 memcpy(data, frag_cache[i].data, size); in frag_flash_read() 119 LOG_DBG("Writing %u bytes to addr 0x%x", frag_size, frag_cache[i].addr); in frag_flash_finish() 120 flash_area_write(fa, frag_cache[i].addr, frag_cache[i].data, frag_size); in frag_flash_finish()
|
/Zephyr-Core-3.7.0/subsys/net/l2/ieee802154/ |
D | ieee802154_6lo_fragment.c | 40 struct frag_cache { struct 48 static struct frag_cache cache[REASS_CACHE_SIZE]; argument 287 struct frag_cache *fcache = CONTAINER_OF(dwork, struct frag_cache, timer); in reass_timeout() 304 static inline struct frag_cache *set_reass_cache(struct net_pkt *pkt, uint16_t size, uint16_t tag) in set_reass_cache() 330 static inline struct frag_cache *get_reass_cache(uint16_t size, uint16_t tag) in get_reass_cache() 484 struct frag_cache *fcache; in fragment_add_to_cache()
|