Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 25 of 111) sorted by relevance

12345

/dpdk/app/test/
H A Dtest_graph_perf.c296 ename[edges] = malloc(sizeof(char) * RTE_NODE_NAMESIZE); in graph_node_count_edges()
349 malloc(sizeof(struct test_node_data) * in graph_init()
356 node_patterns = malloc(sizeof(char *) * in graph_init()
363 src_nodes = malloc(sizeof(rte_node_t) * nb_srcs); in graph_init()
369 snk_nodes = malloc(sizeof(rte_node_t) * nb_sinks); in graph_init()
375 node_map = malloc(sizeof(rte_node_t *) * stages + in graph_init()
393 malloc(RTE_NODE_NAMESIZE); in graph_init()
454 node_patterns[graph_data->nb_nodes] = malloc(RTE_NODE_NAMESIZE); in graph_init()
481 ename[edges] = malloc(sizeof(char) * RTE_NODE_NAMESIZE); in graph_init()
513 node_patterns[graph_data->nb_nodes] = malloc(RTE_NODE_NAMESIZE); in graph_init()
[all …]
/dpdk/app/graph/
H A Dcli.c79 msg_in = malloc(msg_in_len_max + 1); in cli_script_process()
80 msg_out = malloc(msg_out_len_max + 1); in cli_script_process()
H A Dl3fwd.c40 node_patterns = malloc((ETHDEV_RX_QUEUE_PER_LCORE_MAX + nb_patterns) * in l3fwd_pattern_configure()
H A Dl2fwd.c34 node_patterns = malloc((ETHDEV_RX_QUEUE_PER_LCORE_MAX + nb_patterns) * in l2fwd_pattern_configure()
H A Dip4_route.c87 ipv4route = malloc(sizeof(struct route_ipv4_config)); in route_ip4_add()
/dpdk/lib/metrics/
H A Drte_metrics_telemetry.c45 xstats_names = malloc(sizeof(*xstats_names) * num_xstats); in rte_metrics_tel_reg_port_ethdev_to_metrics()
46 eth_xstats_names = malloc(sizeof(struct rte_eth_xstat_name) in rte_metrics_tel_reg_port_ethdev_to_metrics()
127 eth_xstats = malloc(sizeof(struct rte_eth_xstat) * num_xstats); in rte_metrics_tel_update_metrics_ethdev()
171 metrics = malloc(sizeof(struct rte_metric_value) * num_metrics); in rte_metrics_tel_format_port()
172 names = malloc(sizeof(struct rte_metric_name) * num_metrics); in rte_metrics_tel_format_port()
346 names = malloc(sizeof(struct rte_metric_name) * num_metrics); in rte_metrics_tel_stat_names_to_ids()
/dpdk/examples/l3fwd/
H A Dl3fwd_event_internal_port.c104 evt_rsrc->evp.event_p_id = (uint8_t *)malloc(sizeof(uint8_t) * in l3fwd_event_port_setup_internal_port()
182 evt_rsrc->evq.event_q_id = (uint8_t *)malloc(sizeof(uint8_t) * in l3fwd_event_queue_setup_internal_port()
219 evt_rsrc->rx_adptr.rx_adptr = (uint8_t *)malloc(sizeof(uint8_t) * in l3fwd_rx_tx_adapter_setup_internal_port()
280 evt_rsrc->tx_adptr.tx_adptr = (uint8_t *)malloc(sizeof(uint8_t) * in l3fwd_rx_tx_adapter_setup_internal_port()
H A Dl3fwd_event_generic.c105 evt_rsrc->evp.event_p_id = (uint8_t *)malloc(sizeof(uint8_t) * in l3fwd_event_port_setup_generic()
171 evt_rsrc->evq.event_q_id = (uint8_t *)malloc(sizeof(uint8_t) * in l3fwd_event_queue_setup_generic()
218 evt_rsrc->rx_adptr.rx_adptr = (uint8_t *)malloc(sizeof(uint8_t) * in l3fwd_rx_tx_adapter_setup_generic()
261 evt_rsrc->tx_adptr.tx_adptr = (uint8_t *)malloc(sizeof(uint8_t) * in l3fwd_rx_tx_adapter_setup_generic()
/dpdk/examples/l2fwd-event/
H A Dl2fwd_event_internal_port.c113 evt_rsrc->evp.event_p_id = (uint8_t *)malloc(sizeof(uint8_t) * in l2fwd_event_port_setup_internal_port()
190 evt_rsrc->evq.event_q_id = (uint8_t *)malloc(sizeof(uint8_t) * in l2fwd_event_queue_setup_internal_port()
227 evt_rsrc->rx_adptr.rx_adptr = (uint8_t *)malloc(sizeof(uint8_t) * in l2fwd_rx_tx_adapter_setup_internal_port()
286 evt_rsrc->tx_adptr.tx_adptr = (uint8_t *)malloc(sizeof(uint8_t) * in l2fwd_rx_tx_adapter_setup_internal_port()
H A Dl2fwd_event_generic.c118 evt_rsrc->evp.event_p_id = (uint8_t *)malloc(sizeof(uint8_t) * in l2fwd_event_port_setup_generic()
187 evt_rsrc->evq.event_q_id = (uint8_t *)malloc(sizeof(uint8_t) * in l2fwd_event_queue_setup_generic()
235 evt_rsrc->rx_adptr.rx_adptr = (uint8_t *)malloc(sizeof(uint8_t) * in l2fwd_rx_tx_adapter_setup_generic()
299 evt_rsrc->tx_adptr.tx_adptr = (uint8_t *)malloc(sizeof(uint8_t) * in l2fwd_rx_tx_adapter_setup_generic()
/dpdk/lib/eal/windows/
H A Deal_lcore.c76 infos = malloc(infos_size); in eal_query_group_affinity()
175 infos = malloc(infos_size); in eal_create_cpu_map()
/dpdk/lib/eal/windows/include/
H A Ddirent.h168 dirp = (_WDIR *)malloc(sizeof(struct _WDIR)); in _wopendir()
191 dirp->patt = (wchar_t *)malloc(sizeof(wchar_t) * n + 16); in _wopendir()
389 dirp = (DIR *)malloc(sizeof(struct DIR)); in opendir()
/dpdk/examples/ntb/
H A Dntb_fwd.c217 malloc(sizeof(struct rte_rawdev_buf)); in cmd_send_parsed()
304 malloc(sizeof(struct rte_rawdev_buf)); in start_polling_recv_file()
371 malloc(sizeof(struct rte_rawdev_buf)); in start_iofwd_per_lcore()
442 malloc(sizeof(struct rte_rawdev_buf)); in start_rxonly_per_lcore()
483 malloc(sizeof(struct rte_rawdev_buf)); in start_txonly_per_lcore()
776 ids = malloc(sizeof(uint32_t) * nb_ids); in ntb_stats_clear()
834 xstats_names = malloc(sizeof(struct rte_rawdev_xstats_name) * nb_ids); in ntb_stats_display()
845 ids = malloc(sizeof(uint32_t) * nb_ids); in ntb_stats_display()
848 values = malloc(sizeof(uint64_t) * nb_ids); in ntb_stats_display()
/dpdk/drivers/net/virtio/virtio_user/
H A Dvhost_kernel.c226 vm = malloc(sizeof(struct vhost_memory_kernel) + in vhost_kernel_set_memory_table()
404 data = malloc(sizeof(*data)); in vhost_kernel_setup()
410 data->vhostfds = malloc(dev->max_queue_pairs * sizeof(int)); in vhost_kernel_setup()
415 data->tapfds = malloc(dev->max_queue_pairs * sizeof(int)); in vhost_kernel_setup()
/dpdk/drivers/raw/ifpga/base/
H A Difpga_compat.h25 #define malloc(size) opae_malloc(size) macro
/dpdk/lib/telemetry/
H A Dtelemetry_json.h58 newbuf = malloc(len); in __json_snprintf()
149 tmp = malloc(len); in __json_format_str()
/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_cli.c274 cwd = malloc(MAX_LINE_SIZE); in cmd_softnic_pipeline_libbuild()
310 obj_file = malloc(length); in cmd_softnic_pipeline_libbuild()
311 log_file = malloc(length + 2); in cmd_softnic_pipeline_libbuild()
327 buffer = malloc(MAX_LINE_SIZE); in cmd_softnic_pipeline_libbuild()
471 line = malloc(MAX_LINE_SIZE); in pipeline_table_entries_add()
569 line = malloc(MAX_LINE_SIZE); in pipeline_table_entries_delete()
667 line = malloc(MAX_LINE_SIZE); in pipeline_table_default_entry_add()
1014 line = malloc(MAX_LINE_SIZE); in pipeline_selector_group_members_add()
1125 line = malloc(MAX_LINE_SIZE); in pipeline_selector_group_members_delete()
1278 line = malloc(MAX_LINE_SIZE); in pipeline_learner_default_entry_add()
[all …]
/dpdk/drivers/net/pcap/
H A Dpcap_osdep_windows.c83 info = (IP_ADAPTER_ADDRESSES *)malloc(size); in osdep_iface_mac_get()
/dpdk/drivers/bus/auxiliary/linux/
H A Dauxiliary.c28 dev = malloc(sizeof(*dev)); in auxiliary_scan_one()
/dpdk/lib/eal/common/
H A Deal_common_memalloc.c174 entry = malloc(sizeof(*entry)); in eal_memalloc_mem_event_callback_register()
280 entry = malloc(sizeof(*entry)); in eal_memalloc_mem_alloc_validator_register()
/dpdk/drivers/common/mlx5/windows/
H A Dmlx5_glue.c73 mlx5_ctx = malloc((sizeof(struct mlx5_context))); in mlx5_glue_devx_open_device()
136 devx_obj = malloc((sizeof(*devx_obj))); in mlx5_glue_devx_obj_create()
/dpdk/examples/pipeline/
H A Dcli.c164 line = malloc(MAX_LINE_SIZE); in parse_table_entry()
645 cwd = malloc(MAX_LINE_SIZE); in cmd_pipeline_libbuild()
681 obj_file = malloc(length); in cmd_pipeline_libbuild()
682 log_file = malloc(length + 2); in cmd_pipeline_libbuild()
698 buffer = malloc(MAX_LINE_SIZE); in cmd_pipeline_libbuild()
854 line = malloc(MAX_LINE_SIZE); in pipeline_table_entries_add()
952 line = malloc(MAX_LINE_SIZE); in pipeline_table_entries_delete()
1050 line = malloc(MAX_LINE_SIZE); in pipeline_table_default_entry_add()
1397 line = malloc(MAX_LINE_SIZE); in pipeline_selector_group_members_add()
1508 line = malloc(MAX_LINE_SIZ in pipeline_selector_group_members_delete()
[all...]
/dpdk/lib/log/
H A Dlog.c204 opt_ll = malloc(sizeof(*opt_ll)); in log_save_level()
429 sorted_types = malloc(total_size); in rte_log_list_types()
/dpdk/lib/graph/
H A Dgraph_ops.c116 queue = malloc(sz); in graph_bfs()
/dpdk/drivers/bus/pci/windows/
H A Dpci_netuio.c97 dev_ifx_detail = malloc(required_size); in get_netuio_device_interface_detail()

12345