Home
last modified time | relevance | path

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

123

/linux-6.12.1/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.12.1/Documentation/translations/zh_CN/core-api/
Dcpu_hotplug.rst160 有一个startup和teardown的回调。
165 当一个CPU下线时,将按相反的顺序依次调用teardown回调,直到达到CPUHP_OFFLINE状态。当删
177 在该阶段中,startup回调在CPU上线操作启动CPU之前被调用,teardown回调在CPU下线操作使
183 startup回调用于设置CPU成功上线所需要的资源。teardown回调用于释放资源或在热插拔的CPU
189 本阶段中的teardown回调不允许失败。
196 插的CPU上被调用。teardown回调是在CPU完全关闭前不久的CPU下线操作期间,禁用中断的情况
207 该阶段中的startup回调是在CPU上线时在热插拔的CPU上调用的。teardown回调是在CPU下线操
239 [CPUHP_ONLINE - 1]->teardown() -> 成功
241 [CPUHP_AP_ONLINE + 1]->teardown() -> 成功
243 [CPUHP_AP_ONLINE]->teardown() -> 成功
[all …]
/linux-6.12.1/include/linux/
Dcpuhotplug.h253 int (*teardown)(unsigned int cpu), bool multi_instance);
258 int (*teardown)(unsigned int cpu),
274 int (*teardown)(unsigned int cpu)) in cpuhp_setup_state()
276 return __cpuhp_setup_state(state, name, true, startup, teardown, false); in cpuhp_setup_state()
294 int (*teardown)(unsigned int cpu)) in cpuhp_setup_state_cpuslocked()
297 teardown, false); in cpuhp_setup_state_cpuslocked()
314 int (*teardown)(unsigned int cpu)) in cpuhp_setup_state_nocalls()
316 return __cpuhp_setup_state(state, name, false, startup, teardown, in cpuhp_setup_state_nocalls()
336 int (*teardown)(unsigned int cpu)) in cpuhp_setup_state_nocalls_cpuslocked()
339 teardown, false); in cpuhp_setup_state_nocalls_cpuslocked()
[all …]
/linux-6.12.1/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.12.1/Documentation/core-api/
Dcpu_hotplug.rst133 Once a CPU has been logically shutdown the teardown callbacks of registered
155 CPUHP_OFFLINE to CPUHP_ONLINE. Each state has a startup and a teardown
163 When a CPU is offlined the teardown callbacks are invoked in the reverse
180 started during a CPU online operation. The teardown callbacks are invoked
188 bring a CPU successfully online. The teardown callbacks are used to free
196 The teardown callbacks in this section are not allowed to fail.
205 setup code. The teardown callbacks are invoked with interrupts disabled
220 during a CPU online operation. The teardown callbacks are invoked on the
254 [CPUHP_ONLINE - 1]->teardown() -> success
256 [CPUHP_AP_ONLINE + 1]->teardown() -> success
[all …]
/linux-6.12.1/kernel/
Dcpu.c136 } teardown; member
154 return bringup ? !step->startup.single : !step->teardown.single; in cpuhp_step_empty()
191 cb = bringup ? step->startup.single : step->teardown.single; in cpuhp_invoke_callback()
198 cbm = bringup ? step->startup.multi : step->teardown.multi; in cpuhp_invoke_callback()
232 cbm = !bringup ? step->startup.multi : step->teardown.multi; in cpuhp_invoke_callback()
2066 .teardown.single = NULL,
2072 .teardown.single = NULL,
2078 .teardown.single = perf_event_exit_cpu,
2083 .teardown.single = NULL,
2088 .teardown.single = NULL,
[all …]
/linux-6.12.1/tools/testing/selftests/tc-testing/
DREADME29 teardown commands - which includes not being able to run a test simply
83 - teardown
85 The setup and teardown stages can run zero or more commands. The setup
86 stage does some setup if the test needs it. The teardown stage undoes
160 failure during setup or teardown stage.
174 - teardown
/linux-6.12.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-6.12.1/tools/testing/selftests/
Dkselftest_harness.h413 bool *teardown = mmap(NULL, sizeof(*teardown), \
415 *teardown = false; \
442 __sync_bool_compare_and_swap(teardown, false, true)) \
447 __sync_bool_compare_and_swap(teardown, false, true)) \
449 munmap(teardown, sizeof(*teardown)); \
/linux-6.12.1/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.12.1/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.12.1/include/linux/spi/
Dlibertas_spi.h23 int (*teardown)(struct spi_device *spi); member
/linux-6.12.1/arch/m68k/include/asm/
Dmcfqspi.h25 void (*teardown)(struct mcfqspi_cs_control *); member
/linux-6.12.1/net/dsa/
Ddsa.c656 goto teardown; in dsa_switch_setup()
662 goto teardown; in dsa_switch_setup()
680 teardown: in dsa_switch_setup()
681 if (ds->ops->teardown) in dsa_switch_setup()
682 ds->ops->teardown(ds); in dsa_switch_setup()
705 if (ds->ops->teardown) in dsa_switch_teardown()
706 ds->ops->teardown(ds); in dsa_switch_teardown()
752 goto teardown; in dsa_tree_setup_ports()
762 goto teardown; in dsa_tree_setup_ports()
769 teardown: in dsa_tree_setup_ports()
/linux-6.12.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-6.12.1/include/linux/platform_data/
Dvideo-ep93xx.h41 void (*teardown)(struct platform_device *pdev); member
/linux-6.12.1/drivers/video/fbdev/
Dep93xx-fb.c565 if (fbi->mach_info->teardown) in ep93xxfb_probe()
566 fbi->mach_info->teardown(pdev); in ep93xxfb_probe()
587 if (fbi->mach_info->teardown) in ep93xxfb_remove()
588 fbi->mach_info->teardown(pdev); in ep93xxfb_remove()
/linux-6.12.1/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.12.1/fs/ocfs2/dlmfs/
Ddlmfs.c299 int teardown; in dlmfs_evict_inode() local
310 teardown = !!(lockres->l_flags & USER_LOCK_IN_TEARDOWN); in dlmfs_evict_inode()
312 if (!teardown) { in dlmfs_evict_inode()
/linux-6.12.1/include/linux/mfd/
Dtps65010.h198 void (*teardown)(struct i2c_client *client, struct gpio_chip *gc); member
/linux-6.12.1/tools/testing/selftests/tc-testing/creating-plugins/
DAddingPlugins.txt22 teardown
81 'teardown'

123