Home
last modified time | relevance | path

Searched refs:hwbm_pool (Results 1 – 3 of 3) sorted by relevance

/linux/include/net/
H A Dhwbm.h7 struct hwbm_pool { struct
15 int (*construct)(struct hwbm_pool *bm_pool, void *buf); argument
22 void hwbm_buf_free(struct hwbm_pool *bm_pool, void *buf); argument
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) {} in hwbm_buf_free()
28 static inline int hwbm_pool_refill(struct hwbm_pool *bm_pool, gfp_t gfp) in hwbm_pool_refill()
31 static inline int hwbm_pool_add(struct hwbm_pool *bm_pool, in hwbm_pool_add()
/linux/drivers/net/ethernet/marvell/
H A Dmvneta_bm.h111 struct hwbm_pool hwbm_pool; member
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) in mvneta_bm_construct() argument
/linux/net/core/
H A Dhwbm.c13 void hwbm_buf_free(struct hwbm_pool *bm_pool, void *buf) in hwbm_buf_free()
23 int hwbm_pool_refill(struct hwbm_pool *bm_pool, gfp_t gfp) in hwbm_pool_refill()
46 int hwbm_pool_add(struct hwbm_pool *bm_pool, unsigned int buf_num) in hwbm_pool_add()