Lines Matching defs:pool
50 * Fill the supplied hardware pool with mbufs
52 * @param pool Pool to allocate an mbuf for
53 * @param size Size of the buffer needed for the pool
56 int cvm_oct_mem_fill_fpa(int pool, int size, int elements)
64 printf("Failed to allocate mbuf for hardware pool %d\n", pool);
70 cvmx_fpa_free(m->m_data, pool, DONT_WRITEBACK(size/128));
77 * Free the supplied hardware pool of mbufs
79 * @param pool Pool to allocate an mbuf for
80 * @param size Size of the buffer needed for the pool
83 void cvm_oct_mem_empty_fpa(int pool, int size, int elements)
88 memory = cvmx_fpa_alloc(pool);
97 printf("Warning: Freeing of pool %u had too many mbufs (%d)\n", pool, elements);
99 printf("Warning: Freeing of pool %u is missing %d mbufs\n", pool, elements);