]> Git Repo - linux.git/blame - .clang-format
drm/amd/display: Fix PSR-SU not support but still call the amdgpu_dm_psr_enable
[linux.git] / .clang-format
CommitLineData
d4ef8d3f
MO
1# SPDX-License-Identifier: GPL-2.0
2#
781121a7 3# clang-format configuration file. Intended for clang-format >= 11.
d4ef8d3f
MO
4#
5# For more information, see:
6#
e3b10a02 7# Documentation/dev-tools/clang-format.rst
d4ef8d3f
MO
8# https://clang.llvm.org/docs/ClangFormat.html
9# https://clang.llvm.org/docs/ClangFormatStyleOptions.html
10#
11---
12AccessModifierOffset: -4
13AlignAfterOpenBracket: Align
14AlignConsecutiveAssignments: false
15AlignConsecutiveDeclarations: false
96232c7d 16AlignEscapedNewlines: Left
d4ef8d3f
MO
17AlignOperands: true
18AlignTrailingComments: false
19AllowAllParametersOfDeclarationOnNextLine: false
20AllowShortBlocksOnASingleLine: false
21AllowShortCaseLabelsOnASingleLine: false
22AllowShortFunctionsOnASingleLine: None
23AllowShortIfStatementsOnASingleLine: false
24AllowShortLoopsOnASingleLine: false
25AlwaysBreakAfterDefinitionReturnType: None
26AlwaysBreakAfterReturnType: None
27AlwaysBreakBeforeMultilineStrings: false
28AlwaysBreakTemplateDeclarations: false
29BinPackArguments: true
30BinPackParameters: true
31BraceWrapping:
32 AfterClass: false
33 AfterControlStatement: false
34 AfterEnum: false
35 AfterFunction: true
36 AfterNamespace: true
37 AfterObjCDeclaration: false
38 AfterStruct: false
39 AfterUnion: false
96232c7d 40 AfterExternBlock: false
d4ef8d3f
MO
41 BeforeCatch: false
42 BeforeElse: false
43 IndentBraces: false
96232c7d
MS
44 SplitEmptyFunction: true
45 SplitEmptyRecord: true
46 SplitEmptyNamespace: true
d4ef8d3f
MO
47BreakBeforeBinaryOperators: None
48BreakBeforeBraces: Custom
96232c7d 49BreakBeforeInheritanceComma: false
d4ef8d3f
MO
50BreakBeforeTernaryOperators: false
51BreakConstructorInitializersBeforeComma: false
96232c7d 52BreakConstructorInitializers: BeforeComma
d4ef8d3f
MO
53BreakAfterJavaFieldAnnotations: false
54BreakStringLiterals: false
55ColumnLimit: 80
56CommentPragmas: '^ IWYU pragma:'
96232c7d 57CompactNamespaces: false
d4ef8d3f
MO
58ConstructorInitializerAllOnOneLineOrOnePerLine: false
59ConstructorInitializerIndentWidth: 8
60ContinuationIndentWidth: 8
61Cpp11BracedListStyle: false
62DerivePointerAlignment: false
63DisableFormat: false
64ExperimentalAutoDetectBinPacking: false
96232c7d 65FixNamespaceComments: false
d4ef8d3f
MO
66
67# Taken from:
49bb63a2 68# git grep -h '^#define [^[:space:]]*for_each[^[:space:]]*(' include/ tools/ \
d4ef8d3f 69# | sed "s,^#define \([^[:space:]]*for_each[^[:space:]]*\)(.*$, - '\1'," \
72e14aa9 70# | LC_ALL=C sort -u
d4ef8d3f 71ForEachMacros:
43120879
MO
72 - '__ata_qc_for_each'
73 - '__bio_for_each_bvec'
74 - '__bio_for_each_segment'
49bb63a2
MS
75 - '__evlist__for_each_entry'
76 - '__evlist__for_each_entry_continue'
77 - '__evlist__for_each_entry_from'
78 - '__evlist__for_each_entry_reverse'
79 - '__evlist__for_each_entry_safe'
43120879
MO
80 - '__for_each_mem_range'
81 - '__for_each_mem_range_rev'
82 - '__for_each_thread'
83 - '__hlist_for_each_rcu'
49bb63a2 84 - '__map__for_each_symbol_by_name'
5a205c6a
MO
85 - '__pci_bus_for_each_res0'
86 - '__pci_bus_for_each_res1'
87 - '__pci_dev_for_each_res0'
88 - '__pci_dev_for_each_res1'
49bb63a2
MS
89 - '__perf_evlist__for_each_entry'
90 - '__perf_evlist__for_each_entry_reverse'
91 - '__perf_evlist__for_each_entry_safe'
43120879
MO
92 - '__rq_for_each_bio'
93 - '__shost_for_each_device'
5a205c6a 94 - '__sym_for_each'
d4ef8d3f
MO
95 - 'apei_estatus_for_each_section'
96 - 'ata_for_each_dev'
97 - 'ata_for_each_link'
99e309b6
JG
98 - 'ata_qc_for_each'
99 - 'ata_qc_for_each_raw'
100 - 'ata_qc_for_each_with_internal'
d4ef8d3f
MO
101 - 'ax25_for_each'
102 - 'ax25_uid_for_each'
f16628d6 103 - 'bio_for_each_bvec'
1072c12d 104 - 'bio_for_each_bvec_all'
88217894 105 - 'bio_for_each_folio_all'
d4ef8d3f 106 - 'bio_for_each_integrity_vec'
d4ef8d3f
MO
107 - 'bio_for_each_segment'
108 - 'bio_for_each_segment_all'
109 - 'bio_list_for_each'
110 - 'bip_for_each_vec'
d4ef8d3f
MO
111 - 'bond_for_each_slave'
112 - 'bond_for_each_slave_rcu'
5a205c6a
MO
113 - 'bpf_for_each'
114 - 'bpf_for_each_reg_in_vstate'
115 - 'bpf_for_each_reg_in_vstate_mask'
99e309b6 116 - 'bpf_for_each_spilled_reg'
49bb63a2
MS
117 - 'bpf_object__for_each_map'
118 - 'bpf_object__for_each_program'
d4ef8d3f
MO
119 - 'btree_for_each_safe128'
120 - 'btree_for_each_safe32'
121 - 'btree_for_each_safe64'
122 - 'btree_for_each_safel'
123 - 'card_for_each_dev'
124 - 'cgroup_taskset_for_each'
125 - 'cgroup_taskset_for_each_leader'
5a205c6a 126 - 'cpu_aggr_map__for_each_idx'
88217894 127 - 'cpufreq_for_each_efficient_entry_idx'
d4ef8d3f
MO
128 - 'cpufreq_for_each_entry'
129 - 'cpufreq_for_each_entry_idx'
130 - 'cpufreq_for_each_valid_entry'
131 - 'cpufreq_for_each_valid_entry_idx'
132 - 'css_for_each_child'
133 - 'css_for_each_descendant_post'
134 - 'css_for_each_descendant_pre'
88217894 135 - 'damon_for_each_region'
5a205c6a 136 - 'damon_for_each_region_from'
88217894
MO
137 - 'damon_for_each_region_safe'
138 - 'damon_for_each_scheme'
139 - 'damon_for_each_scheme_safe'
140 - 'damon_for_each_target'
141 - 'damon_for_each_target_safe'
5a205c6a
MO
142 - 'damos_for_each_filter'
143 - 'damos_for_each_filter_safe'
c147f663
JC
144 - 'damos_for_each_quota_goal'
145 - 'damos_for_each_quota_goal_safe'
49bb63a2
MS
146 - 'data__for_each_file'
147 - 'data__for_each_file_new'
148 - 'data__for_each_file_start'
d4ef8d3f 149 - 'device_for_each_child_node'
c147f663 150 - 'device_for_each_child_node_scoped'
88217894 151 - 'dma_fence_array_for_each'
52d08347 152 - 'dma_fence_chain_for_each'
88217894
MO
153 - 'dma_fence_unwrap_for_each'
154 - 'dma_resv_for_each_fence'
155 - 'dma_resv_for_each_fence_unlocked'
4e4bb894 156 - 'do_for_each_ftrace_op'
d4ef8d3f
MO
157 - 'drm_atomic_crtc_for_each_plane'
158 - 'drm_atomic_crtc_state_for_each_plane'
159 - 'drm_atomic_crtc_state_for_each_plane_state'
99e309b6 160 - 'drm_atomic_for_each_plane_damage'
52d08347
MO
161 - 'drm_client_for_each_connector_iter'
162 - 'drm_client_for_each_modeset'
99e309b6 163 - 'drm_connector_for_each_possible_encoder'
5a205c6a
MO
164 - 'drm_exec_for_each_locked_object'
165 - 'drm_exec_for_each_locked_object_reverse'
11a4a8f7 166 - 'drm_for_each_bridge_in_chain'
d4ef8d3f
MO
167 - 'drm_for_each_connector_iter'
168 - 'drm_for_each_crtc'
1074f8ec 169 - 'drm_for_each_crtc_reverse'
d4ef8d3f
MO
170 - 'drm_for_each_encoder'
171 - 'drm_for_each_encoder_mask'
172 - 'drm_for_each_fb'
173 - 'drm_for_each_legacy_plane'
174 - 'drm_for_each_plane'
175 - 'drm_for_each_plane_mask'
f16628d6 176 - 'drm_for_each_privobj'
c147f663
JC
177 - 'drm_gem_for_each_gpuvm_bo'
178 - 'drm_gem_for_each_gpuvm_bo_safe'
5a205c6a
MO
179 - 'drm_gpuva_for_each_op'
180 - 'drm_gpuva_for_each_op_from_reverse'
c147f663 181 - 'drm_gpuva_for_each_op_reverse'
5a205c6a 182 - 'drm_gpuva_for_each_op_safe'
c147f663
JC
183 - 'drm_gpuvm_bo_for_each_va'
184 - 'drm_gpuvm_bo_for_each_va_safe'
5a205c6a
MO
185 - 'drm_gpuvm_for_each_va'
186 - 'drm_gpuvm_for_each_va_range'
187 - 'drm_gpuvm_for_each_va_range_safe'
188 - 'drm_gpuvm_for_each_va_safe'
d4ef8d3f
MO
189 - 'drm_mm_for_each_hole'
190 - 'drm_mm_for_each_node'
191 - 'drm_mm_for_each_node_in_range'
192 - 'drm_mm_for_each_node_safe'
88217894
MO
193 - 'dsa_switch_for_each_available_port'
194 - 'dsa_switch_for_each_cpu_port'
5a205c6a 195 - 'dsa_switch_for_each_cpu_port_continue_reverse'
88217894
MO
196 - 'dsa_switch_for_each_port'
197 - 'dsa_switch_for_each_port_continue_reverse'
198 - 'dsa_switch_for_each_port_safe'
199 - 'dsa_switch_for_each_user_port'
c147f663 200 - 'dsa_switch_for_each_user_port_continue_reverse'
5a205c6a 201 - 'dsa_tree_for_each_cpu_port'
88217894 202 - 'dsa_tree_for_each_user_port'
5a205c6a 203 - 'dsa_tree_for_each_user_port_continue_reverse'
49bb63a2 204 - 'dso__for_each_symbol'
49bb63a2 205 - 'elf_hash_for_each_possible'
49bb63a2
MS
206 - 'elf_symtab__for_each_symbol'
207 - 'evlist__for_each_cpu'
208 - 'evlist__for_each_entry'
209 - 'evlist__for_each_entry_continue'
210 - 'evlist__for_each_entry_from'
211 - 'evlist__for_each_entry_reverse'
212 - 'evlist__for_each_entry_safe'
f16628d6 213 - 'flow_action_for_each'
5a205c6a 214 - 'for_each_acpi_consumer_dev'
4792f9dd 215 - 'for_each_acpi_dev_match'
52d08347 216 - 'for_each_active_dev_scope'
d4ef8d3f
MO
217 - 'for_each_active_drhd_unit'
218 - 'for_each_active_iommu'
837f92f0 219 - 'for_each_active_route'
4e4bb894 220 - 'for_each_aggr_pgid'
5a205c6a
MO
221 - 'for_each_and_bit'
222 - 'for_each_andnot_bit'
d4ef8d3f 223 - 'for_each_available_child_of_node'
c147f663 224 - 'for_each_available_child_of_node_scoped'
49bb63a2 225 - 'for_each_bench'
d4ef8d3f
MO
226 - 'for_each_bio'
227 - 'for_each_board_func_rsrc'
49bb63a2
MS
228 - 'for_each_btf_ext_rec'
229 - 'for_each_btf_ext_sec'
d4ef8d3f 230 - 'for_each_bvec'
11a4a8f7
MO
231 - 'for_each_card_auxs'
232 - 'for_each_card_auxs_safe'
99e309b6 233 - 'for_each_card_components'
5d65a021 234 - 'for_each_card_dapms'
11a4a8f7 235 - 'for_each_card_pre_auxs'
99e309b6
JG
236 - 'for_each_card_prelinks'
237 - 'for_each_card_rtds'
238 - 'for_each_card_rtds_safe'
5d65a021
MO
239 - 'for_each_card_widgets'
240 - 'for_each_card_widgets_safe'
99e309b6 241 - 'for_each_cgroup_storage_type'
d4ef8d3f 242 - 'for_each_child_of_node'
c147f663 243 - 'for_each_child_of_node_scoped'
d4ef8d3f
MO
244 - 'for_each_clear_bit'
245 - 'for_each_clear_bit_from'
88217894
MO
246 - 'for_each_clear_bitrange'
247 - 'for_each_clear_bitrange_from'
49bb63a2 248 - 'for_each_cmd'
d4ef8d3f 249 - 'for_each_cmsghdr'
49bb63a2 250 - 'for_each_collection'
43120879 251 - 'for_each_comp_order'
d4ef8d3f 252 - 'for_each_compatible_node'
99e309b6
JG
253 - 'for_each_component_dais'
254 - 'for_each_component_dais_safe'
5a205c6a 255 - 'for_each_conduit'
d4ef8d3f 256 - 'for_each_console'
6c4afa79 257 - 'for_each_console_srcu'
d4ef8d3f
MO
258 - 'for_each_cpu'
259 - 'for_each_cpu_and'
5a205c6a 260 - 'for_each_cpu_andnot'
c147f663 261 - 'for_each_cpu_from'
5a205c6a 262 - 'for_each_cpu_or'
d4ef8d3f 263 - 'for_each_cpu_wrap'
5d65a021 264 - 'for_each_dapm_widgets'
49bb63a2 265 - 'for_each_dedup_cand'
d4ef8d3f 266 - 'for_each_dev_addr'
52d08347 267 - 'for_each_dev_scope'
d4ef8d3f 268 - 'for_each_dma_cap_mask'
99e309b6
JG
269 - 'for_each_dpcm_be'
270 - 'for_each_dpcm_be_rollback'
271 - 'for_each_dpcm_be_safe'
272 - 'for_each_dpcm_fe'
d4ef8d3f
MO
273 - 'for_each_drhd_unit'
274 - 'for_each_dss_dev'
275 - 'for_each_efi_memory_desc'
276 - 'for_each_efi_memory_desc_in_map'
f16628d6
MO
277 - 'for_each_element'
278 - 'for_each_element_extid'
279 - 'for_each_element_id'
c147f663 280 - 'for_each_enabled_cpu'
d4ef8d3f 281 - 'for_each_endpoint_of_node'
49bb63a2
MS
282 - 'for_each_event'
283 - 'for_each_event_tps'
d4ef8d3f
MO
284 - 'for_each_evictable_lru'
285 - 'for_each_fib6_node_rt_rcu'
286 - 'for_each_fib6_walker_rt'
c147f663 287 - 'for_each_file_lock'
52d08347 288 - 'for_each_free_mem_pfn_range_in_zone_from'
d4ef8d3f
MO
289 - 'for_each_free_mem_range'
290 - 'for_each_free_mem_range_reverse'
291 - 'for_each_func_rsrc'
5a205c6a 292 - 'for_each_gpiochip_node'
49bb63a2 293 - 'for_each_group_evsel'
5a205c6a 294 - 'for_each_group_evsel_head'
49bb63a2 295 - 'for_each_group_member'
5a205c6a 296 - 'for_each_group_member_head'
d4ef8d3f 297 - 'for_each_hstate'
c147f663 298 - 'for_each_hwgpio'
d4ef8d3f 299 - 'for_each_if'
49bb63a2
MS
300 - 'for_each_inject_fn'
301 - 'for_each_insn'
c147f663 302 - 'for_each_insn_op_loc'
49bb63a2
MS
303 - 'for_each_insn_prefix'
304 - 'for_each_intid'
d4ef8d3f
MO
305 - 'for_each_iommu'
306 - 'for_each_ip_tunnel_rcu'
307 - 'for_each_irq_nr'
49bb63a2 308 - 'for_each_lang'
c147f663 309 - 'for_each_link_ch_maps'
99e309b6 310 - 'for_each_link_codecs'
5d65a021 311 - 'for_each_link_cpus'
52d08347 312 - 'for_each_link_platforms'
d4ef8d3f
MO
313 - 'for_each_lru'
314 - 'for_each_matching_node'
315 - 'for_each_matching_node_and_match'
5a205c6a 316 - 'for_each_media_entity_data_link'
d4ef8d3f
MO
317 - 'for_each_mem_pfn_range'
318 - 'for_each_mem_range'
319 - 'for_each_mem_range_rev'
1074f8ec 320 - 'for_each_mem_region'
43120879 321 - 'for_each_member'
49bb63a2 322 - 'for_each_memory'
d4ef8d3f 323 - 'for_each_migratetype_order'
49bb63a2 324 - 'for_each_missing_reg'
5a205c6a
MO
325 - 'for_each_mle_subelement'
326 - 'for_each_mod_mem_type'
d4ef8d3f 327 - 'for_each_net'
11a4a8f7 328 - 'for_each_net_continue_reverse'
43120879 329 - 'for_each_net_rcu'
d4ef8d3f
MO
330 - 'for_each_netdev'
331 - 'for_each_netdev_continue'
332 - 'for_each_netdev_continue_rcu'
11a4a8f7 333 - 'for_each_netdev_continue_reverse'
5a205c6a 334 - 'for_each_netdev_dump'
d4ef8d3f
MO
335 - 'for_each_netdev_feature'
336 - 'for_each_netdev_in_bond_rcu'
337 - 'for_each_netdev_rcu'
338 - 'for_each_netdev_reverse'
339 - 'for_each_netdev_safe'
d4ef8d3f
MO
340 - 'for_each_new_connector_in_state'
341 - 'for_each_new_crtc_in_state'
f16628d6 342 - 'for_each_new_mst_mgr_in_state'
d4ef8d3f 343 - 'for_each_new_plane_in_state'
88217894 344 - 'for_each_new_plane_in_state_reverse'
d4ef8d3f 345 - 'for_each_new_private_obj_in_state'
49bb63a2 346 - 'for_each_new_reg'
c147f663
JC
347 - 'for_each_nhlt_endpoint'
348 - 'for_each_nhlt_endpoint_fmtcfg'
349 - 'for_each_nhlt_fmtcfg'
d4ef8d3f
MO
350 - 'for_each_node'
351 - 'for_each_node_by_name'
352 - 'for_each_node_by_type'
353 - 'for_each_node_mask'
354 - 'for_each_node_state'
355 - 'for_each_node_with_cpus'
356 - 'for_each_node_with_property'
4e4bb894 357 - 'for_each_nonreserved_multicast_dest_pgid'
5a205c6a 358 - 'for_each_numa_hop_mask'
d4ef8d3f
MO
359 - 'for_each_of_allnodes'
360 - 'for_each_of_allnodes_from'
99e309b6 361 - 'for_each_of_cpu_node'
d4ef8d3f
MO
362 - 'for_each_of_pci_range'
363 - 'for_each_old_connector_in_state'
364 - 'for_each_old_crtc_in_state'
f16628d6 365 - 'for_each_old_mst_mgr_in_state'
43120879
MO
366 - 'for_each_old_plane_in_state'
367 - 'for_each_old_private_obj_in_state'
d4ef8d3f
MO
368 - 'for_each_oldnew_connector_in_state'
369 - 'for_each_oldnew_crtc_in_state'
f16628d6 370 - 'for_each_oldnew_mst_mgr_in_state'
d4ef8d3f 371 - 'for_each_oldnew_plane_in_state'
99e309b6 372 - 'for_each_oldnew_plane_in_state_reverse'
d4ef8d3f 373 - 'for_each_oldnew_private_obj_in_state'
d4ef8d3f
MO
374 - 'for_each_online_cpu'
375 - 'for_each_online_node'
376 - 'for_each_online_pgdat'
5a205c6a 377 - 'for_each_or_bit'
49bb63a2 378 - 'for_each_path'
d4ef8d3f
MO
379 - 'for_each_pci_bridge'
380 - 'for_each_pci_dev'
5d65a021 381 - 'for_each_pcm_streams'
4e4bb894 382 - 'for_each_physmem_range'
d4ef8d3f
MO
383 - 'for_each_populated_zone'
384 - 'for_each_possible_cpu'
5a205c6a 385 - 'for_each_present_blessed_reg'
d4ef8d3f
MO
386 - 'for_each_present_cpu'
387 - 'for_each_prime_number'
388 - 'for_each_prime_number_from'
49bb63a2 389 - 'for_each_probe_cache_entry'
d4ef8d3f
MO
390 - 'for_each_process'
391 - 'for_each_process_thread'
4792f9dd
MO
392 - 'for_each_prop_codec_conf'
393 - 'for_each_prop_dai_codec'
394 - 'for_each_prop_dai_cpu'
395 - 'for_each_prop_dlc_codecs'
396 - 'for_each_prop_dlc_cpus'
397 - 'for_each_prop_dlc_platforms'
d4ef8d3f 398 - 'for_each_property_of_node'
49bb63a2
MS
399 - 'for_each_reg'
400 - 'for_each_reg_filtered'
5a205c6a
MO
401 - 'for_each_reloc'
402 - 'for_each_reloc_from'
4e4bb894
MO
403 - 'for_each_requested_gpio'
404 - 'for_each_requested_gpio_in_range'
c147f663 405 - 'for_each_reserved_child_of_node'
9f3d5eaa 406 - 'for_each_reserved_mem_range'
cc6de168 407 - 'for_each_reserved_mem_region'
c147f663 408 - 'for_each_rtd_ch_maps'
5d65a021 409 - 'for_each_rtd_codec_dais'
11a4a8f7 410 - 'for_each_rtd_components'
5d65a021 411 - 'for_each_rtd_cpu_dais'
5d65a021 412 - 'for_each_rtd_dais'
c147f663 413 - 'for_each_rtd_dais_reverse'
5a205c6a 414 - 'for_each_sband_iftype_data'
49bb63a2
MS
415 - 'for_each_script'
416 - 'for_each_sec'
d4ef8d3f
MO
417 - 'for_each_set_bit'
418 - 'for_each_set_bit_from'
5a205c6a 419 - 'for_each_set_bit_wrap'
88217894
MO
420 - 'for_each_set_bitrange'
421 - 'for_each_set_bitrange_from'
11a4a8f7 422 - 'for_each_set_clump8'
d4ef8d3f 423 - 'for_each_sg'
d901b276 424 - 'for_each_sg_dma_page'
d4ef8d3f 425 - 'for_each_sg_page'
4e4bb894
MO
426 - 'for_each_sgtable_dma_page'
427 - 'for_each_sgtable_dma_sg'
428 - 'for_each_sgtable_page'
429 - 'for_each_sgtable_sg'
99e309b6 430 - 'for_each_sibling_event'
5a205c6a 431 - 'for_each_sta_active_link'
f16628d6
MO
432 - 'for_each_subelement'
433 - 'for_each_subelement_extid'
434 - 'for_each_subelement_id'
49bb63a2
MS
435 - 'for_each_sublist'
436 - 'for_each_subsystem'
437 - 'for_each_supported_activate_fn'
438 - 'for_each_supported_inject_fn'
5a205c6a 439 - 'for_each_sym'
49bb63a2 440 - 'for_each_test'
d4ef8d3f 441 - 'for_each_thread'
49bb63a2 442 - 'for_each_token'
4e4bb894 443 - 'for_each_unicast_dest_pgid'
5a205c6a
MO
444 - 'for_each_valid_link'
445 - 'for_each_vif_active_link'
446 - 'for_each_vma'
447 - 'for_each_vma_range'
1074f8ec 448 - 'for_each_vsi'
11a4a8f7 449 - 'for_each_wakeup_source'
d4ef8d3f
MO
450 - 'for_each_zone'
451 - 'for_each_zone_zonelist'
452 - 'for_each_zone_zonelist_nodemask'
49bb63a2 453 - 'func_for_each_insn'
d4ef8d3f
MO
454 - 'fwnode_for_each_available_child_node'
455 - 'fwnode_for_each_child_node'
5a205c6a 456 - 'fwnode_for_each_parent_node'
d4ef8d3f
MO
457 - 'fwnode_graph_for_each_endpoint'
458 - 'gadget_for_each_ep'
f16628d6
MO
459 - 'genradix_for_each'
460 - 'genradix_for_each_from'
5a205c6a 461 - 'genradix_for_each_reverse'
d4ef8d3f
MO
462 - 'hash_for_each'
463 - 'hash_for_each_possible'
464 - 'hash_for_each_possible_rcu'
465 - 'hash_for_each_possible_rcu_notrace'
466 - 'hash_for_each_possible_safe'
467 - 'hash_for_each_rcu'
468 - 'hash_for_each_safe'
49bb63a2
MS
469 - 'hashmap__for_each_entry'
470 - 'hashmap__for_each_entry_safe'
471 - 'hashmap__for_each_key_entry'
472 - 'hashmap__for_each_key_entry_safe'
d4ef8d3f 473 - 'hctx_for_each_ctx'
49bb63a2
MS
474 - 'hists__for_each_format'
475 - 'hists__for_each_sort_list'
d4ef8d3f
MO
476 - 'hlist_bl_for_each_entry'
477 - 'hlist_bl_for_each_entry_rcu'
478 - 'hlist_bl_for_each_entry_safe'
479 - 'hlist_for_each'
480 - 'hlist_for_each_entry'
481 - 'hlist_for_each_entry_continue'
482 - 'hlist_for_each_entry_continue_rcu'
483 - 'hlist_for_each_entry_continue_rcu_bh'
484 - 'hlist_for_each_entry_from'
485 - 'hlist_for_each_entry_from_rcu'
486 - 'hlist_for_each_entry_rcu'
487 - 'hlist_for_each_entry_rcu_bh'
488 - 'hlist_for_each_entry_rcu_notrace'
489 - 'hlist_for_each_entry_safe'
1074f8ec 490 - 'hlist_for_each_entry_srcu'
d4ef8d3f
MO
491 - 'hlist_for_each_safe'
492 - 'hlist_nulls_for_each_entry'
493 - 'hlist_nulls_for_each_entry_from'
494 - 'hlist_nulls_for_each_entry_rcu'
495 - 'hlist_nulls_for_each_entry_safe'
99e309b6
JG
496 - 'i3c_bus_for_each_i2cdev'
497 - 'i3c_bus_for_each_i3cdev'
d4ef8d3f
MO
498 - 'idr_for_each_entry'
499 - 'idr_for_each_entry_continue'
52d08347 500 - 'idr_for_each_entry_continue_ul'
d4ef8d3f 501 - 'idr_for_each_entry_ul'
52d08347
MO
502 - 'in_dev_for_each_ifa_rcu'
503 - 'in_dev_for_each_ifa_rtnl'
d4ef8d3f 504 - 'inet_bind_bucket_for_each'
5fe93786 505 - 'interval_tree_for_each_span'
49bb63a2
MS
506 - 'intlist__for_each_entry'
507 - 'intlist__for_each_entry_safe'
508 - 'kcore_copy__for_each_phdr'
d4ef8d3f
MO
509 - 'key_for_each'
510 - 'key_for_each_safe'
511 - 'klp_for_each_func'
f16628d6
MO
512 - 'klp_for_each_func_safe'
513 - 'klp_for_each_func_static'
d4ef8d3f 514 - 'klp_for_each_object'
f16628d6
MO
515 - 'klp_for_each_object_safe'
516 - 'klp_for_each_object_static'
5d65a021 517 - 'kunit_suite_for_each_test_case'
d4ef8d3f 518 - 'kvm_for_each_memslot'
88217894 519 - 'kvm_for_each_memslot_in_gfn_range'
d4ef8d3f 520 - 'kvm_for_each_vcpu'
49bb63a2 521 - 'libbpf_nla_for_each_attr'
d4ef8d3f 522 - 'list_for_each'
99e309b6
JG
523 - 'list_for_each_codec'
524 - 'list_for_each_codec_safe'
11a4a8f7 525 - 'list_for_each_continue'
d4ef8d3f
MO
526 - 'list_for_each_entry'
527 - 'list_for_each_entry_continue'
528 - 'list_for_each_entry_continue_rcu'
529 - 'list_for_each_entry_continue_reverse'
530 - 'list_for_each_entry_from'
99e309b6 531 - 'list_for_each_entry_from_rcu'
d4ef8d3f
MO
532 - 'list_for_each_entry_from_reverse'
533 - 'list_for_each_entry_lockless'
534 - 'list_for_each_entry_rcu'
535 - 'list_for_each_entry_reverse'
536 - 'list_for_each_entry_safe'
537 - 'list_for_each_entry_safe_continue'
538 - 'list_for_each_entry_safe_from'
539 - 'list_for_each_entry_safe_reverse'
1074f8ec 540 - 'list_for_each_entry_srcu'
49bb63a2 541 - 'list_for_each_from'
d4ef8d3f
MO
542 - 'list_for_each_prev'
543 - 'list_for_each_prev_safe'
5a205c6a
MO
544 - 'list_for_each_rcu'
545 - 'list_for_each_reverse'
d4ef8d3f
MO
546 - 'list_for_each_safe'
547 - 'llist_for_each'
548 - 'llist_for_each_entry'
549 - 'llist_for_each_entry_safe'
550 - 'llist_for_each_safe'
5a205c6a 551 - 'lwq_for_each_safe'
49bb63a2
MS
552 - 'map__for_each_symbol'
553 - 'map__for_each_symbol_by_name'
2a0b726b 554 - 'mas_for_each'
11a4a8f7 555 - 'mci_for_each_dimm'
d4ef8d3f
MO
556 - 'media_device_for_each_entity'
557 - 'media_device_for_each_intf'
558 - 'media_device_for_each_link'
559 - 'media_device_for_each_pad'
5a205c6a
MO
560 - 'media_entity_for_each_pad'
561 - 'media_pipeline_for_each_entity'
562 - 'media_pipeline_for_each_pad'
563 - 'mlx5_lag_for_each_peer_mdev'
564 - 'msi_domain_for_each_desc'
88217894 565 - 'msi_for_each_desc'
2a0b726b 566 - 'mt_for_each'
99e309b6 567 - 'nanddev_io_for_each_page'
d4ef8d3f
MO
568 - 'netdev_for_each_lower_dev'
569 - 'netdev_for_each_lower_private'
570 - 'netdev_for_each_lower_private_rcu'
571 - 'netdev_for_each_mc_addr'
5a205c6a
MO
572 - 'netdev_for_each_synced_mc_addr'
573 - 'netdev_for_each_synced_uc_addr'
d4ef8d3f
MO
574 - 'netdev_for_each_uc_addr'
575 - 'netdev_for_each_upper_dev_rcu'
576 - 'netdev_hw_addr_list_for_each'
577 - 'nft_rule_for_each_expr'
578 - 'nla_for_each_attr'
c147f663 579 - 'nla_for_each_attr_type'
d4ef8d3f 580 - 'nla_for_each_nested'
c147f663 581 - 'nla_for_each_nested_type'
d4ef8d3f
MO
582 - 'nlmsg_for_each_attr'
583 - 'nlmsg_for_each_msg'
584 - 'nr_neigh_for_each'
585 - 'nr_neigh_for_each_safe'
586 - 'nr_node_for_each'
587 - 'nr_node_for_each_safe'
588 - 'of_for_each_phandle'
589 - 'of_property_for_each_string'
590 - 'of_property_for_each_u32'
591 - 'pci_bus_for_each_resource'
09cc9006 592 - 'pci_dev_for_each_resource'
1074f8ec
MO
593 - 'pcl_for_each_chunk'
594 - 'pcl_for_each_segment'
5d65a021 595 - 'pcm_for_each_format'
49bb63a2
MS
596 - 'perf_config_items__for_each_entry'
597 - 'perf_config_sections__for_each_entry'
598 - 'perf_config_set__for_each_entry'
599 - 'perf_cpu_map__for_each_cpu'
c147f663 600 - 'perf_cpu_map__for_each_cpu_skip_any'
5a205c6a 601 - 'perf_cpu_map__for_each_idx'
49bb63a2
MS
602 - 'perf_evlist__for_each_entry'
603 - 'perf_evlist__for_each_entry_reverse'
604 - 'perf_evlist__for_each_entry_safe'
605 - 'perf_evlist__for_each_evsel'
606 - 'perf_evlist__for_each_mmap'
607 - 'perf_hpp_list__for_each_format'
608 - 'perf_hpp_list__for_each_format_safe'
609 - 'perf_hpp_list__for_each_sort_list'
610 - 'perf_hpp_list__for_each_sort_list_safe'
5a205c6a 611 - 'perf_tool_event__for_each_event'
d4ef8d3f
MO
612 - 'plist_for_each'
613 - 'plist_for_each_continue'
614 - 'plist_for_each_entry'
615 - 'plist_for_each_entry_continue'
616 - 'plist_for_each_entry_safe'
617 - 'plist_for_each_safe'
618 - 'pnp_for_each_card'
619 - 'pnp_for_each_dev'
620 - 'protocol_for_each_card'
621 - 'protocol_for_each_dev'
622 - 'queue_for_each_hw_ctx'
d4ef8d3f
MO
623 - 'radix_tree_for_each_slot'
624 - 'radix_tree_for_each_tagged'
4792f9dd 625 - 'rb_for_each'
d4ef8d3f 626 - 'rbtree_postorder_for_each_entry_safe'
52d08347 627 - 'rdma_for_each_block'
ea1075ed 628 - 'rdma_for_each_port'
ebc24096 629 - 'rdma_umem_for_each_dma_block'
49bb63a2 630 - 'resort_rb__for_each_entry'
d4ef8d3f
MO
631 - 'resource_list_for_each_entry'
632 - 'resource_list_for_each_entry_safe'
633 - 'rhl_for_each_entry_rcu'
634 - 'rhl_for_each_rcu'
635 - 'rht_for_each'
d4ef8d3f 636 - 'rht_for_each_entry'
f7ad68bf 637 - 'rht_for_each_entry_from'
d4ef8d3f 638 - 'rht_for_each_entry_rcu'
f7ad68bf 639 - 'rht_for_each_entry_rcu_from'
d4ef8d3f 640 - 'rht_for_each_entry_safe'
52d08347 641 - 'rht_for_each_from'
d4ef8d3f 642 - 'rht_for_each_rcu'
f7ad68bf 643 - 'rht_for_each_rcu_from'
f16628d6 644 - 'rq_for_each_bvec'
d4ef8d3f 645 - 'rq_for_each_segment'
88217894
MO
646 - 'rq_list_for_each'
647 - 'rq_list_for_each_safe'
5a205c6a 648 - 'sample_read_group__for_each'
d4ef8d3f
MO
649 - 'scsi_for_each_prot_sg'
650 - 'scsi_for_each_sg'
651 - 'sctp_for_each_hentry'
652 - 'sctp_skb_for_each'
49bb63a2
MS
653 - 'sec_for_each_insn'
654 - 'sec_for_each_insn_continue'
655 - 'sec_for_each_insn_from'
5a205c6a 656 - 'sec_for_each_sym'
d4ef8d3f 657 - 'shdma_for_each_chan'
d4ef8d3f
MO
658 - 'shost_for_each_device'
659 - 'sk_for_each'
660 - 'sk_for_each_bound'
661 - 'sk_for_each_entry_offset_rcu'
662 - 'sk_for_each_from'
663 - 'sk_for_each_rcu'
664 - 'sk_for_each_safe'
665 - 'sk_nulls_for_each'
666 - 'sk_nulls_for_each_from'
667 - 'sk_nulls_for_each_rcu'
99e309b6 668 - 'snd_array_for_each'
d4ef8d3f
MO
669 - 'snd_pcm_group_for_each_entry'
670 - 'snd_soc_dapm_widget_for_each_path'
671 - 'snd_soc_dapm_widget_for_each_path_safe'
672 - 'snd_soc_dapm_widget_for_each_sink_path'
673 - 'snd_soc_dapm_widget_for_each_source_path'
c147f663 674 - 'sparsebit_for_each_set_range'
49bb63a2
MS
675 - 'strlist__for_each_entry'
676 - 'strlist__for_each_entry_safe'
677 - 'sym_for_each_insn'
678 - 'sym_for_each_insn_continue_reverse'
679 - 'symbols__for_each_entry'
d4ef8d3f 680 - 'tb_property_for_each'
88217894 681 - 'tcf_act_for_each_action'
99e309b6 682 - 'tcf_exts_for_each_action'
5a205c6a 683 - 'ttm_resource_manager_for_each_res'
d4ef8d3f
MO
684 - 'udp_portaddr_for_each_entry'
685 - 'udp_portaddr_for_each_entry_rcu'
686 - 'usb_hub_for_each_child'
687 - 'v4l2_device_for_each_subdev'
688 - 'v4l2_m2m_for_each_dst_buf'
689 - 'v4l2_m2m_for_each_dst_buf_safe'
690 - 'v4l2_m2m_for_each_src_buf'
691 - 'v4l2_m2m_for_each_src_buf_safe'
99e309b6 692 - 'virtio_device_for_each_vq'
4e4bb894 693 - 'while_for_each_ftrace_op'
99e309b6 694 - 'xa_for_each'
f16628d6 695 - 'xa_for_each_marked'
11a4a8f7 696 - 'xa_for_each_range'
f16628d6 697 - 'xa_for_each_start'
99e309b6
JG
698 - 'xas_for_each'
699 - 'xas_for_each_conflict'
700 - 'xas_for_each_marked'
11a4a8f7
MO
701 - 'xbc_array_for_each_value'
702 - 'xbc_for_each_key_value'
703 - 'xbc_node_for_each_array_value'
704 - 'xbc_node_for_each_child'
705 - 'xbc_node_for_each_key_value'
88217894 706 - 'xbc_node_for_each_subkey'
c147f663
JC
707 - 'ynl_attr_for_each'
708 - 'ynl_attr_for_each_nested'
709 - 'ynl_attr_for_each_payload'
d4ef8d3f
MO
710 - 'zorro_for_each_dev'
711
96232c7d 712IncludeBlocks: Preserve
d4ef8d3f
MO
713IncludeCategories:
714 - Regex: '.*'
715 Priority: 1
716IncludeIsMainRegex: '(Test)?$'
717IndentCaseLabels: false
d7f66043 718IndentGotoLabels: false
96232c7d 719IndentPPDirectives: None
d4ef8d3f 720IndentWidth: 8
7bee9bd2 721IndentWrappedFunctionNames: false
d4ef8d3f
MO
722JavaScriptQuotes: Leave
723JavaScriptWrapImports: true
724KeepEmptyLinesAtTheStartOfBlocks: false
725MacroBlockBegin: ''
726MacroBlockEnd: ''
727MaxEmptyLinesToKeep: 1
c90f3b8c 728NamespaceIndentation: None
96232c7d 729ObjCBinPackProtocolList: Auto
d4ef8d3f
MO
730ObjCBlockIndentWidth: 8
731ObjCSpaceAfterProperty: true
732ObjCSpaceBeforeProtocolList: true
733
734# Taken from git's rules
96232c7d 735PenaltyBreakAssignment: 10
d4ef8d3f
MO
736PenaltyBreakBeforeFirstCallParameter: 30
737PenaltyBreakComment: 10
738PenaltyBreakFirstLessLess: 0
739PenaltyBreakString: 10
740PenaltyExcessCharacter: 100
741PenaltyReturnTypeOnItsOwnLine: 60
742
743PointerAlignment: Right
744ReflowComments: false
745SortIncludes: false
96232c7d 746SortUsingDeclarations: false
d4ef8d3f
MO
747SpaceAfterCStyleCast: false
748SpaceAfterTemplateKeyword: true
749SpaceBeforeAssignmentOperators: true
96232c7d
MS
750SpaceBeforeCtorInitializerColon: true
751SpaceBeforeInheritanceColon: true
781121a7 752SpaceBeforeParens: ControlStatementsExceptForEachMacros
96232c7d 753SpaceBeforeRangeBasedForLoopColon: true
d4ef8d3f
MO
754SpaceInEmptyParentheses: false
755SpacesBeforeTrailingComments: 1
756SpacesInAngles: false
757SpacesInContainerLiterals: false
758SpacesInCStyleCastParentheses: false
759SpacesInParentheses: false
760SpacesInSquareBrackets: false
761Standard: Cpp03
762TabWidth: 8
763UseTab: Always
764...
This page took 0.352469 seconds and 4 git commands to generate.