Searched refs:stats (Results 1 - 25 of 27) sorted by relevance

12

/u-boot/test/trace/
H A Dtest-trace.sh16 trace stats
19 trace stats
21 trace stats
25 trace stats
38 # 4 sets of results (output of 'trace stats')
44 # traced function calls between each 'trace stats' command, except
/u-boot/cmd/
H A Dblkcache.c16 struct block_cache_stats stats; local
17 blkcache_stats(&stats);
24 stats.hits, stats.misses, stats.entries,
25 stats.max_blocks_per_entry, stats.max_entries);
H A Dnet.c714 printf("Driver does not implement stats dump!\n");
746 U_BOOT_CMD_MKENT(stats, 2, 0, do_net_stats, "", ""),
771 "stats <device> - dump statistics for specified device\n"
/u-boot/drivers/core/
H A Ddump.c288 void dm_dump_mem(struct dm_stats *stats) argument
298 stats->dev_count, stats->dev_size, stats->dev_name_size,
299 stats->uc_count, stats->uc_size);
309 cur_size = stats->dev_count * sizeof(struct udevice);
310 new_size = stats->dev_count * (sizeof(struct udevice) -
322 new_size += stats->attach_count[i] * sizeof(u32);
326 stats
[all...]
H A Droot.c376 void dev_collect_stats(struct dm_stats *stats, const struct udevice *parent) argument
381 stats->dev_count++;
382 stats->dev_size += sizeof(struct udevice);
383 stats->dev_name_size += strlen(parent->name) + 1;
389 stats->attach_count[i]++;
390 stats->attach_size[i] += size;
391 stats->attach_count_total++;
392 stats->attach_size_total += size;
397 dev_collect_stats(stats, dev);
400 void uclass_collect_stats(struct dm_stats *stats) argument
417 dm_get_mem(struct dm_stats *stats) argument
[all...]
H A Ddevres.c248 void devres_get_stats(const struct udevice *dev, struct devres_stats *stats) argument
252 stats->allocs = 0;
253 stats->total_size = 0;
255 stats->allocs++;
256 stats->total_size += dr->size;
H A Dtag.c160 void dev_tag_collect_stats(struct dm_stats *stats) argument
165 stats->tag_count++;
166 stats->tag_size += sizeof(struct dmtag_node);
/u-boot/test/dm/
H A Ddevres.c148 struct devres_stats stats; local
157 devres_get_stats(dev, &stats);
158 ut_asserteq(1, stats.allocs);
159 ut_asserteq(TEST_DEVRES_SIZE, stats.total_size);
163 devres_get_stats(dev, &stats);
164 ut_asserteq(2, stats.allocs);
165 ut_asserteq(TEST_DEVRES_SIZE + TEST_DEVRES_SIZE3, stats.total_size);
170 devres_get_stats(dev, &stats);
171 ut_asserteq(3, stats.allocs);
173 stats
[all...]
H A Dcore.c1349 struct dm_stats stats; local
1351 dm_get_mem(&stats);
/u-boot/drivers/net/octeontx/
H A Dnicvf_queues.c944 rq->stats.bytes = GET_RQ_STATS(RQ_SQ_STATS_OCTS);
945 rq->stats.pkts = GET_RQ_STATS(RQ_SQ_STATS_PKTS);
957 sq->stats.bytes = GET_SQ_STATS(RQ_SQ_STATS_OCTS);
958 sq->stats.pkts = GET_SQ_STATS(RQ_SQ_STATS_PKTS);
966 struct cmp_queue_stats *stats = &cq->stats; local
970 stats->rx.errop.good++;
976 stats->rx.errlvl.mac_errs++;
979 stats->rx.errlvl.l2_errs++;
982 stats
1090 struct cmp_queue_stats *stats = &cq->stats; local
[all...]
H A Dnicvf_queues.h258 struct rx_tx_queue_stats stats; member in struct:rcv_queue
267 struct cmp_queue_stats stats; member in struct:cmp_queue
281 struct rx_tx_queue_stats stats; member in struct:snd_queue
H A Dnic.h250 struct nicvf_hw_stats stats; member in struct:nicvf
336 #define NIC_MBOX_MSG_BGX_STATS 0x10 /* Get stats from BGX */
426 u64 stats; member in struct:bgx_stats_msg
/u-boot/drivers/usb/gadget/
H A Drndis.c332 if (params->stats) {
334 params->stats->tx_packets -
335 params->stats->tx_errors -
336 params->stats->tx_dropped);
346 if (params->stats) {
348 params->stats->rx_packets -
349 params->stats->rx_errors -
350 params->stats->rx_dropped);
360 if (params->stats) {
361 *outbuf = cpu_to_le32(params->stats
1149 rndis_set_param_dev(u8 configNr, struct udevice *dev, int mtu, struct net_device_stats *stats, u16 *cdc_filter) argument
[all...]
H A Drndis.h224 struct net_device_stats *stats; member in struct:rndis_params
240 struct net_device_stats *stats, u16 *cdc_filter);
H A Dether.c114 struct net_device_stats stats; member in struct:eth_dev
1539 dev->stats.rx_errors++;
1540 dev->stats.rx_length_errors++;
1545 dev->stats.rx_packets++;
1546 dev->stats.rx_bytes += req->length;
1558 dev->stats.rx_over_errors++;
1561 dev->stats.rx_errors++;
1597 dev->stats.tx_errors++;
1604 dev->stats.tx_bytes += req->length;
1606 dev->stats
[all...]
/u-boot/include/dm/
H A Dutil.h63 * dm_dump_mem() - Dump stats on memory usage in driver model
67 void dm_dump_mem(struct dm_stats *stats);
H A Droot.h175 * dm_get_stats() - Get some stats for driver mode
183 * dm_get_mem() - Get stats on memory usage in driver model
185 * @stats: Place to put the information
187 void dm_get_mem(struct dm_stats *stats);
H A Dtag.h128 * @stats: Place to put the collected information
130 void dev_tag_collect_stats(struct dm_stats *stats);
H A Ddevres.h207 /* Get basic stats on allocations */
208 void devres_get_stats(const struct udevice *dev, struct devres_stats *stats);
288 struct devres_stats *stats)
287 devres_get_stats(const struct udevice *dev, struct devres_stats *stats) argument
/u-boot/drivers/block/
H A Dblkcache.c161 void blkcache_stats(struct block_cache_stats *stats) argument
163 memcpy(stats, &_stats, sizeof(*stats));
/u-boot/lib/
H A Dtrace.c214 struct trace_output_func *stats = ptr; local
216 stats->offset = func * FUNC_SITE_SIZE;
217 stats->call_count = calls;
/u-boot/drivers/mtd/
H A Dmtdpart.c295 struct mtd_ecc_stats stats; local
298 stats = mtd->parent->ecc_stats;
303 mtd->parent->ecc_stats.failed - stats.failed;
306 mtd->parent->ecc_stats.corrected - stats.corrected;
/u-boot/scripts/
H A Dget_maintainer.pl1590 my @stats = ();
1604 @stats = grep(/$stat_pattern/, @lines);
1606 # print("stats: <@stats>\n");
1608 return (0, \@signatures, \@authors, \@stats) if !@signatures;
1620 return ($commits, $signers_ref, $authors_ref, \@stats);
1794 "*", "#", "email/list and role:stats";
2208 my @stats = ();
2221 @stats = @{$stats_ref} if defined $stats_ref;
2223 # print("commits: <$commits>\nsigners:<@signers>\nauthors: <@authors>\nstats: <@stats>\
[all...]
/u-boot/include/
H A Dblk.h174 * @param stats - statistics are copied here
176 void blkcache_stats(struct block_cache_stats *stats);
/u-boot/drivers/mtd/onenand/
H A Donenand_base.c855 struct mtd_ecc_stats stats; local
883 stats = mtd->ecc_stats;
987 if (mtd->ecc_stats.failed - stats.failed)
991 return mtd->ecc_stats.corrected != stats.corrected ? 1 : 0;
1006 struct mtd_ecc_stats stats; local
1041 stats = mtd->ecc_stats;
1089 if (mtd->ecc_stats.failed - stats.failed)

Completed in 225 milliseconds

12