Home
last modified time | relevance | path

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

12345678910>>...34

/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-4.19/kernel/
Ddelayacct.c45 tsk->delays = kmem_cache_zalloc(delayacct_cache, GFP_KERNEL); in __delayacct_tsk_init()
46 if (tsk->delays) in __delayacct_tsk_init()
47 raw_spin_lock_init(&tsk->delays->lock); in __delayacct_tsk_init()
70 current->delays->blkio_start = ktime_get_ns(); in __delayacct_blkio_start()
79 struct task_delay_info *delays = p->delays; in __delayacct_blkio_end() local
83 if (p->delays->flags & DELAYACCT_PF_SWAPIN) { in __delayacct_blkio_end()
84 total = &delays->swapin_delay; in __delayacct_blkio_end()
85 count = &delays->swapin_count; in __delayacct_blkio_end()
87 total = &delays->blkio_delay; in __delayacct_blkio_end()
88 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-4.19/include/linux/
Ddelayacct.h25 * Used to set current->delays->flags
82 if (p->delays) in delayacct_is_task_waiting_on_io()
83 return (p->delays->flags & DELAYACCT_PF_BLKIO); in delayacct_is_task_waiting_on_io()
90 if (current->delays) in delayacct_set_flag()
91 current->delays->flags |= flag; in delayacct_set_flag()
96 if (current->delays) in delayacct_clear_flag()
97 current->delays->flags &= ~flag; in delayacct_clear_flag()
103 tsk->delays = NULL; in delayacct_tsk_init()
108 /* Free tsk->delays. Called from bad fork and __put_task_struct
109 * where there's no risk of tsk->delays being accessed elsewhere
[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-4.19/Documentation/accounting/
Ddelay-accounting.txt4 Tasks encounter delays in execution when they wait
9 the delays experienced by a task while
19 Such delays provide feedback for setting a task's cpu priority,
20 io priority and rss limit values appropriately. Long delays for
75 similar to getdelays.c to access the delays
78 executed and the corresponding delays to be
86 Get delays, since system boot, for pid 10
90 Get sum of delays, since system boot, for all pids with tgid 5
103 Get delays seen in executing a given simple command
/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>;
Dti,dp83867.yaml81 delays will be left at their default values, as set by the PHY's pin
85 should use "rgmii-id" if internal delays are desired as this may be
86 changed in future to cause "rgmii" mode to disable delays.
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/
Dhisilicon-femac.txt20 - hisilicon,phy-reset-delays-us: triplet of delays if PHY reset signal given.
38 hisilicon,phy-reset-delays-us = <10000 20000 20000>;
Dhisilicon-hix5hd2-gmac.txt29 - hisilicon,phy-reset-delays-us: triplet of delays if PHY reset signal given.
53 hisilicon,phy-reset-delays-us = <10000 10000 30000>;
Dethernet.txt29 * "rgmii" (RX and TX delays are added by the MAC when required)
30 * "rgmii-id" (RGMII with internal RX and TX delays provided by the PHY, the
31 MAC should not add the RX or TX delays in this case)
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_mdio.c305 u32 delays[3] = { 0, 0, 0 }; in stmmac_mdio_reset() local
314 "snps,reset-delays-us", in stmmac_mdio_reset()
315 delays, ARRAY_SIZE(delays)); in stmmac_mdio_reset()
317 if (delays[0]) in stmmac_mdio_reset()
318 msleep(DIV_ROUND_UP(delays[0], 1000)); in stmmac_mdio_reset()
321 if (delays[1]) in stmmac_mdio_reset()
322 msleep(DIV_ROUND_UP(delays[1], 1000)); in stmmac_mdio_reset()
325 if (delays[2]) in stmmac_mdio_reset()
326 msleep(DIV_ROUND_UP(delays[2], 1000)); in stmmac_mdio_reset()
/kernel/linux/linux-4.19/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_mdio.c268 "snps,reset-delays-us", data->delays, 3); in stmmac_mdio_reset()
277 if (data->delays[0]) in stmmac_mdio_reset()
278 msleep(DIV_ROUND_UP(data->delays[0], 1000)); in stmmac_mdio_reset()
281 if (data->delays[1]) in stmmac_mdio_reset()
282 msleep(DIV_ROUND_UP(data->delays[1], 1000)); in stmmac_mdio_reset()
285 if (data->delays[2]) in stmmac_mdio_reset()
286 msleep(DIV_ROUND_UP(data->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-4.19/Documentation/device-mapper/
Ddelay.txt4 Device-Mapper's "delay" target delays reads and/or writes
13 Delays are specified in milliseconds.
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/mmc/
Dsdhci-cadence.txt22 Some PHY delays can be configured by following properties.
23 PHY DLL input delays:
52 PHY DLL clock 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-4.19/Documentation/timers/
Dtimers-howto.txt1 delays - Information on the various kernel delay / sleep mechanisms
8 deal with hardware delays and who may not be the most intimately
12 Inserting Delays
/kernel/linux/linux-4.19/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-5.10/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"
/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-4.19/arch/unicore32/include/asm/
Ddelay.h34 * Use only for very small delays ( < 1 msec). Should probably use a
36 * short delays. This is a "reasonable" implementation, though (and the

12345678910>>...34