Home
last modified time | relevance | path

Searched refs:NULL (Results 1 – 25 of 1680) sorted by relevance

12345678910>>...68

/dpdk/app/test/
H A Dtest_cmdline_lib.c60 if (cl == NULL) { in test_cmdline_parse_fns()
96 rdl = rdline_new(NULL, v, c, NULL); in test_cmdline_rdline_fns()
97 if (rdl != NULL) in test_cmdline_rdline_fns()
99 rdl = rdline_new(wc, NULL, c, NULL); in test_cmdline_rdline_fns()
102 rdl = rdline_new(wc, v, NULL, NULL); in test_cmdline_rdline_fns()
107 if (rdline_get_buffer(NULL) != NULL) in test_cmdline_rdline_fns()
113 if (rdline_get_history_item(NULL, 0) != NULL) in test_cmdline_rdline_fns()
159 if (cl != NULL) in test_cmdline_socket_fns()
162 if (cl != NULL) in test_cmdline_socket_fns()
165 if (cl != NULL) in test_cmdline_socket_fns()
[all …]
H A Dtest_rib.c52 struct rte_rib *rib = NULL; in test_create_invalid()
60 RTE_TEST_ASSERT(rib == NULL, in test_create_invalid()
65 RTE_TEST_ASSERT(rib == NULL, in test_create_invalid()
70 RTE_TEST_ASSERT(rib == NULL, in test_create_invalid()
90 struct rte_rib *rib = NULL; in test_multiple_create()
125 rte_rib_free(NULL); in test_free_null()
333 node = NULL; in test_tree_traversal()
345 .setup = NULL,
346 .teardown = NULL,
360 .setup = NULL,
[all …]
H A Dtest_rib6.c52 struct rte_rib6 *rib = NULL; in test_create_invalid()
60 RTE_TEST_ASSERT(rib == NULL, in test_create_invalid()
65 RTE_TEST_ASSERT(rib == NULL, in test_create_invalid()
70 RTE_TEST_ASSERT(rib == NULL, in test_create_invalid()
76 RTE_TEST_ASSERT(rib == NULL, in test_create_invalid()
125 rte_rib6_free(NULL); in test_free_null()
339 node = NULL; in test_tree_traversal()
350 .setup = NULL,
351 .teardown = NULL,
365 .setup = NULL,
[all …]
H A Dtest_table_tables.c148 if (table == NULL) in test_table_stub()
190 if (table != NULL) in test_table_array()
196 if (table != NULL) in test_table_array()
202 if (table != NULL) in test_table_array()
209 if (table == NULL) in test_table_array()
215 if (table == NULL) in test_table_array()
572 NULL); in test_table_lpm_ipv6()
582 NULL); in test_table_lpm_ipv6()
588 NULL); in test_table_lpm_ipv6()
594 NULL); in test_table_lpm_ipv6()
[all …]
H A Dtest_kvargs.c44 if (kvlist == NULL) { in test_kvargs_parsing()
80 valid_keys = NULL; in test_valid_kvargs()
82 if (kvlist == NULL) { in test_valid_kvargs()
90 valid_keys = NULL; in test_valid_kvargs()
92 if (kvlist == NULL) { in test_valid_kvargs()
152 if (kvlist == NULL) { in test_valid_kvargs()
176 if (kvlist == NULL) { in test_valid_kvargs()
226 valid_keys = NULL; in test_valid_kvargs()
238 if (valid_keys != NULL && *valid_keys != NULL) { in test_valid_kvargs()
255 NULL }; in test_invalid_kvargs()
[all …]
H A Dtest_vdev.c19 NULL,
36 if (kvlist == NULL) in cmp_dev_match()
58 return NULL; in get_matching_vdev()
76 if (vdev_bus == NULL) in test_vdev_bus()
85 if (dev0 == NULL) { in test_vdev_bus()
96 if (dev1 == NULL) { in test_vdev_bus()
115 if (dev != NULL) { in test_vdev_bus()
135 dev0 = NULL; in test_vdev_bus()
137 dev1 = NULL; in test_vdev_bus()
139 if (dev0 != NULL) { in test_vdev_bus()
[all …]
H A Dtest_reorder.c39 .p = NULL,
40 .b = NULL
122 struct rte_reorder_buffer *b1 = NULL, *b2 = NULL; in test_reorder_free()
193 bufs[4] = NULL; in test_reorder_insert()
204 bufs[5] = NULL; in test_reorder_insert()
215 bufs[6] = NULL; in test_reorder_insert()
271 bufs[1] = NULL; in test_reorder_drain()
288 bufs[2] = NULL; in test_reorder_drain()
289 bufs[3] = NULL; in test_reorder_drain()
296 bufs[4] = NULL; in test_reorder_drain()
[all …]
H A Dtest_mbuf.c303 m = NULL; in test_one_pktmbuf()
411 m = NULL; in testclone_testupdate_testdetach()
564 m = NULL; in test_pktmbuf_copy()
1273 struct rte_mbuf *m = NULL, *mbuf = NULL; in test_mbuf_linearize()
1738 m = NULL; in test_mbuf_validate_tx_offload()
2028 NULL); in test_pktmbuf_read_from_offset()
2038 NULL) != NULL) in test_pktmbuf_read_from_offset()
2044 NULL) != NULL) in test_pktmbuf_read_from_offset()
2713 struct rte_mbuf *m0 = NULL, *m1 = NULL, *m2 = NULL; in test_nb_segs_and_next_reset()
2725 if (m0 == NULL || m1 == NULL || m2 == NULL) in test_nb_segs_and_next_reset()
[all …]
H A Dtest_mempool.c198 NULL, NULL, in test_mempool_creation_with_exceeded_cache_size()
216 NULL, NULL, in test_mempool_creation_with_invalid_flags()
217 NULL, NULL, in test_mempool_creation_with_invalid_flags()
445 NULL, NULL, in test_mempool_same_name_twice_creation()
446 NULL, NULL, in test_mempool_same_name_twice_creation()
454 NULL, NULL, in test_mempool_same_name_twice_creation()
455 NULL, NULL, in test_mempool_same_name_twice_creation()
812 RTE_BAD_IOVA, block_size, NULL, NULL); in test_mempool_flag_non_io_unset_when_populated_with_valid_iova()
860 NULL, NULL, in test_mempool()
873 NULL, NULL, in test_mempool()
[all …]
H A Dtest_func_reentrancy.c115 if (rp != NULL) in ring_create_lookup()
123 if (NULL == rp) in ring_create_lookup()
177 NULL, NULL, in mempool_create_lookup()
180 if (mp != NULL) in mempool_create_lookup()
189 NULL, NULL, in mempool_create_lookup()
192 if (NULL == mp) in mempool_create_lookup()
232 .name = NULL, in hash_create_free()
300 .name = NULL, in fbk_create_free()
351 if (lpm != NULL) in lpm_clean()
380 if (lpm != NULL) in lpm_create_free()
[all …]
/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_rte_handler_tbl.c18 .proto_act_func = NULL
26 .proto_act_func = NULL
38 .proto_act_func = NULL
42 .proto_act_func = NULL
74 .proto_act_func = NULL
78 .proto_act_func = NULL
82 .proto_act_func = NULL
86 .proto_act_func = NULL
90 .proto_act_func = NULL
94 .proto_act_func = NULL
[all …]
/dpdk/drivers/net/bnxt/tf_core/
H A Dtf_device_p4.c187 if (max_types == NULL || tfp == NULL) in tf_dev_p4_get_max_types()
216 if (resource_str == NULL) in tf_dev_p4_get_resource_str()
467 .tf_dev_free_ident = NULL,
473 .tf_dev_alloc_tbl = NULL,
476 .tf_dev_free_tbl = NULL,
478 .tf_dev_set_tbl = NULL,
481 .tf_dev_get_tbl = NULL,
488 .tf_dev_free_tcam = NULL,
490 .tf_dev_set_tcam = NULL,
491 .tf_dev_get_tcam = NULL,
[all …]
/dpdk/examples/ip_pipeline/
H A Daction.c33 return NULL; in port_in_action_profile_find()
39 return NULL; in port_in_action_profile_find()
54 return NULL; in port_in_action_profile_create()
100 return NULL; in port_in_action_profile_create()
127 return NULL; in port_in_action_profile_create()
134 return NULL; in port_in_action_profile_create()
173 return NULL; in table_action_profile_find()
241 NULL); in table_action_profile_create()
328 NULL); in table_action_profile_create()
350 NULL); in table_action_profile_create()
[all …]
H A Dlink.c29 if (name == NULL) in link_find()
30 return NULL; in link_find()
36 return NULL; in link_find()
119 return NULL; in link_create()
127 return NULL; in link_create()
133 return NULL; in link_create()
137 return NULL; in link_create()
177 return NULL; in link_create()
192 NULL, in link_create()
206 NULL); in link_create()
[all …]
/dpdk/lib/rib/
H A Drte_rib.c85 return NULL; in node_alloc()
104 return NULL; in rte_rib_lookup()
122 return NULL; in rte_rib_lookup_parent()
144 return NULL; in __rib_lookup_exact()
216 if ((cur->left != NULL) && (cur->right != NULL)) in rte_rib_remove()
345 if ((node == NULL) || (ip == NULL)) { in rte_rib_get_ip()
356 if ((node == NULL) || (depth == NULL)) { in rte_rib_get_depth()
367 return (node == NULL) ? NULL : &node->ext[0]; in rte_rib_get_ext()
373 if ((node == NULL) || (nh == NULL)) { in rte_rib_get_nh()
410 NULL, NULL, NULL, NULL, socket_id, 0); in rte_rib_create()
[all …]
H A Drte_rib6.c105 return NULL; in get_nxt_node()
118 return NULL; in node_alloc()
139 return NULL; in rte_rib6_lookup()
196 return NULL; in rte_rib6_lookup_exact()
263 if ((cur->left != NULL) && (cur->right != NULL)) in rte_rib6_remove()
296 if (unlikely((rib == NULL) || (ip == NULL) || in rte_rib6_insert()
416 if ((node == NULL) || (ip == NULL)) { in rte_rib6_get_ip()
427 if ((node == NULL) || (depth == NULL)) { in rte_rib6_get_depth()
438 return (node == NULL) ? NULL : &node->ext[0]; in rte_rib6_get_ext()
444 if ((node == NULL) || (nh == NULL)) { in rte_rib6_get_nh()
[all …]
/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_action.c47 return NULL; in softnic_port_in_action_profile_find()
53 return NULL; in softnic_port_in_action_profile_find()
69 return NULL; in softnic_port_in_action_profile_create()
116 return NULL; in softnic_port_in_action_profile_create()
143 return NULL; in softnic_port_in_action_profile_create()
150 return NULL; in softnic_port_in_action_profile_create()
204 return NULL; in softnic_table_action_profile_find()
273 NULL); in softnic_table_action_profile_create()
360 NULL); in softnic_table_action_profile_create()
371 NULL); in softnic_table_action_profile_create()
[all …]
H A Drte_eth_softnic_meter.c97 NULL, in meter_profile_check()
106 NULL, in meter_profile_check()
114 NULL, in meter_profile_check()
122 NULL, in meter_profile_check()
130 NULL, in meter_profile_check()
159 NULL, in pmd_mtr_meter_profile_add()
187 NULL, in pmd_mtr_meter_profile_delete()
195 NULL, in pmd_mtr_meter_profile_delete()
238 NULL, in pmd_mtr_meter_policy_add()
247 NULL, in pmd_mtr_meter_policy_add()
[all …]
/dpdk/lib/mbuf/
H A Drte_mbuf.c103 m->next = NULL; in rte_pktmbuf_init()
233 return NULL; in rte_pktmbuf_pool_create_by_ops()
244 return NULL; in rte_pktmbuf_pool_create_by_ops()
253 return NULL; in rte_pktmbuf_pool_create_by_ops()
261 return NULL; in rte_pktmbuf_pool_create_by_ops()
299 return NULL; in rte_pktmbuf_pool_create_extbuf()
322 return NULL; in rte_pktmbuf_pool_create_extbuf()
336 return NULL; in rte_pktmbuf_pool_create_extbuf()
344 return NULL; in rte_pktmbuf_pool_create_extbuf()
809 NULL }, in rte_get_rx_ol_flag_list()
[all …]
/dpdk/examples/pipeline/
H A Dobj.c77 return NULL; in mempool_create()
88 if (m == NULL) in mempool_create()
89 return NULL; in mempool_create()
95 return NULL; in mempool_create()
115 return NULL; in mempool_find()
121 return NULL; in mempool_find()
201 return NULL; in link_create()
215 return NULL; in link_create()
274 NULL, in link_create()
288 NULL); in link_create()
[all …]
/dpdk/lib/eal/common/
H A Deal_common_dev.c132 *new_dev = NULL; in local_dev_probe()
134 if (da == NULL) in local_dev_probe()
158 if (dev == NULL) { in local_dev_probe()
441 if (device_name == NULL && event_cb->dev_name == NULL) in rte_dev_event_callback_register()
443 if (device_name == NULL || event_cb->dev_name == NULL) in rte_dev_event_callback_register()
509 if (device_name != NULL && event_cb->dev_name != NULL) { in rte_dev_event_callback_unregister()
594 if (bus == NULL && cls == NULL) { in rte_dev_iterator_init()
600 if (bus != NULL && bus->dev_iterate == NULL) { in rte_dev_iterator_init()
605 if (cls != NULL && cls->dev_iterate == NULL) { in rte_dev_iterator_init()
731 if (it->bus_str == NULL && it->cls_str == NULL) { in rte_dev_iterator_next()
[all …]
H A Deal_common_devargs.c62 { RTE_DEVARGS_KEY_BUS "=", NULL, NULL, }, in rte_devargs_layers_parse()
63 { RTE_DEVARGS_KEY_CLASS "=", NULL, NULL, }, in rte_devargs_layers_parse()
64 { RTE_DEVARGS_KEY_DRIVER "=", NULL, NULL, }, in rte_devargs_layers_parse()
99 if (s == NULL) in rte_devargs_layers_parse()
190 if (da == NULL) in rte_devargs_parse()
196 if (da->bus != NULL || da->cls != NULL) in rte_devargs_parse()
256 if (da == NULL) in rte_devargs_parsef()
285 if (da == NULL) in rte_devargs_reset()
297 if (*da == NULL || (*da)->bus == NULL) in rte_devargs_insert()
364 if (devargs == NULL || devargs->bus == NULL) in rte_devargs_remove()
[all …]
/dpdk/lib/gpudev/
H A Dgpudev.c131 return NULL; in gpu_get_by_id()
143 return NULL; in rte_gpu_get_by_name()
151 return NULL; in rte_gpu_get_by_name()
186 return NULL; in rte_gpu_allocate()
191 return NULL; in rte_gpu_allocate()
196 return NULL; in rte_gpu_allocate()
200 return NULL; in rte_gpu_allocate()
205 return NULL; in rte_gpu_allocate()
211 return NULL; in rte_gpu_allocate()
223 return NULL; in rte_gpu_allocate()
[all …]
/dpdk/drivers/event/dlb2/pf/base/
H A Ddlb2_osdep_bitmap.h57 if (bm == NULL) in dlb2_bitmap_alloc()
113 if (bitmap == NULL || bitmap->map == NULL) in dlb2_bitmap_fill()
136 if (bitmap == NULL || bitmap->map == NULL) in dlb2_bitmap_zero()
159 if (bitmap == NULL || bitmap->map == NULL) in dlb2_bitmap_set()
189 if (bitmap == NULL || bitmap->map == NULL) in dlb2_bitmap_set_range()
216 if (bitmap == NULL || bitmap->map == NULL) in dlb2_bitmap_clear()
246 if (bitmap == NULL || bitmap->map == NULL) in dlb2_bitmap_clear_range()
277 if (bitmap == NULL || bitmap->map == NULL || len == 0) in dlb2_bitmap_find_set_bit_range()
418 if (dest == NULL || dest->map == NULL || in dlb2_bitmap_or()
419 src1 == NULL || src1->map == NULL || in dlb2_bitmap_or()
[all …]
/dpdk/lib/fib/
H A Drte_fib6.c121 if ((fib == NULL) || (ip == NULL) || (fib->modify == NULL) || in rte_fib6_add()
131 if ((fib == NULL) || (ip == NULL) || (fib->modify == NULL) || in rte_fib6_delete()
142 FIB6_RETURN_IF_TRUE((fib == NULL) || (ips == NULL) || in rte_fib6_lookup_bulk()
143 (next_hops == NULL) || (fib->lookup == NULL), -EINVAL); in rte_fib6_lookup_bulk()
163 return NULL; in rte_fib6_create()
173 return NULL; in rte_fib6_create()
187 fib = NULL; in rte_fib6_create()
239 return NULL; in rte_fib6_create()
261 return NULL; in rte_fib6_find_existing()
312 return (fib == NULL) ? NULL : fib->dp; in rte_fib6_get_dp()
[all …]

12345678910>>...68