Home
last modified time | relevance | path

Searched refs:delays (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-6.6/kernel/
H A Ddelayacct.c90 tsk->delays = kmem_cache_zalloc(delayacct_cache, GFP_KERNEL); in __delayacct_tsk_init()
91 if (tsk->delays) in __delayacct_tsk_init()
92 raw_spin_lock_init(&tsk->delays->lock); in __delayacct_tsk_init()
114 current->delays->blkio_start = local_clock(); in __delayacct_blkio_start()
123 delayacct_end(&p->delays->lock, in __delayacct_blkio_end()
124 &p->delays->blkio_start, in __delayacct_blkio_end()
125 &p->delays->blkio_delay, in __delayacct_blkio_end()
126 &p->delays->blkio_count); in __delayacct_blkio_end()
164 if (!tsk->delays) in delayacct_add_tsk()
169 raw_spin_lock_irqsave(&tsk->delays in delayacct_add_tsk()
[all...]
/kernel/linux/linux-5.10/kernel/
H A Ddelayacct.c36 tsk->delays = kmem_cache_zalloc(delayacct_cache, GFP_KERNEL); in __delayacct_tsk_init()
37 if (tsk->delays) in __delayacct_tsk_init()
38 raw_spin_lock_init(&tsk->delays->lock); in __delayacct_tsk_init()
61 current->delays->blkio_start = ktime_get_ns(); in __delayacct_blkio_start()
70 struct task_delay_info *delays = p->delays; in __delayacct_blkio_end() local
74 if (p->delays->flags & DELAYACCT_PF_SWAPIN) { in __delayacct_blkio_end()
75 total = &delays->swapin_delay; in __delayacct_blkio_end()
76 count = &delays->swapin_count; in __delayacct_blkio_end()
78 total = &delays in __delayacct_blkio_end()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Ddelayacct.h15 * Used to set current->delays->flags
79 if (p->delays) in delayacct_is_task_waiting_on_io()
80 return (p->delays->flags & DELAYACCT_PF_BLKIO); in delayacct_is_task_waiting_on_io()
87 if (current->delays) in delayacct_set_flag()
88 current->delays->flags |= flag; in delayacct_set_flag()
93 if (current->delays) in delayacct_clear_flag()
94 current->delays->flags &= ~flag; in delayacct_clear_flag()
100 tsk->delays = NULL; in delayacct_tsk_init()
105 /* Free tsk->delays. Called from bad fork and __put_task_struct
106 * where there's no risk of tsk->delays bein
[all...]
H A Dsched.h1341 struct task_delay_info *delays; member
/kernel/linux/linux-6.6/include/linux/
H A Ddelayacct.h92 tsk->delays = NULL; in delayacct_tsk_init()
97 /* Free tsk->delays. Called from bad fork and __put_task_struct
98 * where there's no risk of tsk->delays being accessed elsewhere
102 if (tsk->delays) in delayacct_tsk_free()
103 kmem_cache_free(delayacct_cache, tsk->delays); in delayacct_tsk_free()
104 tsk->delays = NULL; in delayacct_tsk_free()
112 if (current->delays) in delayacct_blkio_start()
121 if (p->delays) in delayacct_blkio_end()
127 if (tsk->delays) in delayacct_blkio_ticks()
137 if (current->delays) in delayacct_freepages_start()
[all...]
H A Dsched.h1452 struct task_delay_info *delays; member
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_mdio.c364 u32 delays[3] = { 0, 0, 0 }; in stmmac_mdio_reset() local
373 "snps,reset-delays-us", in stmmac_mdio_reset()
374 delays, ARRAY_SIZE(delays)); in stmmac_mdio_reset()
376 if (delays[0]) in stmmac_mdio_reset()
377 msleep(DIV_ROUND_UP(delays[0], 1000)); in stmmac_mdio_reset()
380 if (delays[1]) in stmmac_mdio_reset()
381 msleep(DIV_ROUND_UP(delays[1], 1000)); in stmmac_mdio_reset()
384 if (delays[2]) in stmmac_mdio_reset()
385 msleep(DIV_ROUND_UP(delays[ in stmmac_mdio_reset()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_mdio.c462 u32 delays[3] = { 0, 0, 0 }; in stmmac_mdio_reset() local
471 "snps,reset-delays-us", in stmmac_mdio_reset()
472 delays, ARRAY_SIZE(delays)); in stmmac_mdio_reset()
474 if (delays[0]) in stmmac_mdio_reset()
475 msleep(DIV_ROUND_UP(delays[0], 1000)); in stmmac_mdio_reset()
478 if (delays[1]) in stmmac_mdio_reset()
479 msleep(DIV_ROUND_UP(delays[1], 1000)); in stmmac_mdio_reset()
482 if (delays[2]) in stmmac_mdio_reset()
483 msleep(DIV_ROUND_UP(delays[ in stmmac_mdio_reset()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_pps.c874 * We may not yet know the real power sequencing delays, in edp_panel_vdd_schedule_off()
1330 static bool pps_delays_valid(struct edp_power_seq *delays) in pps_delays_valid() argument
1332 return delays->t1_t3 || delays->t8 || delays->t9 || in pps_delays_valid()
1333 delays->t10 || delays->t11_t12; in pps_delays_valid()
1452 * We override the HW backlight delays to 1 because we do manual waits in pps_init_delays()
1632 /* Reinit delays after per-panel info has been parsed from VBT */ in intel_pps_init_late()
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Drenesas-nand-controller.c692 delay_phase = 0, delays = 0; in rnandc_exec_op() local
834 if (delays > 1) { in rnandc_exec_op()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
H A Dphy_n.c633 u8 *events, u8 *delays, u8 length) in b43_nphy_set_rf_sequence()
645 b43_ntab_write_bulk(dev, B43_NTAB8(7, offset2), length, delays); in b43_nphy_set_rf_sequence()
632 b43_nphy_set_rf_sequence(struct b43_wldev *dev, u8 cmd, u8 *events, u8 *delays, u8 length) b43_nphy_set_rf_sequence() argument
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/
H A Dphy_n.c633 u8 *events, u8 *delays, u8 length) in b43_nphy_set_rf_sequence()
645 b43_ntab_write_bulk(dev, B43_NTAB8(7, offset2), length, delays); in b43_nphy_set_rf_sequence()
632 b43_nphy_set_rf_sequence(struct b43_wldev *dev, u8 cmd, u8 *events, u8 *delays, u8 length) b43_nphy_set_rf_sequence() argument

Completed in 29 milliseconds