Home
last modified time | relevance | path

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

123

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dglobal_map_resize.c29 goto teardown; in global_map_resize_bss_subtest()
41 goto teardown; in global_map_resize_bss_subtest()
43 goto teardown; in global_map_resize_bss_subtest()
52 goto teardown; in global_map_resize_bss_subtest()
56 goto teardown; in global_map_resize_bss_subtest()
58 goto teardown; in global_map_resize_bss_subtest()
73 goto teardown; in global_map_resize_bss_subtest()
76 goto teardown; in global_map_resize_bss_subtest()
83 goto teardown; in global_map_resize_bss_subtest()
85 teardown: in global_map_resize_bss_subtest()
[all …]
Dmap_ops.c70 static void teardown(struct test_map_ops **skel) in teardown() function
81 goto teardown; in map_ops_update_delete_subtest()
97 teardown: in map_ops_update_delete_subtest()
98 teardown(&skel); in map_ops_update_delete_subtest()
106 goto teardown; in map_ops_push_peek_pop_subtest()
129 teardown: in map_ops_push_peek_pop_subtest()
130 teardown(&skel); in map_ops_push_peek_pop_subtest()
138 goto teardown; in map_ops_for_each_subtest()
148 teardown: in map_ops_for_each_subtest()
149 teardown(&skel); in map_ops_for_each_subtest()
/linux-6.6.21/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-6.6.21/include/linux/
Dcpuhotplug.h265 int (*teardown)(unsigned int cpu), bool multi_instance);
270 int (*teardown)(unsigned int cpu),
286 int (*teardown)(unsigned int cpu)) in cpuhp_setup_state()
288 return __cpuhp_setup_state(state, name, true, startup, teardown, false); in cpuhp_setup_state()
306 int (*teardown)(unsigned int cpu)) in cpuhp_setup_state_cpuslocked()
309 teardown, false); in cpuhp_setup_state_cpuslocked()
326 int (*teardown)(unsigned int cpu)) in cpuhp_setup_state_nocalls()
328 return __cpuhp_setup_state(state, name, false, startup, teardown, in cpuhp_setup_state_nocalls()
348 int (*teardown)(unsigned int cpu)) in cpuhp_setup_state_nocalls_cpuslocked()
351 teardown, false); in cpuhp_setup_state_nocalls_cpuslocked()
[all …]
/linux-6.6.21/tools/testing/selftests/rseq/
Drseq-x86.h99 #define RSEQ_ASM_DEFINE_ABORT(label, teardown, abort_label) \ argument
105 teardown \
109 #define RSEQ_ASM_DEFINE_CMPFAIL(label, teardown, cmpfail_label) \ argument
112 teardown \
185 #define RSEQ_ASM_DEFINE_ABORT(label, teardown, abort_label) \ argument
191 teardown \
195 #define RSEQ_ASM_DEFINE_CMPFAIL(label, teardown, cmpfail_label) \ argument
198 teardown \
Drseq-arm.h123 #define __RSEQ_ASM_DEFINE_ABORT(table_label, label, teardown, \ argument
132 teardown \
135 #define RSEQ_ASM_DEFINE_ABORT(table_label, label, teardown, abort_label, \ argument
137 __RSEQ_ASM_DEFINE_ABORT(table_label, label, teardown, \
141 #define RSEQ_ASM_DEFINE_CMPFAIL(label, teardown, cmpfail_label) \ argument
143 teardown \
Drseq-mips.h126 #define __RSEQ_ASM_DEFINE_ABORT(table_label, label, teardown, \ argument
137 teardown \
140 #define RSEQ_ASM_DEFINE_ABORT(table_label, label, teardown, abort_label, \ argument
142 __RSEQ_ASM_DEFINE_ABORT(table_label, label, teardown, \
146 #define RSEQ_ASM_DEFINE_CMPFAIL(label, teardown, cmpfail_label) \ argument
148 teardown \
Drseq-s390.h118 #define RSEQ_ASM_DEFINE_ABORT(label, teardown, abort_label) \ argument
122 teardown \
126 #define RSEQ_ASM_DEFINE_CMPFAIL(label, teardown, cmpfail_label) \ argument
129 teardown \
/linux-6.6.21/Documentation/core-api/
Dcpu_hotplug.rst139 Once a CPU has been logically shutdown the teardown callbacks of registered
161 CPUHP_OFFLINE to CPUHP_ONLINE. Each state has a startup and a teardown
169 When a CPU is offlined the teardown callbacks are invoked in the reverse
186 started during a CPU online operation. The teardown callbacks are invoked
194 bring a CPU successfully online. The teardown callbacks are used to free
202 The teardown callbacks in this section are not allowed to fail.
211 setup code. The teardown callbacks are invoked with interrupts disabled
226 during a CPU online operation. The teardown callbacks are invoked on the
260 [CPUHP_ONLINE - 1]->teardown() -> success
262 [CPUHP_AP_ONLINE + 1]->teardown() -> success
[all …]
/linux-6.6.21/kernel/
Dcpu.c137 } teardown; member
155 return bringup ? !step->startup.single : !step->teardown.single; in cpuhp_step_empty()
192 cb = bringup ? step->startup.single : step->teardown.single; in cpuhp_invoke_callback()
199 cbm = bringup ? step->startup.multi : step->teardown.multi; in cpuhp_invoke_callback()
233 cbm = !bringup ? step->startup.multi : step->teardown.multi; in cpuhp_invoke_callback()
2085 .teardown.single = NULL,
2091 .teardown.single = NULL,
2097 .teardown.single = perf_event_exit_cpu,
2102 .teardown.single = NULL,
2107 .teardown.single = NULL,
[all …]
/linux-6.6.21/net/dsa/
Ddsa.c658 goto teardown; in dsa_switch_setup()
664 goto teardown; in dsa_switch_setup()
685 teardown: in dsa_switch_setup()
686 if (ds->ops->teardown) in dsa_switch_setup()
687 ds->ops->teardown(ds); in dsa_switch_setup()
710 if (ds->ops->teardown) in dsa_switch_teardown()
711 ds->ops->teardown(ds); in dsa_switch_teardown()
757 goto teardown; in dsa_tree_setup_ports()
767 goto teardown; in dsa_tree_setup_ports()
774 teardown: in dsa_tree_setup_ports()
/linux-6.6.21/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-6.6.21/include/linux/spi/
Dlibertas_spi.h23 int (*teardown)(struct spi_device *spi); member
/linux-6.6.21/tools/testing/selftests/tc-testing/creating-testcases/
DAddingTestCases.txt66 teardown: The list of commands to clean up after the test is completed.
80 If an error is detected during the setup/teardown process, execution of the
86 Repeated failures of the setup/teardown may indicate a problem with the test
89 It's possible to include acceptable exit codes with the setup/teardown command
/linux-6.6.21/drivers/net/wireless/marvell/libertas/
Dif_spi.c1119 goto teardown; in if_spi_probe()
1193 teardown: in if_spi_probe()
1194 if (pdata->teardown) in if_spi_probe()
1195 pdata->teardown(spi); in if_spi_probe()
1214 if (card->pdata->teardown) in libertas_spi_remove()
1215 card->pdata->teardown(spi); in libertas_spi_remove()
1229 if (card->pdata->teardown) in if_spi_suspend()
1230 card->pdata->teardown(spi); in if_spi_suspend()
/linux-6.6.21/arch/m68k/include/asm/
Dmcfqspi.h25 void (*teardown)(struct mcfqspi_cs_control *); member
/linux-6.6.21/include/linux/platform_data/
Dpca953x.h25 void (*teardown)(struct i2c_client *client, member
Dvideo-ep93xx.h41 void (*teardown)(struct platform_device *pdev); member
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/video/fbdev/
Dep93xx-fb.c564 if (fbi->mach_info->teardown) in ep93xxfb_probe()
565 fbi->mach_info->teardown(pdev); in ep93xxfb_probe()
586 if (fbi->mach_info->teardown) in ep93xxfb_remove()
587 fbi->mach_info->teardown(pdev); in ep93xxfb_remove()
/linux-6.6.21/Documentation/arch/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-6.6.21/include/linux/mfd/
Dtps65010.h198 void (*teardown)(struct i2c_client *client, struct gpio_chip *gc); member
/linux-6.6.21/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-6.6.21/drivers/net/dsa/ocelot/
Dfelix.h78 void (*teardown)(struct dsa_switch *ds); member

123