Home
last modified time | relevance | path

Searched refs:new_stat (Results 1 – 5 of 5) sorted by relevance

/linux/tools/perf/util/
H A Dnamespaces.c104 struct stat new_stat; in nsinfo__init() local
116 if (stat(newns, &new_stat) < 0) in nsinfo__init()
122 if (old_stat.st_ino != new_stat.st_ino) { in nsinfo__init()
/linux/kernel/
H A Dwatchdog.c435 u16 old_stat, new_stat; in update_cpustat() local
445 new_stat = get_16bit_precision(cpustat[tracked_stats[i]]); in update_cpustat()
446 util = DIV_ROUND_UP(100 * (new_stat - old_stat), sample_period_16); in update_cpustat()
448 __this_cpu_write(cpustat_old[i], new_stat); in update_cpustat()
/linux/drivers/gpio/
H A Dgpio-pca953x.c942 DECLARE_BITMAP(new_stat, MAX_LINE); in pca953x_irq_pending()
956 bitmap_and(new_stat, cur_stat, reg_direction, gc->ngpio); in pca953x_irq_pending()
957 bitmap_xor(cur_stat, new_stat, old_stat, gc->ngpio); in pca953x_irq_pending()
960 bitmap_copy(chip->irq_stat, new_stat, gc->ngpio); in pca953x_irq_pending()
969 bitmap_and(old_stat, chip->irq_trig_raise, new_stat, gc->ngpio); in pca953x_irq_pending()
973 bitmap_and(cur_stat, new_stat, chip->irq_trig_level_high, gc->ngpio); in pca953x_irq_pending()
977 bitmap_complement(cur_stat, new_stat, gc->ngpio); in pca953x_irq_pending()
/linux/drivers/power/supply/
H A Drt9467-charger.c875 unsigned int new_stat, evts = 0; in rt9467_statc_handler() local
878 ret = regmap_read(data->regmap, RT9467_REG_CHG_STATC, &new_stat); in rt9467_statc_handler()
884 evts = data->old_stat ^ new_stat; in rt9467_statc_handler()
885 data->old_stat = new_stat; in rt9467_statc_handler()
887 if ((evts & new_stat) & RT9467_MASK_MIVR_STAT) { in rt9467_statc_handler()
/linux/drivers/pinctrl/
H A Dpinctrl-cy8c95x0.c1073 DECLARE_BITMAP(new_stat, MAX_LINE); in cy8c95x0_irq_pending()
1087 bitmap_replace(new_stat, chip->irq_trig_fall, chip->irq_trig_raise, in cy8c95x0_irq_pending()
1090 bitmap_and(pending, new_stat, trigger, MAX_LINE); in cy8c95x0_irq_pending()