Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 584) sorted by relevance

12345678910>>...24

/dpdk/drivers/bus/dpaa/base/qbman/
H A Ddpaa_alloc.c18 void bman_release_bpid_range(u32 bpid, u32 count) in bman_release_bpid_range() argument
20 process_release(dpaa_id_bpid, bpid, count); in bman_release_bpid_range()
23 int bman_reserve_bpid_range(u32 bpid, u32 count) in bman_reserve_bpid_range() argument
25 return process_reserve(dpaa_id_bpid, bpid, count); in bman_reserve_bpid_range()
33 void qman_release_fqid_range(u32 fqid, u32 count) in qman_release_fqid_range() argument
35 process_release(dpaa_id_fqid, fqid, count); in qman_release_fqid_range()
40 return process_reserve(dpaa_id_fqid, fqid, count); in qman_reserve_fqid_range()
48 void qman_release_pool_range(u32 pool, u32 count) in qman_release_pool_range() argument
50 process_release(dpaa_id_qpool, pool, count); in qman_release_pool_range()
53 int qman_reserve_pool_range(u32 pool, u32 count) in qman_reserve_pool_range() argument
[all …]
/dpdk/drivers/common/cnxk/
H A Droc_nix_stats.c288 xstats[count].id = count; in roc_nix_xstats_get()
289 count++; in roc_nix_xstats_get()
294 xstats[count].id = count; in roc_nix_xstats_get()
295 count++; in roc_nix_xstats_get()
302 xstats[count].id = count; in roc_nix_xstats_get()
303 count++; in roc_nix_xstats_get()
322 xstats[count].id = count; in roc_nix_xstats_get()
329 xstats[count].id = count; in roc_nix_xstats_get()
346 xstats[count].id = count; in roc_nix_xstats_get()
353 xstats[count].id = count; in roc_nix_xstats_get()
[all …]
H A Droc_npa.h274 count = 0; in roc_npa_aura_batch_alloc_count()
282 count += status->count; in roc_npa_aura_batch_alloc_count()
285 return count; in roc_npa_aura_batch_alloc_count()
297 count = 0; in roc_npa_aura_batch_alloc_extract()
323 return count; in roc_npa_aura_batch_alloc_extract()
351 count = 0; in roc_npa_aura_op_batch_alloc()
377 count = 0; in roc_npa_aura_op_batch_alloc()
380 return count; in roc_npa_aura_op_batch_alloc()
660 count++; in roc_npa_aura_bulk_alloc()
673 count = 0; in roc_npa_aura_op_bulk_alloc()
[all …]
/dpdk/drivers/net/bnxt/tf_ulp/generic_templates/
H A Dulp_template_db_tbl.c432 .count = 2
440 .count = 128
448 .count = 2
464 .count = 2
472 .count = 128
480 .count = 2
496 .count = 2
504 .count = 128
512 .count = 2
528 .count = 2
[all …]
/dpdk/app/test/
H A Dtest_kvargs.c16 static unsigned count; variable
34 count ++; in check_handler()
97 count = 0; in test_valid_kvargs()
105 count); in test_valid_kvargs()
109 count = 0; in test_valid_kvargs()
118 count); in test_valid_kvargs()
126 count); in test_valid_kvargs()
134 count); in test_valid_kvargs()
142 count); in test_valid_kvargs()
166 count); in test_valid_kvargs()
[all …]
H A Dtest_atomic.c107 static rte_atomic64_t count; variable
155 rte_atomic64_inc(&count); in test_atomic_tas()
157 rte_atomic64_inc(&count); in test_atomic_tas()
159 rte_atomic64_inc(&count); in test_atomic_tas()
215 rte_atomic64_inc(&count); in test_atomic_inc_and_test()
218 rte_atomic64_inc(&count); in test_atomic_inc_and_test()
221 rte_atomic64_inc(&count); in test_atomic_inc_and_test()
242 rte_atomic64_inc(&count); in test_atomic_dec_and_test()
245 rte_atomic64_inc(&count); in test_atomic_dec_and_test()
248 rte_atomic64_inc(&count); in test_atomic_dec_and_test()
[all …]
H A Dtest_graph.c246 count = i + 1; in test_node0_worker()
251 if (count != i) { in test_node0_worker()
304 uint32_t count = 0; in test_node1_worker() local
325 count = i + 1; in test_node1_worker()
330 if (count != i) { in test_node1_worker()
357 uint32_t count = 0; in test_node2_worker() local
379 count = i + 1; in test_node2_worker()
384 if (count != i) { in test_node2_worker()
435 count = i + 1; in test_node3_worker()
440 if (count != i) { in test_node3_worker()
[all …]
/dpdk/drivers/net/ngbe/
H A Dngbe_regs_group.h14 uint32_t count; member
25 for (i = 0; i < reg->count; i++) in ngbe_read_regs()
27 return reg->count; in ngbe_read_regs()
33 int count = 0; in ngbe_regs_group_count() local
36 while (regs[i].count) in ngbe_regs_group_count()
37 count += regs[i++].count; in ngbe_regs_group_count()
38 return count; in ngbe_regs_group_count()
45 int count = 0; in ngbe_read_regs_group() local
49 while (regs[i].count) in ngbe_read_regs_group()
50 count += ngbe_read_regs(hw, &regs[i++], &reg_buf[count]); in ngbe_read_regs_group()
[all …]
/dpdk/drivers/net/txgbe/
H A Dtxgbe_regs_group.h14 uint32_t count; member
25 for (i = 0; i < reg->count; i++) in txgbe_read_regs()
28 return reg->count; in txgbe_read_regs()
34 int count = 0; in txgbe_regs_group_count() local
37 while (regs[i].count) in txgbe_regs_group_count()
38 count += regs[i++].count; in txgbe_regs_group_count()
39 return count; in txgbe_regs_group_count()
46 int count = 0; in txgbe_read_regs_group() local
50 while (regs[i].count) in txgbe_read_regs_group()
51 count += txgbe_read_regs(hw, &regs[i++], &reg_buf[count]); in txgbe_read_regs_group()
[all …]
/dpdk/drivers/raw/ifpga/base/
H A Dopae_at24_eeprom.c37 if (!count) in at24_eeprom_read()
38 return count; in at24_eeprom_read()
40 if (count > AT24C512_IO_LIMIT) in at24_eeprom_read()
43 len = count; in at24_eeprom_read()
45 while (count) { in at24_eeprom_read()
53 count -= len; in at24_eeprom_read()
67 if (!count) in at24_eeprom_write()
68 return count; in at24_eeprom_write()
73 len = count; in at24_eeprom_write()
75 while (count) { in at24_eeprom_write()
[all …]
/dpdk/drivers/net/hns3/
H A Dhns3_stats.c848 xstats[*count].id = *count; in hns3_queue_stats_get()
859 xstats[*count].id = *count; in hns3_queue_stats_get()
884 xstats[*count].id = *count; in hns3_rxq_dfx_stats_get()
909 xstats[*count].id = *count; in hns3_txq_dfx_stats_get()
957 xstats[*count].id = *count; in hns3_rxq_basic_stats_get()
988 xstats[*count].id = *count; in hns3_txq_basic_stats_get()
1080 xstats[count].id = count; in hns3_dev_xstats_get()
1098 xstats[count].id = count; in hns3_dev_xstats_get()
1099 count++; in hns3_dev_xstats_get()
1111 xstats[count].id = count; in hns3_dev_xstats_get()
[all …]
/dpdk/drivers/event/sw/
H A Diq_chunk.h22 return (iq->count == 0); in iq_empty()
28 return iq->count; in iq_count()
65 iq->count = 0; in iq_init()
72 iq->count++; in iq_enqueue()
90 iq->count--; in iq_pop()
111 uint16_t count) in iq_dequeue_burst() argument
116 count = RTE_MIN(count, iq_count(iq)); in iq_dequeue_burst()
150 iq->count -= total; in iq_dequeue_burst()
159 unsigned int count) in iq_put_back() argument
168 if (avail_space >= count) { in iq_put_back()
[all …]
/dpdk/examples/vm_power_manager/
H A Dchannel_monitor.c417 for (count = 0; count < pol->pkt.num_vcpu; count++) { in get_pcpu_to_control()
426 for (count = 0; count < pol->pkt.num_vcpu; count++) { in get_pcpu_to_control()
579 int count; in apply_traffic_profile() local
585 for (count = 0; count < pol->pkt.num_vcpu; count++) { in apply_traffic_profile()
591 for (count = 0; count < pol->pkt.num_vcpu; count++) { in apply_traffic_profile()
597 for (count = 0; count < pol->pkt.num_vcpu; count++) { in apply_traffic_profile()
623 for (count = 0; count < pol->pkt.num_vcpu; count++) { in apply_time_profile()
632 for (count = 0; count < pol->pkt.num_vcpu; count++) { in apply_time_profile()
654 for (count = 0; count < pol->pkt.num_vcpu; count++) { in apply_workload_profile()
660 for (count = 0; count < pol->pkt.num_vcpu; count++) { in apply_workload_profile()
[all …]
/dpdk/drivers/net/e1000/
H A Digb_regs.h11 uint32_t count; member
163 for (i = 0; i < reg->count; i++) { in igb_read_regs()
167 return reg->count; in igb_read_regs()
173 int count = 0; in igb_reg_group_count() local
176 while (regs[i].count) in igb_reg_group_count()
177 count += regs[i++].count; in igb_reg_group_count()
178 return count; in igb_reg_group_count()
185 int count = 0; in igb_read_regs_group() local
189 while (regs[i].count) in igb_read_regs_group()
190 count += igb_read_regs(hw, &regs[i++], &reg_buf[count]); in igb_read_regs_group()
[all …]
/dpdk/lib/eal/common/
H A Deal_common_trace.c262 uint32_t count; in trace_lcore_mem_dump() local
270 for (count = 0; count < trace->nb_trace_mem_list; count++) { in trace_lcore_mem_dump()
271 header = trace->lcore_meta[count].mem; in trace_lcore_mem_dump()
273 count, header, in trace_lcore_mem_dump()
308 uint32_t count; in __rte_trace_mem_per_thread_alloc() local
318 count = trace->nb_trace_mem_list; in __rte_trace_mem_per_thread_alloc()
364 trace->lcore_meta[count].mem = header; in __rte_trace_mem_per_thread_alloc()
385 uint32_t count; in trace_mem_per_thread_free() local
392 for (count = 0; count < trace->nb_trace_mem_list; count++) { in trace_mem_per_thread_free()
414 uint32_t count; in trace_mem_free() local
[all …]
/dpdk/drivers/net/nfp/
H A Dnfp_cpp_bridge.c61 size_t count, curlen; in nfp_cpp_bridge_serve_write() local
72 curlen = count; in nfp_cpp_bridge_serve_write()
95 while (count > 0) { in nfp_cpp_bridge_serve_write()
118 len, count); in nfp_cpp_bridge_serve_write()
123 __func__, err, count); in nfp_cpp_bridge_serve_write()
141 count -= pos; in nfp_cpp_bridge_serve_write()
162 size_t count, curlen; in nfp_cpp_bridge_serve_read() local
173 curlen = count; in nfp_cpp_bridge_serve_read()
196 while (count > 0) { in nfp_cpp_bridge_serve_read()
224 len, count); in nfp_cpp_bridge_serve_read()
[all …]
/dpdk/lib/distributor/
H A Drte_distributor.c35 unsigned int count) in EAL_REGISTER_TAILQ()
90 int count = 0; in rte_distributor_poll_pkt() local
125 return count; in rte_distributor_poll_pkt()
133 int count; in rte_distributor_get_pkt() local
155 return count; in rte_distributor_get_pkt()
358 count++; in handle_returns()
383 return count; in handle_returns()
414 buf->count = 0; in release()
421 buf->count = i; in release()
434 return buf->count; in release()
[all …]
H A Drte_distributor_single.c100 bl->count--; in backlog_pop()
149 bl->count = bl->start = 0; in handle_worker_shutdown()
163 ret_count = d->returns.count; in process_returns()
173 if (d->backlog[wkr].count) in process_returns()
196 d->returns.count = ret_count; in process_returns()
212 ret_count = d->returns.count; in rte_distributor_process_single()
265 if (d->backlog[wkr].count) in rte_distributor_process_single()
295 if (d->backlog[wkr].count && in rte_distributor_process_single()
312 d->returns.count = ret_count; in rte_distributor_process_single()
323 max_mbufs : returns->count; in rte_distributor_returned_pkts_single()
[all …]
/dpdk/drivers/net/bnxt/tf_core/
H A Ddpool.c91 uint32_t count; in dpool_defrag() local
140 count = 0; in dpool_defrag()
145 if (count == 0) in dpool_defrag()
147 count++; in dpool_defrag()
158 count = 0; in dpool_defrag()
176 count = 0; in dpool_defrag()
196 count = 0; in dpool_defrag()
200 count++; in dpool_defrag()
296 if (count == 0) in dpool_alloc()
299 count++; in dpool_alloc()
[all …]
/dpdk/lib/graph/
H A Dgraph_stats.c143 rte_node_t count; in stats_mem_populate() local
148 for (count = 0; count < stats->max_nodes; count++) { in stats_mem_populate()
208 rte_graph_t count; in cluster_add() local
212 for (count = 0; count < cluster->nb_graphs; count++) in cluster_add()
336 rte_node_t count; in cluster_node_arregate_stats() local
338 for (count = 0; count < cluster->nb_nodes; count++) { in cluster_node_arregate_stats()
369 rte_node_t count; in rte_graph_cluster_stats_get() local
374 for (count = 0; count < stat->max_nodes; count++) { in rte_graph_cluster_stats_get()
377 rc = stat->fn(!count, (count == stat->max_nodes - 1), in rte_graph_cluster_stats_get()
390 rte_node_t count; in rte_graph_cluster_stats_reset() local
[all …]
/dpdk/lib/ring/
H A Drte_ring.c61 if ((!POWEROF2(count)) || (count > RTE_RING_SZ_MASK )) { in EAL_REGISTER_TAILQ()
69 sz = sizeof(struct rte_ring) + (ssize_t)count * esize; in EAL_REGISTER_TAILQ()
76 rte_ring_get_memsize(unsigned int count) in rte_ring_get_memsize() argument
214 r->size = rte_align32pow2(count + 1); in rte_ring_init()
216 r->capacity = count; in rte_ring_init()
218 if ((!POWEROF2(count)) || (count > RTE_RING_SZ_MASK)) { in rte_ring_init()
224 r->size = count; in rte_ring_init()
225 r->mask = count - 1; in rte_ring_init()
250 const unsigned int requested_count = count; in rte_ring_create_elem()
257 count = rte_align32pow2(count + 1); in rte_ring_create_elem()
[all …]
/dpdk/drivers/net/bnxt/
H A Dbnxt_stats.c749 xstats[count].id = count; in bnxt_dev_xstats_get_op()
753 count++; in bnxt_dev_xstats_get_op()
758 xstats[count].id = count; in bnxt_dev_xstats_get_op()
762 count++; in bnxt_dev_xstats_get_op()
766 xstats[count].id = count; in bnxt_dev_xstats_get_op()
769 count++; in bnxt_dev_xstats_get_op()
779 count++; in bnxt_dev_xstats_get_op()
788 count++; in bnxt_dev_xstats_get_op()
814 xstats[count].id = count; in bnxt_dev_xstats_get_op()
818 xstats[count].id = count; in bnxt_dev_xstats_get_op()
[all …]
/dpdk/examples/qos_sched/
H A Dstats.c17 uint32_t count, i, queue_id = 0; in qavg_q() local
43 for (count = 0; count < qavg_ntimes; count++) { in qavg_q()
63 uint32_t count, i, queue_id = 0; in qavg_tcpipe() local
87 for (count = 0; count < qavg_ntimes; count++) { in qavg_tcpipe()
118 uint32_t count, i, queue_id = 0; in qavg_pipe() local
141 for (count = 0; count < qavg_ntimes; count++) { in qavg_pipe()
165 uint32_t queue_id, count, i, j, subport_queue_id = 0; in qavg_tcsubport() local
187 for (count = 0; count < qavg_ntimes; count++) { in qavg_tcsubport()
235 uint32_t queue_id, count, i, j, subport_queue_id = 0; in qavg_subport() local
255 for (count = 0; count < qavg_ntimes; count++) { in qavg_subport()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_regs.h12 uint32_t count; member
317 for (i = 0; i < reg->count; i++) in ixgbe_read_regs()
320 return reg->count; in ixgbe_read_regs()
326 int count = 0; in ixgbe_regs_group_count() local
329 while (regs[i].count) in ixgbe_regs_group_count()
330 count += regs[i++].count; in ixgbe_regs_group_count()
331 return count; in ixgbe_regs_group_count()
338 int count = 0; in ixgbe_read_regs_group() local
342 while (regs[i].count) in ixgbe_read_regs_group()
343 count += ixgbe_read_regs(hw, &regs[i++], &reg_buf[count]); in ixgbe_read_regs_group()
[all …]
/dpdk/devtools/
H A Dcheck-forbidden-tokens.awk15 count=0;
37 count = count + 1;
41 count = count - 1;
55 if (count > 0) {
67 if (count > 0) {

12345678910>>...24