Lines Matching refs:pool
48 * Fill the supplied hardware pool with mbufs
50 * @param pool Pool to allocate an mbuf for
51 * @param size Size of the buffer needed for the pool
54 int cvm_oct_mem_fill_fpa(int pool, int size, int elements)
62 printf("Failed to allocate mbuf for hardware pool %d\n", pool);
68 cvmx_fpa_free(m->m_data, pool, DONT_WRITEBACK(size/128));
76 * Free the supplied hardware pool of mbufs
78 * @param pool Pool to allocate an mbuf for
79 * @param size Size of the buffer needed for the pool
82 void cvm_oct_mem_empty_fpa(int pool, int size, int elements)
87 memory = cvmx_fpa_alloc(pool);
96 printf("Warning: Freeing of pool %u had too many mbufs (%d)\n", pool, elements);
98 printf("Warning: Freeing of pool %u is missing %d mbufs\n", pool, elements);