Searched refs:new_stat (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/net/core/ |
D | drop_monitor.c | 273 struct dm_hw_stat_delta *new_stat; in trace_napi_poll_hit() local 282 list_for_each_entry_rcu(new_stat, &hw_stats_list, list) { in trace_napi_poll_hit() 289 if ((new_stat->dev == napi->dev) && in trace_napi_poll_hit() 290 (time_after(jiffies, new_stat->last_rx + dm_hw_check_delta)) && in trace_napi_poll_hit() 291 (napi->dev->stats.rx_dropped != new_stat->last_drop_val)) { in trace_napi_poll_hit() 293 new_stat->last_drop_val = napi->dev->stats.rx_dropped; in trace_napi_poll_hit() 294 new_stat->last_rx = jiffies; in trace_napi_poll_hit() 1166 struct dm_hw_stat_delta *new_stat, *temp; in net_dm_trace_off_set() local 1190 list_for_each_entry_safe(new_stat, temp, &hw_stats_list, list) { in net_dm_trace_off_set() 1191 if (new_stat->dev == NULL) { in net_dm_trace_off_set() [all …]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | namespaces.c | 70 struct stat new_stat; in nsinfo__init() local 84 if (stat(newns, &new_stat) < 0) in nsinfo__init() 90 if (old_stat.st_ino != new_stat.st_ino) { in nsinfo__init()
|
/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpio-pca953x.c | 728 DECLARE_BITMAP(new_stat, MAX_LINE); in pca953x_irq_pending() 744 bitmap_replace(new_stat, chip->irq_trig_fall, chip->irq_trig_raise, cur_stat, gc->ngpio); in pca953x_irq_pending() 746 bitmap_and(pending, new_stat, trigger, gc->ngpio); in pca953x_irq_pending() 760 bitmap_and(new_stat, cur_stat, reg_direction, gc->ngpio); in pca953x_irq_pending() 761 bitmap_xor(cur_stat, new_stat, old_stat, gc->ngpio); in pca953x_irq_pending() 767 bitmap_copy(chip->irq_stat, new_stat, gc->ngpio); in pca953x_irq_pending() 770 bitmap_and(old_stat, chip->irq_trig_raise, new_stat, gc->ngpio); in pca953x_irq_pending() 771 bitmap_or(new_stat, old_stat, cur_stat, gc->ngpio); in pca953x_irq_pending() 772 bitmap_and(pending, new_stat, trigger, gc->ngpio); in pca953x_irq_pending()
|
/kernel/linux/linux-5.10/block/ |
D | blk-iocost.c | 1602 struct iocg_stat new_stat; in iocg_flush_stat_one() local 1621 new_stat.usage_us = in iocg_flush_stat_one() 1623 new_stat.wait_us = in iocg_flush_stat_one() 1625 new_stat.indebt_us = in iocg_flush_stat_one() 1627 new_stat.indelay_us = in iocg_flush_stat_one() 1636 new_stat.usage_us - iocg->last_stat.usage_us; in iocg_flush_stat_one() 1638 new_stat.wait_us - iocg->last_stat.wait_us; in iocg_flush_stat_one() 1640 new_stat.indebt_us - iocg->last_stat.indebt_us; in iocg_flush_stat_one() 1642 new_stat.indelay_us - iocg->last_stat.indelay_us; in iocg_flush_stat_one() 1645 iocg->last_stat = new_stat; in iocg_flush_stat_one()
|