Searched refs:tfm_pool_chunk_t (Results 1 – 2 of 2) sorted by relevance
27 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 …]
19 struct tfm_pool_chunk_t { struct20 struct tfm_pool_chunk_t *next; /* Chunk list */ argument26 struct tfm_pool_chunk_t *next; /* Point to the first free node */ argument41 sizeof(struct tfm_pool_chunk_t)) * (num) \49 sizeof(struct tfm_pool_chunk_t))