Searched refs:hwbm_pool (Results 1 - 5 of 5) sorted by relevance

/linux-master/include/net/
H A Dhwbm.h7 struct hwbm_pool { struct
15 int (*construct)(struct hwbm_pool *bm_pool, void *buf);
22 void hwbm_buf_free(struct hwbm_pool *bm_pool, void *buf);
23 int hwbm_pool_refill(struct hwbm_pool *bm_pool, gfp_t gfp);
24 int hwbm_pool_add(struct hwbm_pool *bm_pool, unsigned int buf_num);
26 static inline void hwbm_buf_free(struct hwbm_pool *bm_pool, void *buf) {}
28 static inline int hwbm_pool_refill(struct hwbm_pool *bm_pool, gfp_t gfp)
31 static inline int hwbm_pool_add(struct hwbm_pool *bm_pool,
/linux-master/drivers/net/ethernet/marvell/
H A Dmvneta_bm.c93 int mvneta_bm_construct(struct hwbm_pool *hwbm_pool, void *buf) argument
96 (struct mvneta_bm_pool *)hwbm_pool->priv;
122 size_bytes = sizeof(u32) * bm_pool->hwbm_pool.size;
183 struct hwbm_pool *hwbm_pool = &new_pool->hwbm_pool; local
188 hwbm_pool->frag_size =
191 hwbm_pool->construct = mvneta_bm_construct;
192 hwbm_pool
261 struct hwbm_pool *hwbm_pool = &bm_pool->hwbm_pool; local
[all...]
H A Dmvneta_bm.h111 struct hwbm_pool hwbm_pool; member in struct:mvneta_bm_pool
141 int mvneta_bm_construct(struct hwbm_pool *hwbm_pool, void *buf);
169 static inline int mvneta_bm_construct(struct hwbm_pool *hwbm_pool, void *buf) argument
H A Dmvneta.c1214 struct hwbm_pool *hwbm_pool = &bm_pool->hwbm_pool; local
1219 if (hwbm_pool->buf_num) {
1227 hwbm_pool->frag_size = SKB_DATA_ALIGN(sizeof(struct skb_shared_info)) +
1231 num = hwbm_pool_add(hwbm_pool, hwbm_pool->size);
1232 if (num != hwbm_pool->size) {
1234 bm_pool->id, num, hwbm_pool->size);
2616 err = hwbm_pool_refill(&bm_pool->hwbm_pool, GFP_ATOMI
[all...]
/linux-master/net/core/
H A Dhwbm.c13 void hwbm_buf_free(struct hwbm_pool *bm_pool, void *buf)
23 int hwbm_pool_refill(struct hwbm_pool *bm_pool, gfp_t gfp)
46 int hwbm_pool_add(struct hwbm_pool *bm_pool, unsigned int buf_num)

Completed in 232 milliseconds