Lines Matching refs:pool

290 const char *net_pkt_pool2str(struct net_buf_pool *pool)  in net_pkt_pool2str()  argument
292 if (pool == &rx_bufs) { in net_pkt_pool2str()
294 } else if (pool == &tx_bufs) { in net_pkt_pool2str()
301 static inline int16_t get_frees(struct net_buf_pool *pool) in get_frees() argument
304 return atomic_get(&pool->avail_count); in get_frees()
347 static inline const char *get_name(struct net_buf_pool *pool) in get_name() argument
350 return pool->name; in get_name()
356 static inline int16_t get_size(struct net_buf_pool *pool) in get_size() argument
359 return pool->pool_size; in get_size()
370 static inline const char *pool2str(struct net_buf_pool *pool) in pool2str() argument
372 return net_pkt_pool2str(pool); in pool2str()
377 struct net_buf *net_pkt_get_reserve_data_debug(struct net_buf_pool *pool, in net_pkt_get_reserve_data_debug() argument
383 struct net_buf *net_pkt_get_reserve_data(struct net_buf_pool *pool, in net_pkt_get_reserve_data_debug()
399 frag = net_buf_alloc(pool, timeout); in net_pkt_get_reserve_data_debug()
401 frag = net_buf_alloc_len(pool, min_len, timeout); in net_pkt_get_reserve_data_debug()
416 pool2str(pool), get_name(pool), get_frees(pool), in net_pkt_get_reserve_data_debug()
926 struct net_buf_pool *pool, argument
932 struct net_buf_pool *pool,
951 new = net_buf_alloc_fixed(pool, timeout);
991 pool2str(pool), get_name(pool), get_frees(pool),
1021 struct net_buf_pool *pool, argument
1027 struct net_buf_pool *pool,
1042 buf = net_buf_alloc_len(pool, size, timeout);
1050 pool2str(pool), get_name(pool), get_frees(pool),
1268 struct net_buf_pool *pool = NULL; local
1299 pool = get_data_pool(pkt->context);
1302 if (!pool) {
1303 pool = pkt->slab == &tx_pkts ? &tx_bufs : &rx_bufs;
1307 buf = pkt_alloc_buffer(pkt, pool, alloc_len, reserve,
1310 buf = pkt_alloc_buffer(pkt, pool, alloc_len, reserve, timeout);
1403 struct net_buf_pool *pool = NULL; local
1417 pool = get_data_pool(pkt->context);
1420 if (!pool) {
1421 pool = pkt->slab == &tx_pkts ? &tx_bufs : &rx_bufs;
1425 buf = pkt_alloc_buffer(pkt, pool, size, 0U, timeout, caller, line);
1427 buf = pkt_alloc_buffer(pkt, pool, size, 0U, timeout);