1 # SPDX-License-Identifier: GPL-2.0
3 # clang-format configuration file. Intended for clang-format >= 11.
5 # For more information, see:
7 # Documentation/process/clang-format.rst
8 # https://clang.llvm.org/docs/ClangFormat.html
9 # https://clang.llvm.org/docs/ClangFormatStyleOptions.html
12 AccessModifierOffset: -4
13 AlignAfterOpenBracket: Align
14 AlignConsecutiveAssignments: false
15 AlignConsecutiveDeclarations: false
16 AlignEscapedNewlines: Left
18 AlignTrailingComments: false
19 AllowAllParametersOfDeclarationOnNextLine: false
20 AllowShortBlocksOnASingleLine: false
21 AllowShortCaseLabelsOnASingleLine: false
22 AllowShortFunctionsOnASingleLine: None
23 AllowShortIfStatementsOnASingleLine: false
24 AllowShortLoopsOnASingleLine: false
25 AlwaysBreakAfterDefinitionReturnType: None
26 AlwaysBreakAfterReturnType: None
27 AlwaysBreakBeforeMultilineStrings: false
28 AlwaysBreakTemplateDeclarations: false
29 BinPackArguments: true
30 BinPackParameters: true
33 AfterControlStatement: false
37 AfterObjCDeclaration: false
40 AfterExternBlock: false
44 SplitEmptyFunction: true
45 SplitEmptyRecord: true
46 SplitEmptyNamespace: true
47 BreakBeforeBinaryOperators: None
48 BreakBeforeBraces: Custom
49 BreakBeforeInheritanceComma: false
50 BreakBeforeTernaryOperators: false
51 BreakConstructorInitializersBeforeComma: false
52 BreakConstructorInitializers: BeforeComma
53 BreakAfterJavaFieldAnnotations: false
54 BreakStringLiterals: false
56 CommentPragmas: '^ IWYU pragma:'
57 CompactNamespaces: false
58 ConstructorInitializerAllOnOneLineOrOnePerLine: false
59 ConstructorInitializerIndentWidth: 8
60 ContinuationIndentWidth: 8
61 Cpp11BracedListStyle: false
62 DerivePointerAlignment: false
64 ExperimentalAutoDetectBinPacking: false
65 FixNamespaceComments: false
68 # git grep -h '^#define [^[:space:]]*for_each[^[:space:]]*(' include/ tools/ \
69 # | sed "s,^#define \([^[:space:]]*for_each[^[:space:]]*\)(.*$, - '\1'," \
73 - '__bio_for_each_bvec'
74 - '__bio_for_each_segment'
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'
80 - '__for_each_mem_range'
81 - '__for_each_mem_range_rev'
83 - '__hlist_for_each_rcu'
84 - '__map__for_each_symbol_by_name'
85 - '__pci_bus_for_each_res0'
86 - '__pci_bus_for_each_res1'
87 - '__pci_dev_for_each_res0'
88 - '__pci_dev_for_each_res1'
89 - '__perf_evlist__for_each_entry'
90 - '__perf_evlist__for_each_entry_reverse'
91 - '__perf_evlist__for_each_entry_safe'
93 - '__shost_for_each_device'
95 - 'apei_estatus_for_each_section'
99 - 'ata_qc_for_each_raw'
100 - 'ata_qc_for_each_with_internal'
102 - 'ax25_uid_for_each'
103 - 'bio_for_each_bvec'
104 - 'bio_for_each_bvec_all'
105 - 'bio_for_each_folio_all'
106 - 'bio_for_each_integrity_vec'
107 - 'bio_for_each_segment'
108 - 'bio_for_each_segment_all'
109 - 'bio_list_for_each'
111 - 'bond_for_each_slave'
112 - 'bond_for_each_slave_rcu'
114 - 'bpf_for_each_reg_in_vstate'
115 - 'bpf_for_each_reg_in_vstate_mask'
116 - 'bpf_for_each_spilled_reg'
117 - 'bpf_object__for_each_map'
118 - 'bpf_object__for_each_program'
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'
126 - 'cpu_aggr_map__for_each_idx'
127 - 'cpufreq_for_each_efficient_entry_idx'
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'
135 - 'damon_for_each_region'
136 - 'damon_for_each_region_from'
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'
142 - 'damos_for_each_filter'
143 - 'damos_for_each_filter_safe'
144 - 'data__for_each_file'
145 - 'data__for_each_file_new'
146 - 'data__for_each_file_start'
147 - 'device_for_each_child_node'
148 - 'displayid_iter_for_each'
149 - 'dma_fence_array_for_each'
150 - 'dma_fence_chain_for_each'
151 - 'dma_fence_unwrap_for_each'
152 - 'dma_resv_for_each_fence'
153 - 'dma_resv_for_each_fence_unlocked'
154 - 'do_for_each_ftrace_op'
155 - 'drm_atomic_crtc_for_each_plane'
156 - 'drm_atomic_crtc_state_for_each_plane'
157 - 'drm_atomic_crtc_state_for_each_plane_state'
158 - 'drm_atomic_for_each_plane_damage'
159 - 'drm_client_for_each_connector_iter'
160 - 'drm_client_for_each_modeset'
161 - 'drm_connector_for_each_possible_encoder'
162 - 'drm_exec_for_each_locked_object'
163 - 'drm_exec_for_each_locked_object_reverse'
164 - 'drm_for_each_bridge_in_chain'
165 - 'drm_for_each_connector_iter'
166 - 'drm_for_each_crtc'
167 - 'drm_for_each_crtc_reverse'
168 - 'drm_for_each_encoder'
169 - 'drm_for_each_encoder_mask'
171 - 'drm_for_each_legacy_plane'
172 - 'drm_for_each_plane'
173 - 'drm_for_each_plane_mask'
174 - 'drm_for_each_privobj'
175 - 'drm_gem_for_each_gpuva'
176 - 'drm_gem_for_each_gpuva_safe'
177 - 'drm_gpuva_for_each_op'
178 - 'drm_gpuva_for_each_op_from_reverse'
179 - 'drm_gpuva_for_each_op_safe'
180 - 'drm_gpuvm_for_each_va'
181 - 'drm_gpuvm_for_each_va_range'
182 - 'drm_gpuvm_for_each_va_range_safe'
183 - 'drm_gpuvm_for_each_va_safe'
184 - 'drm_mm_for_each_hole'
185 - 'drm_mm_for_each_node'
186 - 'drm_mm_for_each_node_in_range'
187 - 'drm_mm_for_each_node_safe'
188 - 'dsa_switch_for_each_available_port'
189 - 'dsa_switch_for_each_cpu_port'
190 - 'dsa_switch_for_each_cpu_port_continue_reverse'
191 - 'dsa_switch_for_each_port'
192 - 'dsa_switch_for_each_port_continue_reverse'
193 - 'dsa_switch_for_each_port_safe'
194 - 'dsa_switch_for_each_user_port'
195 - 'dsa_tree_for_each_cpu_port'
196 - 'dsa_tree_for_each_user_port'
197 - 'dsa_tree_for_each_user_port_continue_reverse'
198 - 'dso__for_each_symbol'
199 - 'dsos__for_each_with_build_id'
200 - 'elf_hash_for_each_possible'
201 - 'elf_symtab__for_each_symbol'
202 - 'evlist__for_each_cpu'
203 - 'evlist__for_each_entry'
204 - 'evlist__for_each_entry_continue'
205 - 'evlist__for_each_entry_from'
206 - 'evlist__for_each_entry_reverse'
207 - 'evlist__for_each_entry_safe'
208 - 'flow_action_for_each'
209 - 'for_each_acpi_consumer_dev'
210 - 'for_each_acpi_dev_match'
211 - 'for_each_active_dev_scope'
212 - 'for_each_active_drhd_unit'
213 - 'for_each_active_iommu'
214 - 'for_each_active_route'
215 - 'for_each_aggr_pgid'
217 - 'for_each_andnot_bit'
218 - 'for_each_available_child_of_node'
221 - 'for_each_board_func_rsrc'
222 - 'for_each_btf_ext_rec'
223 - 'for_each_btf_ext_sec'
225 - 'for_each_card_auxs'
226 - 'for_each_card_auxs_safe'
227 - 'for_each_card_components'
228 - 'for_each_card_dapms'
229 - 'for_each_card_pre_auxs'
230 - 'for_each_card_prelinks'
231 - 'for_each_card_rtds'
232 - 'for_each_card_rtds_safe'
233 - 'for_each_card_widgets'
234 - 'for_each_card_widgets_safe'
235 - 'for_each_cgroup_storage_type'
236 - 'for_each_child_of_node'
237 - 'for_each_clear_bit'
238 - 'for_each_clear_bit_from'
239 - 'for_each_clear_bitrange'
240 - 'for_each_clear_bitrange_from'
243 - 'for_each_collection'
244 - 'for_each_comp_order'
245 - 'for_each_compatible_node'
246 - 'for_each_component_dais'
247 - 'for_each_component_dais_safe'
250 - 'for_each_console_srcu'
253 - 'for_each_cpu_andnot'
255 - 'for_each_cpu_wrap'
256 - 'for_each_dapm_widgets'
257 - 'for_each_dedup_cand'
258 - 'for_each_dev_addr'
259 - 'for_each_dev_scope'
260 - 'for_each_dma_cap_mask'
262 - 'for_each_dpcm_be_rollback'
263 - 'for_each_dpcm_be_safe'
265 - 'for_each_drhd_unit'
267 - 'for_each_efi_memory_desc'
268 - 'for_each_efi_memory_desc_in_map'
270 - 'for_each_element_extid'
271 - 'for_each_element_id'
272 - 'for_each_endpoint_of_node'
274 - 'for_each_event_tps'
275 - 'for_each_evictable_lru'
276 - 'for_each_fib6_node_rt_rcu'
277 - 'for_each_fib6_walker_rt'
278 - 'for_each_free_mem_pfn_range_in_zone'
279 - 'for_each_free_mem_pfn_range_in_zone_from'
280 - 'for_each_free_mem_range'
281 - 'for_each_free_mem_range_reverse'
282 - 'for_each_func_rsrc'
283 - 'for_each_gpiochip_node'
284 - 'for_each_group_evsel'
285 - 'for_each_group_evsel_head'
286 - 'for_each_group_member'
287 - 'for_each_group_member_head'
290 - 'for_each_inject_fn'
292 - 'for_each_insn_prefix'
295 - 'for_each_ip_tunnel_rcu'
298 - 'for_each_link_codecs'
299 - 'for_each_link_cpus'
300 - 'for_each_link_platforms'
302 - 'for_each_matching_node'
303 - 'for_each_matching_node_and_match'
304 - 'for_each_media_entity_data_link'
305 - 'for_each_mem_pfn_range'
306 - 'for_each_mem_range'
307 - 'for_each_mem_range_rev'
308 - 'for_each_mem_region'
311 - 'for_each_migratetype_order'
312 - 'for_each_missing_reg'
313 - 'for_each_mle_subelement'
314 - 'for_each_mod_mem_type'
316 - 'for_each_net_continue_reverse'
319 - 'for_each_netdev_continue'
320 - 'for_each_netdev_continue_rcu'
321 - 'for_each_netdev_continue_reverse'
322 - 'for_each_netdev_dump'
323 - 'for_each_netdev_feature'
324 - 'for_each_netdev_in_bond_rcu'
325 - 'for_each_netdev_rcu'
326 - 'for_each_netdev_reverse'
327 - 'for_each_netdev_safe'
328 - 'for_each_new_connector_in_state'
329 - 'for_each_new_crtc_in_state'
330 - 'for_each_new_mst_mgr_in_state'
331 - 'for_each_new_plane_in_state'
332 - 'for_each_new_plane_in_state_reverse'
333 - 'for_each_new_private_obj_in_state'
336 - 'for_each_node_by_name'
337 - 'for_each_node_by_type'
338 - 'for_each_node_mask'
339 - 'for_each_node_state'
340 - 'for_each_node_with_cpus'
341 - 'for_each_node_with_property'
342 - 'for_each_nonreserved_multicast_dest_pgid'
343 - 'for_each_numa_hop_mask'
344 - 'for_each_of_allnodes'
345 - 'for_each_of_allnodes_from'
346 - 'for_each_of_cpu_node'
347 - 'for_each_of_pci_range'
348 - 'for_each_old_connector_in_state'
349 - 'for_each_old_crtc_in_state'
350 - 'for_each_old_mst_mgr_in_state'
351 - 'for_each_old_plane_in_state'
352 - 'for_each_old_private_obj_in_state'
353 - 'for_each_oldnew_connector_in_state'
354 - 'for_each_oldnew_crtc_in_state'
355 - 'for_each_oldnew_mst_mgr_in_state'
356 - 'for_each_oldnew_plane_in_state'
357 - 'for_each_oldnew_plane_in_state_reverse'
358 - 'for_each_oldnew_private_obj_in_state'
359 - 'for_each_online_cpu'
360 - 'for_each_online_node'
361 - 'for_each_online_pgdat'
364 - 'for_each_pci_bridge'
366 - 'for_each_pcm_streams'
367 - 'for_each_physmem_range'
368 - 'for_each_populated_zone'
369 - 'for_each_possible_cpu'
370 - 'for_each_present_blessed_reg'
371 - 'for_each_present_cpu'
372 - 'for_each_prime_number'
373 - 'for_each_prime_number_from'
374 - 'for_each_probe_cache_entry'
376 - 'for_each_process_thread'
377 - 'for_each_prop_codec_conf'
378 - 'for_each_prop_dai_codec'
379 - 'for_each_prop_dai_cpu'
380 - 'for_each_prop_dlc_codecs'
381 - 'for_each_prop_dlc_cpus'
382 - 'for_each_prop_dlc_platforms'
383 - 'for_each_property_of_node'
385 - 'for_each_reg_filtered'
387 - 'for_each_reloc_from'
388 - 'for_each_requested_gpio'
389 - 'for_each_requested_gpio_in_range'
390 - 'for_each_reserved_mem_range'
391 - 'for_each_reserved_mem_region'
392 - 'for_each_rtd_codec_dais'
393 - 'for_each_rtd_components'
394 - 'for_each_rtd_cpu_dais'
395 - 'for_each_rtd_dais'
396 - 'for_each_sband_iftype_data'
400 - 'for_each_set_bit_from'
401 - 'for_each_set_bit_wrap'
402 - 'for_each_set_bitrange'
403 - 'for_each_set_bitrange_from'
404 - 'for_each_set_clump8'
406 - 'for_each_sg_dma_page'
408 - 'for_each_sgtable_dma_page'
409 - 'for_each_sgtable_dma_sg'
410 - 'for_each_sgtable_page'
411 - 'for_each_sgtable_sg'
412 - 'for_each_sibling_event'
413 - 'for_each_sta_active_link'
414 - 'for_each_subelement'
415 - 'for_each_subelement_extid'
416 - 'for_each_subelement_id'
418 - 'for_each_subsystem'
419 - 'for_each_supported_activate_fn'
420 - 'for_each_supported_inject_fn'
425 - 'for_each_unicast_dest_pgid'
426 - 'for_each_valid_link'
427 - 'for_each_vif_active_link'
429 - 'for_each_vma_range'
431 - 'for_each_wakeup_source'
433 - 'for_each_zone_zonelist'
434 - 'for_each_zone_zonelist_nodemask'
435 - 'func_for_each_insn'
436 - 'fwnode_for_each_available_child_node'
437 - 'fwnode_for_each_child_node'
438 - 'fwnode_for_each_parent_node'
439 - 'fwnode_graph_for_each_endpoint'
440 - 'gadget_for_each_ep'
441 - 'genradix_for_each'
442 - 'genradix_for_each_from'
443 - 'genradix_for_each_reverse'
445 - 'hash_for_each_possible'
446 - 'hash_for_each_possible_rcu'
447 - 'hash_for_each_possible_rcu_notrace'
448 - 'hash_for_each_possible_safe'
449 - 'hash_for_each_rcu'
450 - 'hash_for_each_safe'
451 - 'hashmap__for_each_entry'
452 - 'hashmap__for_each_entry_safe'
453 - 'hashmap__for_each_key_entry'
454 - 'hashmap__for_each_key_entry_safe'
455 - 'hctx_for_each_ctx'
456 - 'hists__for_each_format'
457 - 'hists__for_each_sort_list'
458 - 'hlist_bl_for_each_entry'
459 - 'hlist_bl_for_each_entry_rcu'
460 - 'hlist_bl_for_each_entry_safe'
462 - 'hlist_for_each_entry'
463 - 'hlist_for_each_entry_continue'
464 - 'hlist_for_each_entry_continue_rcu'
465 - 'hlist_for_each_entry_continue_rcu_bh'
466 - 'hlist_for_each_entry_from'
467 - 'hlist_for_each_entry_from_rcu'
468 - 'hlist_for_each_entry_rcu'
469 - 'hlist_for_each_entry_rcu_bh'
470 - 'hlist_for_each_entry_rcu_notrace'
471 - 'hlist_for_each_entry_safe'
472 - 'hlist_for_each_entry_srcu'
473 - 'hlist_for_each_safe'
474 - 'hlist_nulls_for_each_entry'
475 - 'hlist_nulls_for_each_entry_from'
476 - 'hlist_nulls_for_each_entry_rcu'
477 - 'hlist_nulls_for_each_entry_safe'
478 - 'i3c_bus_for_each_i2cdev'
479 - 'i3c_bus_for_each_i3cdev'
480 - 'idr_for_each_entry'
481 - 'idr_for_each_entry_continue'
482 - 'idr_for_each_entry_continue_ul'
483 - 'idr_for_each_entry_ul'
484 - 'in_dev_for_each_ifa_rcu'
485 - 'in_dev_for_each_ifa_rtnl'
486 - 'inet_bind_bucket_for_each'
487 - 'interval_tree_for_each_span'
488 - 'intlist__for_each_entry'
489 - 'intlist__for_each_entry_safe'
490 - 'kcore_copy__for_each_phdr'
492 - 'key_for_each_safe'
493 - 'klp_for_each_func'
494 - 'klp_for_each_func_safe'
495 - 'klp_for_each_func_static'
496 - 'klp_for_each_object'
497 - 'klp_for_each_object_safe'
498 - 'klp_for_each_object_static'
499 - 'kunit_suite_for_each_test_case'
500 - 'kvm_for_each_memslot'
501 - 'kvm_for_each_memslot_in_gfn_range'
502 - 'kvm_for_each_vcpu'
503 - 'libbpf_nla_for_each_attr'
505 - 'list_for_each_codec'
506 - 'list_for_each_codec_safe'
507 - 'list_for_each_continue'
508 - 'list_for_each_entry'
509 - 'list_for_each_entry_continue'
510 - 'list_for_each_entry_continue_rcu'
511 - 'list_for_each_entry_continue_reverse'
512 - 'list_for_each_entry_from'
513 - 'list_for_each_entry_from_rcu'
514 - 'list_for_each_entry_from_reverse'
515 - 'list_for_each_entry_lockless'
516 - 'list_for_each_entry_rcu'
517 - 'list_for_each_entry_reverse'
518 - 'list_for_each_entry_safe'
519 - 'list_for_each_entry_safe_continue'
520 - 'list_for_each_entry_safe_from'
521 - 'list_for_each_entry_safe_reverse'
522 - 'list_for_each_entry_srcu'
523 - 'list_for_each_from'
524 - 'list_for_each_prev'
525 - 'list_for_each_prev_safe'
526 - 'list_for_each_rcu'
527 - 'list_for_each_reverse'
528 - 'list_for_each_safe'
530 - 'llist_for_each_entry'
531 - 'llist_for_each_entry_safe'
532 - 'llist_for_each_safe'
533 - 'lwq_for_each_safe'
534 - 'map__for_each_symbol'
535 - 'map__for_each_symbol_by_name'
536 - 'maps__for_each_entry'
537 - 'maps__for_each_entry_safe'
539 - 'mci_for_each_dimm'
540 - 'media_device_for_each_entity'
541 - 'media_device_for_each_intf'
542 - 'media_device_for_each_link'
543 - 'media_device_for_each_pad'
544 - 'media_entity_for_each_pad'
545 - 'media_pipeline_for_each_entity'
546 - 'media_pipeline_for_each_pad'
547 - 'mlx5_lag_for_each_peer_mdev'
548 - 'msi_domain_for_each_desc'
549 - 'msi_for_each_desc'
551 - 'nanddev_io_for_each_page'
552 - 'netdev_for_each_lower_dev'
553 - 'netdev_for_each_lower_private'
554 - 'netdev_for_each_lower_private_rcu'
555 - 'netdev_for_each_mc_addr'
556 - 'netdev_for_each_synced_mc_addr'
557 - 'netdev_for_each_synced_uc_addr'
558 - 'netdev_for_each_uc_addr'
559 - 'netdev_for_each_upper_dev_rcu'
560 - 'netdev_hw_addr_list_for_each'
561 - 'nft_rule_for_each_expr'
562 - 'nla_for_each_attr'
563 - 'nla_for_each_nested'
564 - 'nlmsg_for_each_attr'
565 - 'nlmsg_for_each_msg'
566 - 'nr_neigh_for_each'
567 - 'nr_neigh_for_each_safe'
569 - 'nr_node_for_each_safe'
570 - 'of_for_each_phandle'
571 - 'of_property_for_each_string'
572 - 'of_property_for_each_u32'
573 - 'pci_bus_for_each_resource'
574 - 'pci_dev_for_each_resource'
575 - 'pcl_for_each_chunk'
576 - 'pcl_for_each_segment'
577 - 'pcm_for_each_format'
578 - 'perf_config_items__for_each_entry'
579 - 'perf_config_sections__for_each_entry'
580 - 'perf_config_set__for_each_entry'
581 - 'perf_cpu_map__for_each_cpu'
582 - 'perf_cpu_map__for_each_idx'
583 - 'perf_evlist__for_each_entry'
584 - 'perf_evlist__for_each_entry_reverse'
585 - 'perf_evlist__for_each_entry_safe'
586 - 'perf_evlist__for_each_evsel'
587 - 'perf_evlist__for_each_mmap'
588 - 'perf_hpp_list__for_each_format'
589 - 'perf_hpp_list__for_each_format_safe'
590 - 'perf_hpp_list__for_each_sort_list'
591 - 'perf_hpp_list__for_each_sort_list_safe'
592 - 'perf_tool_event__for_each_event'
594 - 'plist_for_each_continue'
595 - 'plist_for_each_entry'
596 - 'plist_for_each_entry_continue'
597 - 'plist_for_each_entry_safe'
598 - 'plist_for_each_safe'
599 - 'pnp_for_each_card'
601 - 'protocol_for_each_card'
602 - 'protocol_for_each_dev'
603 - 'queue_for_each_hw_ctx'
604 - 'radix_tree_for_each_slot'
605 - 'radix_tree_for_each_tagged'
607 - 'rbtree_postorder_for_each_entry_safe'
608 - 'rdma_for_each_block'
609 - 'rdma_for_each_port'
610 - 'rdma_umem_for_each_dma_block'
611 - 'resort_rb__for_each_entry'
612 - 'resource_list_for_each_entry'
613 - 'resource_list_for_each_entry_safe'
614 - 'rhl_for_each_entry_rcu'
617 - 'rht_for_each_entry'
618 - 'rht_for_each_entry_from'
619 - 'rht_for_each_entry_rcu'
620 - 'rht_for_each_entry_rcu_from'
621 - 'rht_for_each_entry_safe'
622 - 'rht_for_each_from'
624 - 'rht_for_each_rcu_from'
626 - 'rq_for_each_segment'
628 - 'rq_list_for_each_safe'
629 - 'sample_read_group__for_each'
630 - 'scsi_for_each_prot_sg'
632 - 'sctp_for_each_hentry'
633 - 'sctp_skb_for_each'
634 - 'sec_for_each_insn'
635 - 'sec_for_each_insn_continue'
636 - 'sec_for_each_insn_from'
638 - 'shdma_for_each_chan'
639 - 'shost_for_each_device'
641 - 'sk_for_each_bound'
642 - 'sk_for_each_bound_bhash2'
643 - 'sk_for_each_entry_offset_rcu'
647 - 'sk_nulls_for_each'
648 - 'sk_nulls_for_each_from'
649 - 'sk_nulls_for_each_rcu'
650 - 'snd_array_for_each'
651 - 'snd_pcm_group_for_each_entry'
652 - 'snd_soc_dapm_widget_for_each_path'
653 - 'snd_soc_dapm_widget_for_each_path_safe'
654 - 'snd_soc_dapm_widget_for_each_sink_path'
655 - 'snd_soc_dapm_widget_for_each_source_path'
656 - 'strlist__for_each_entry'
657 - 'strlist__for_each_entry_safe'
658 - 'sym_for_each_insn'
659 - 'sym_for_each_insn_continue_reverse'
660 - 'symbols__for_each_entry'
661 - 'tb_property_for_each'
662 - 'tcf_act_for_each_action'
663 - 'tcf_exts_for_each_action'
664 - 'ttm_resource_manager_for_each_res'
665 - 'twsk_for_each_bound_bhash2'
666 - 'udp_portaddr_for_each_entry'
667 - 'udp_portaddr_for_each_entry_rcu'
668 - 'usb_hub_for_each_child'
669 - 'v4l2_device_for_each_subdev'
670 - 'v4l2_m2m_for_each_dst_buf'
671 - 'v4l2_m2m_for_each_dst_buf_safe'
672 - 'v4l2_m2m_for_each_src_buf'
673 - 'v4l2_m2m_for_each_src_buf_safe'
674 - 'virtio_device_for_each_vq'
675 - 'while_for_each_ftrace_op'
677 - 'xa_for_each_marked'
678 - 'xa_for_each_range'
679 - 'xa_for_each_start'
681 - 'xas_for_each_conflict'
682 - 'xas_for_each_marked'
683 - 'xbc_array_for_each_value'
684 - 'xbc_for_each_key_value'
685 - 'xbc_node_for_each_array_value'
686 - 'xbc_node_for_each_child'
687 - 'xbc_node_for_each_key_value'
688 - 'xbc_node_for_each_subkey'
689 - 'zorro_for_each_dev'
691 IncludeBlocks: Preserve
695 IncludeIsMainRegex: '(Test)?$'
696 IndentCaseLabels: false
697 IndentGotoLabels: false
698 IndentPPDirectives: None
700 IndentWrappedFunctionNames: false
701 JavaScriptQuotes: Leave
702 JavaScriptWrapImports: true
703 KeepEmptyLinesAtTheStartOfBlocks: false
706 MaxEmptyLinesToKeep: 1
707 NamespaceIndentation: None
708 ObjCBinPackProtocolList: Auto
709 ObjCBlockIndentWidth: 8
710 ObjCSpaceAfterProperty: true
711 ObjCSpaceBeforeProtocolList: true
713 # Taken from git's rules
714 PenaltyBreakAssignment: 10
715 PenaltyBreakBeforeFirstCallParameter: 30
716 PenaltyBreakComment: 10
717 PenaltyBreakFirstLessLess: 0
718 PenaltyBreakString: 10
719 PenaltyExcessCharacter: 100
720 PenaltyReturnTypeOnItsOwnLine: 60
722 PointerAlignment: Right
723 ReflowComments: false
725 SortUsingDeclarations: false
726 SpaceAfterCStyleCast: false
727 SpaceAfterTemplateKeyword: true
728 SpaceBeforeAssignmentOperators: true
729 SpaceBeforeCtorInitializerColon: true
730 SpaceBeforeInheritanceColon: true
731 SpaceBeforeParens: ControlStatementsExceptForEachMacros
732 SpaceBeforeRangeBasedForLoopColon: true
733 SpaceInEmptyParentheses: false
734 SpacesBeforeTrailingComments: 1
735 SpacesInAngles: false
736 SpacesInContainerLiterals: false
737 SpacesInCStyleCastParentheses: false
738 SpacesInParentheses: false
739 SpacesInSquareBrackets: false