Searched refs:free (Results 1 - 25 of 69) sorted by relevance

123

/deb_dpdk/drivers/net/virtio/
H A Dvirtio_rxtx_simple.h90 /* TODO: vq->tx_free_cnt could mean num of free slots so we could avoid shift */
96 struct rte_mbuf *m, *free[VIRTIO_TX_MAX_FREE_BUF_SZ]; local
103 free[0] = m;
109 if (likely(m->pool == free[0]->pool))
110 free[nb_free++] = m;
112 rte_mempool_put_bulk(free[0]->pool,
113 (void **)free,
114 RTE_MIN(RTE_DIM(free),
116 free[0] = m;
121 rte_mempool_put_bulk(free[
[all...]
/deb_dpdk/lib/librte_eal/common/
H A Deal_common_devargs.c74 free(*drvname);
119 free(buf);
124 free(buf);
126 free(devargs->args);
127 free(devargs);
/deb_dpdk/drivers/net/i40e/
H A Di40e_rxtx_vec_common.h71 /* free up last mbuf */
113 struct rte_mbuf *m, *free[RTE_I40E_TX_MAX_FREE_BUF_SZ]; local
123 /* first buffer to free from S/W ring is at index
129 free[0] = m;
134 if (likely(m->pool == free[0]->pool)) {
135 free[nb_free++] = m;
137 rte_mempool_put_bulk(free[0]->pool,
138 (void *)free,
140 free[0] = m;
145 rte_mempool_put_bulk(free[
[all...]
/deb_dpdk/lib/librte_mempool/
H A Drte_mempool_ops.c84 ops->free = h->free;
104 /* wrapper to free an external pool ops. */
111 if (ops->free == NULL)
113 ops->free(mp);
H A Drte_mempool_ring.c125 .free = common_ring_free,
134 .free = common_ring_free,
143 .free = common_ring_free,
152 .free = common_ring_free,
H A Drte_mempool_stack.c141 .free = stack_free,
/deb_dpdk/examples/vhost_xen/
H A Dxenstore_parse.c206 free(gntnode->gnt_info);
207 free(gntnode);
283 free(buf);
284 free(gref_list);
288 free(gnt);
289 free(gntnode);
290 free(gref_list);
291 free(buf);
303 * Pointer to pfn array, caller should free this array
307 * Pointer to index array, used to release grefs when to free thi
[all...]
/deb_dpdk/app/test/
H A Dresource.c149 free(p);
159 free(p);
199 free(p);
205 free(p);
235 free(p);
285 free(p);
289 free(p);
294 free(p);
H A Dtest_devargs.c51 free(devargs->args);
52 free(devargs);
/deb_dpdk/drivers/net/ixgbe/
H A Dixgbe_rxtx_vec_common.h70 /* free up last mbuf */
112 struct rte_mbuf *m, *free[RTE_IXGBE_TX_MAX_FREE_BUF_SZ]; local
122 * first buffer to free from S/W ring is at index
128 free[0] = m;
133 if (likely(m->pool == free[0]->pool))
134 free[nb_free++] = m;
136 rte_mempool_put_bulk(free[0]->pool,
137 (void *)free, nb_free);
138 free[0] = m;
143 rte_mempool_put_bulk(free[
[all...]
/deb_dpdk/lib/librte_ip_frag/
H A Dip_frag_internal.c198 /* free all fragments, invalidate the entry. */
256 /* free associated resources. */
269 * If the entry is stale, then free and reuse it.
275 struct ip_frag_pkt *pkt, *free, *stale, *lru; local
282 free = NULL;
288 if ((pkt = ip_frag_lookup(tbl, key, tms, &free, &stale)) == NULL) {
290 /*timed-out entry, free and invalidate it*/
293 free = stale;
296 * we found a free entry, check if we can use it.
297 * If we run out of free entrie
334 ip_frag_lookup(struct rte_ip_frag_tbl *tbl, const struct ip_frag_key *key, uint64_t tms, struct ip_frag_pkt **free, struct ip_frag_pkt **stale) argument
[all...]
/deb_dpdk/drivers/net/xenvirt/
H A Drte_mempool_gntalloc.c232 free(gnt_arr);
236 free(gref_arr);
237 free(pa_arr);
276 free(mgi.gref_arr);
277 free(mgi.pa_arr);
H A Drte_xen_lib.c172 free(arg);
182 free(arg);
194 free(arg);
325 free(dompath);
389 free(gref_tmp);
416 free(gref_tmp);
/deb_dpdk/lib/librte_eal/linuxapp/eal/
H A Deal_pci.c293 free(dev);
301 free(dev);
310 free(dev);
319 free(dev);
328 free(dev);
357 free(dev);
367 free(dev);
376 free(dev);
413 free(dev);
477 free(buf_cop
[all...]
H A Deal_debug.c66 free(symb);
/deb_dpdk/lib/librte_vhost/
H A Dsocket.c212 free(conn);
231 free(conn);
275 free(conn);
426 free(reconn);
534 free(vsocket->path);
535 free(vsocket);
545 free(vsocket->path);
546 free(vsocket);
573 free(reconn);
626 "free connf
[all...]
/deb_dpdk/lib/librte_kvargs/
H A Drte_kvargs.c176 /* free the rte_kvargs structure */
183 free(kvlist->str);
184 free(kvlist);
/deb_dpdk/lib/librte_cmdline/
H A Dcmdline.c149 free(cl);
172 free(cl);
203 free(buf);
210 free(buf);
/deb_dpdk/lib/librte_eal/bsdapp/eal/
H A Deal_debug.c66 free(symb);
/deb_dpdk/examples/ip_pipeline/pipeline/
H A Dpipeline_flow_classification.c1480 free(keys);
1486 free(port_ids);
1487 free(keys);
1499 free(flow_ids);
1500 free(port_ids);
1501 free(keys);
1514 free(flow_ids);
1515 free(port_ids);
1516 free(keys);
1544 free(key
[all...]
H A Dpipeline_firewall.c1145 free(keys);
1152 free(priorities);
1153 free(keys);
1165 free(port_ids);
1166 free(priorities);
1167 free(keys);
1180 free(keys);
1181 free(priorities);
1182 free(port_ids);
1331 free(key
[all...]
/deb_dpdk/drivers/net/fm10k/
H A Dfm10k_rxtx.c414 * @txep: software desc ring index that starts to free
415 * @num: number of descs to free
420 struct rte_mbuf *m, *free[RTE_FM10K_TX_MAX_FREE_BUF_SZ]; local
429 free[0] = m;
434 if (likely(m->pool == free[0]->pool))
435 free[nb_free++] = m;
437 rte_mempool_put_bulk(free[0]->pool,
438 (void *)free, nb_free);
439 free[0] = m;
445 rte_mempool_put_bulk(free[
[all...]
/deb_dpdk/lib/librte_kni/
H A Drte_kni.c125 struct rte_kni_memzone_slot *free; /**< First empty slot */ member in struct:rte_kni_memzone_pool
158 if (!kni_memzone_pool.free) {
163 slot = kni_memzone_pool.free;
164 kni_memzone_pool.free = slot->next;
167 if (!kni_memzone_pool.free)
180 if (kni_memzone_pool.free)
183 kni_memzone_pool.free = slot;
238 kni_memzone_pool.free = &kni_memzone_pool.slots[0];
509 RTE_LOG(ERR, KNI, "Fail to free all Rx-q items\n");
590 /* Get mbufs from free_q and then free the
[all...]
/deb_dpdk/lib/librte_acl/
H A Dtb_mem.c104 free(block);
/deb_dpdk/app/proc_info/
H A Dmain.c265 free(xstats);
292 free(xstats);
293 free(xstats_names);

Completed in 26 milliseconds

123