Home
last modified time | relevance | path

Searched refs:teardown (Results 1 – 25 of 76) sorted by relevance

1234

/Linux-v6.1/Documentation/translations/zh_CN/core-api/
Dcpu_hotplug.rst166 有一个startup和teardown的回调。
171 当一个CPU下线时,将按相反的顺序依次调用teardown回调,直到达到CPUHP_OFFLINE状态。当删
183 在该阶段中,startup回调在CPU上线操作启动CPU之前被调用,teardown回调在CPU下线操作使
189 startup回调用于设置CPU成功上线所需要的资源。teardown回调用于释放资源或在热插拔的CPU
195 本阶段中的teardown回调不允许失败。
202 插的CPU上被调用。teardown回调是在CPU完全关闭前不久的CPU下线操作期间,禁用中断的情况
213 该阶段中的startup回调是在CPU上线时在热插拔的CPU上调用的。teardown回调是在CPU下线操
245 [CPUHP_ONLINE - 1]->teardown() -> 成功
247 [CPUHP_AP_ONLINE + 1]->teardown() -> 成功
249 [CPUHP_AP_ONLINE]->teardown() -> 成功
[all …]
/Linux-v6.1/include/linux/
Dcpuhotplug.h264 int (*teardown)(unsigned int cpu), bool multi_instance);
269 int (*teardown)(unsigned int cpu),
285 int (*teardown)(unsigned int cpu)) in cpuhp_setup_state()
287 return __cpuhp_setup_state(state, name, true, startup, teardown, false); in cpuhp_setup_state()
305 int (*teardown)(unsigned int cpu)) in cpuhp_setup_state_cpuslocked()
308 teardown, false); in cpuhp_setup_state_cpuslocked()
325 int (*teardown)(unsigned int cpu)) in cpuhp_setup_state_nocalls()
327 return __cpuhp_setup_state(state, name, false, startup, teardown, in cpuhp_setup_state_nocalls()
347 int (*teardown)(unsigned int cpu)) in cpuhp_setup_state_nocalls_cpuslocked()
350 teardown, false); in cpuhp_setup_state_nocalls_cpuslocked()
[all …]
/Linux-v6.1/kernel/
Dcpu.c134 } teardown; member
152 return bringup ? !step->startup.single : !step->teardown.single; in cpuhp_step_empty()
189 cb = bringup ? step->startup.single : step->teardown.single; in cpuhp_invoke_callback()
196 cbm = bringup ? step->startup.multi : step->teardown.multi; in cpuhp_invoke_callback()
230 cbm = !bringup ? step->startup.multi : step->teardown.multi; in cpuhp_invoke_callback()
1660 .teardown.single = NULL,
1666 .teardown.single = NULL,
1672 .teardown.single = perf_event_exit_cpu,
1677 .teardown.single = NULL,
1682 .teardown.single = NULL,
[all …]
/Linux-v6.1/Documentation/core-api/
Dcpu_hotplug.rst148 Once a CPU has been logically shutdown the teardown callbacks of registered
170 CPUHP_OFFLINE to CPUHP_ONLINE. Each state has a startup and a teardown
178 When a CPU is offlined the teardown callbacks are invoked in the reverse
195 started during a CPU online operation. The teardown callbacks are invoked
203 bring a CPU successfully online. The teardown callbacks are used to free
211 The teardown callbacks in this section are not allowed to fail.
220 setup code. The teardown callbacks are invoked with interrupts disabled
235 during a CPU online operation. The teardown callbacks are invoked on the
269 [CPUHP_ONLINE - 1]->teardown() -> success
271 [CPUHP_AP_ONLINE + 1]->teardown() -> success
[all …]
/Linux-v6.1/tools/testing/selftests/rseq/
Drseq-arm.h127 #define __RSEQ_ASM_DEFINE_ABORT(table_label, label, teardown, \ argument
136 teardown \
139 #define RSEQ_ASM_DEFINE_ABORT(table_label, label, teardown, abort_label, \ argument
141 __RSEQ_ASM_DEFINE_ABORT(table_label, label, teardown, \
145 #define RSEQ_ASM_DEFINE_CMPFAIL(label, teardown, cmpfail_label) \ argument
147 teardown \
Drseq-mips.h132 #define __RSEQ_ASM_DEFINE_ABORT(table_label, label, teardown, \ argument
143 teardown \
146 #define RSEQ_ASM_DEFINE_ABORT(table_label, label, teardown, abort_label, \ argument
148 __RSEQ_ASM_DEFINE_ABORT(table_label, label, teardown, \
152 #define RSEQ_ASM_DEFINE_CMPFAIL(label, teardown, cmpfail_label) \ argument
154 teardown \
Drseq-x86.h98 #define RSEQ_ASM_DEFINE_ABORT(label, teardown, abort_label) \ argument
104 teardown \
108 #define RSEQ_ASM_DEFINE_CMPFAIL(label, teardown, cmpfail_label) \ argument
111 teardown \
707 #define RSEQ_ASM_DEFINE_ABORT(label, teardown, abort_label) \ argument
713 teardown \
717 #define RSEQ_ASM_DEFINE_CMPFAIL(label, teardown, cmpfail_label) \ argument
720 teardown \
Drseq-s390.h122 #define RSEQ_ASM_DEFINE_ABORT(label, teardown, abort_label) \ argument
126 teardown \
130 #define RSEQ_ASM_DEFINE_CMPFAIL(label, teardown, cmpfail_label) \ argument
133 teardown \
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dcore.c338 bool teardown = false; in mlx5_fpga_event() local
359 teardown = true; in mlx5_fpga_event()
371 if (teardown) in mlx5_fpga_event()
/Linux-v6.1/tools/testing/selftests/tc-testing/creating-testcases/
DAddingTestCases.txt64 teardown: The list of commands to clean up after the test is completed.
78 If an error is detected during the setup/teardown process, execution of the
84 Repeated failures of the setup/teardown may indicate a problem with the test
87 It's possible to include acceptable exit codes with the setup/teardown command
/Linux-v6.1/drivers/net/wireless/marvell/libertas/
Dif_spi.c1117 goto teardown; in if_spi_probe()
1191 teardown: in if_spi_probe()
1192 if (pdata->teardown) in if_spi_probe()
1193 pdata->teardown(spi); in if_spi_probe()
1212 if (card->pdata->teardown) in libertas_spi_remove()
1213 card->pdata->teardown(spi); in libertas_spi_remove()
1227 if (card->pdata->teardown) in if_spi_suspend()
1228 card->pdata->teardown(spi); in if_spi_suspend()
/Linux-v6.1/include/linux/spi/
Dlibertas_spi.h23 int (*teardown)(struct spi_device *spi); member
/Linux-v6.1/include/linux/platform_data/
Dpcf857x.h39 void (*teardown)(struct i2c_client *client, member
Dpca953x.h25 void (*teardown)(struct i2c_client *client, member
Dvideo-ep93xx.h41 void (*teardown)(struct platform_device *pdev); member
/Linux-v6.1/arch/m68k/include/asm/
Dmcfqspi.h25 void (*teardown)(struct mcfqspi_cs_control *); member
/Linux-v6.1/Documentation/fb/
Dep93xx-fb.rst87 callbacks: setup, teardown and blank. The setup and teardown functions
92 The setup and teardown devices pass the platform_device structure as
/Linux-v6.1/net/dsa/
Ddsa2.c913 goto teardown; in dsa_switch_setup()
919 goto teardown; in dsa_switch_setup()
939 teardown: in dsa_switch_setup()
940 if (ds->ops->teardown) in dsa_switch_setup()
941 ds->ops->teardown(ds); in dsa_switch_setup()
966 if (ds->ops->teardown) in dsa_switch_teardown()
967 ds->ops->teardown(ds); in dsa_switch_teardown()
1016 goto teardown; in dsa_tree_setup_ports()
1026 goto teardown; in dsa_tree_setup_ports()
1033 teardown: in dsa_tree_setup_ports()
/Linux-v6.1/tools/testing/selftests/tc-testing/
DREADME30 teardown commands - which includes not being able to run a test simply
84 - teardown
86 The setup and teardown stages can run zero or more commands. The setup
87 stage does some setup if the test needs it. The teardown stage undoes
205 failure during setup or teardown stage.
219 - teardown
/Linux-v6.1/drivers/video/fbdev/
Dep93xx-fb.c562 if (fbi->mach_info->teardown) in ep93xxfb_probe()
563 fbi->mach_info->teardown(pdev); in ep93xxfb_probe()
584 if (fbi->mach_info->teardown) in ep93xxfb_remove()
585 fbi->mach_info->teardown(pdev); in ep93xxfb_remove()
/Linux-v6.1/Documentation/arm/
Dcluster-pm-race-avoidance.rst6 cluster setup and teardown operations and to manage hardware coherency
82 state. It may be part way through the process of teardown and
127 policy decision CPU teardown complete
208 local CPU teardown complete
285 teardown completely.
379 To avoid wasteful unnecessary teardown operations, the outbound
413 a) back out of teardown, restoring the cluster to the
421 unnecessary teardown and setup operations in situations where
/Linux-v6.1/fs/ocfs2/dlmfs/
Ddlmfs.c300 int teardown; in dlmfs_evict_inode() local
311 teardown = !!(lockres->l_flags & USER_LOCK_IN_TEARDOWN); in dlmfs_evict_inode()
313 if (!teardown) { in dlmfs_evict_inode()
/Linux-v6.1/include/linux/mfd/
Dtps65010.h200 int (*teardown)(struct i2c_client *client, void *context); member
/Linux-v6.1/drivers/net/dsa/ocelot/
Dfelix.h74 void (*teardown)(struct dsa_switch *ds); member
/Linux-v6.1/tools/testing/selftests/tc-testing/creating-plugins/
DAddingPlugins.txt22 teardown
81 'teardown'

1234