Home
last modified time | relevance | path

Searched full:delays (Results 1 – 25 of 992) sorted by relevance

12345678910>>...40

/kernel/linux/linux-6.6/kernel/
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->lock, flags); in delayacct_add_tsk()
[all …]
/kernel/linux/linux-5.10/kernel/
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->blkio_delay; in __delayacct_blkio_end()
79 count = &delays->blkio_count; in __delayacct_blkio_end()
[all …]
/kernel/linux/linux-5.10/include/linux/
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 being accessed elsewhere
[all …]
/kernel/linux/linux-6.6/include/linux/
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 …]
/kernel/linux/linux-5.10/Documentation/accounting/
Ddelay-accounting.rst5 Tasks encounter delays in execution when they wait
10 the delays experienced by a task while
20 Such delays provide feedback for setting a task's cpu priority,
21 io priority and rss limit values appropriately. Long delays for
81 similar to getdelays.c to access the delays
84 executed and the corresponding delays to be
92 Get delays, since system boot, for pid 10::
97 Get sum of delays, since system boot, for all pids with tgid 5::
111 Get delays seen in executing a given simple command::
/kernel/linux/linux-6.6/Documentation/accounting/
Ddelay-accounting.rst5 Tasks encounter delays in execution when they wait
10 the delays experienced by a task while
24 Such delays provide feedback for setting a task's cpu priority,
25 io priority and rss limit values appropriately. Long delays for
88 similar to getdelays.c to access the delays
91 executed and the corresponding delays to be
98 Get delays, since system boot, for pid 10::
103 Get sum of delays, since system boot, for all pids with tgid 5::
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dethernet-controller.yaml72 # RX and TX delays are added by the MAC when required
75 # RGMII with internal RX and TX delays provided by the PHY,
76 # the MAC should not add the RX or TX delays in this case
127 This is used for controllers that have configurable RX internal delays.
145 This is used for controllers that have configurable TX internal delays.
Dhisilicon-femac.txt19 - hisilicon,phy-reset-delays-us: triplet of delays if PHY reset signal given.
40 hisilicon,phy-reset-delays-us = <10000 20000 20000>;
Dhisilicon-hix5hd2-gmac.txt28 - hisilicon,phy-reset-delays-us: triplet of delays if PHY reset signal given.
55 hisilicon,phy-reset-delays-us = <10000 10000 30000>;
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
Dhisilicon-femac.txt19 - hisilicon,phy-reset-delays-us: triplet of delays if PHY reset signal given.
40 hisilicon,phy-reset-delays-us = <10000 20000 20000>;
Dethernet-controller.yaml78 # RX and TX delays are added by the MAC when required
81 # RGMII with internal RX and TX delays provided by the PHY,
82 # the MAC should not add the RX or TX delays in this case
279 controllers that have configurable RX internal delays. If this
284 controllers that have configurable TX internal delays. If this
Dhisilicon-hix5hd2-gmac.txt28 - hisilicon,phy-reset-delays-us: triplet of delays if PHY reset signal given.
55 hisilicon,phy-reset-delays-us = <10000 10000 30000>;
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
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[2], 1000)); in stmmac_mdio_reset()
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/
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[2], 1000)); in stmmac_mdio_reset()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/dsa/
Dsja1105.txt19 of support for RGMII internal delays (supported on P/Q/R/S, but not on
36 delays:
40 is the PHY. The SJA1105 MAC does not apply any internal delays.
42 of the above, the designated entity to apply the internal delays
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/
Ddelay.rst5 Device-Mapper's "delay" target delays reads and/or writes
15 Delays are specified in milliseconds.
/kernel/linux/linux-6.6/Documentation/admin-guide/device-mapper/
Ddelay.rst5 Device-Mapper's "delay" target delays reads and/or writes
15 Delays are specified in milliseconds.
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/spi/
Dnvidia,tegra210-quad-peripheral-props.yaml16 Delays the clock going out to device with this tap value.
25 Delays the clock coming in from the device with this tap value.
/kernel/linux/linux-5.10/arch/loongarch/lib/
Ddelay.c25 * Use only for very small delays ( < 1 msec). Should probably use a
27 * short delays. This is a "reasonable" implementation, though (and the
/kernel/linux/linux-6.6/arch/loongarch/lib/
Ddelay.c25 * Use only for very small delays ( < 1 msec). Should probably use a
27 * short delays. This is a "reasonable" implementation, though (and the
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/fsi/
Dfsi-master-gpio.txt14 - no-gpio-delays; : Don't add extra delays between GPIO
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/fsi/
Dfsi-master-gpio.txt14 - no-gpio-delays; : Don't add extra delays between GPIO
/kernel/linux/linux-6.6/Documentation/timers/
Dtimers-howto.rst2 delays - Information on the various kernel delay / sleep mechanisms
9 deal with hardware delays and who may not be the most intimately
13 Inserting Delays
/kernel/linux/linux-5.10/Documentation/timers/
Dtimers-howto.rst2 delays - Information on the various kernel delay / sleep mechanisms
9 deal with hardware delays and who may not be the most intimately
13 Inserting Delays
/kernel/linux/linux-6.6/tools/time/
Dudelay_test.sh7 # and exercises a variety of delays to ensure that udelay() is delaying
55 echo "ERROR: $count delays failed to delay long enough"

12345678910>>...40