Lines Matching refs:pool
49 * Fill the supplied hardware pool with mbufs
51 * @param pool Pool to allocate an mbuf for
52 * @param size Size of the buffer needed for the pool
55 int cvm_oct_mem_fill_fpa(int pool, int size, int elements)
63 printf("Failed to allocate mbuf for hardware pool %d\n", pool);
69 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);