Home
last modified time | relevance | path

Searched refs:tfm_pool_chunk_t (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-m-latest/secure_fw/spm/core/
Dtfm_pools.c27 struct tfm_pool_chunk_t *pchunk; in tfm_pool_init()
35 if (poolsz != ((chunksz + sizeof(struct tfm_pool_chunk_t)) * num + in tfm_pool_init()
46 pchunk = (struct tfm_pool_chunk_t *)pool->chunks; in tfm_pool_init()
49 pchunk = (struct tfm_pool_chunk_t *)&pchunk->data[chunksz]; in tfm_pool_init()
61 struct tfm_pool_chunk_t *node; in tfm_pool_alloc()
76 return &(((struct tfm_pool_chunk_t *)node)->data); in tfm_pool_alloc()
81 struct tfm_pool_chunk_t *pchunk; in tfm_pool_free()
86 pchunk = TO_CONTAINER(ptr, struct tfm_pool_chunk_t, data); in tfm_pool_free()
103 struct tfm_pool_chunk_t *pchunk; in is_valid_chunk_data_in_pool()
110 if ((chunks_offset % (pool->chunksz + sizeof(struct tfm_pool_chunk_t))) in is_valid_chunk_data_in_pool()
[all …]
Dtfm_pools.h19 struct tfm_pool_chunk_t { struct
20 struct tfm_pool_chunk_t *next; /* Chunk list */ argument
26 struct tfm_pool_chunk_t *next; /* Point to the first free node */ argument
41 sizeof(struct tfm_pool_chunk_t)) * (num) \
49 sizeof(struct tfm_pool_chunk_t))