1# SPDX-License-Identifier: GPL-2.0 2# 3# clang-format configuration file. Intended for clang-format >= 11. 4# 5# For more information, see: 6# 7# Documentation/dev-tools/clang-format.rst 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 16AlignEscapedNewlines: Left 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 40 AfterExternBlock: false 41 BeforeCatch: false 42 BeforeElse: false 43 IndentBraces: false 44 SplitEmptyFunction: true 45 SplitEmptyRecord: true 46 SplitEmptyNamespace: true 47BreakBeforeBinaryOperators: None 48BreakBeforeBraces: Custom 49BreakBeforeInheritanceComma: false 50BreakBeforeTernaryOperators: false 51BreakConstructorInitializersBeforeComma: false 52BreakConstructorInitializers: BeforeComma 53BreakAfterJavaFieldAnnotations: false 54BreakStringLiterals: false 55ColumnLimit: 80 56CommentPragmas: '^ IWYU pragma:' 57CompactNamespaces: false 58ConstructorInitializerAllOnOneLineOrOnePerLine: false 59ConstructorInitializerIndentWidth: 8 60ContinuationIndentWidth: 8 61Cpp11BracedListStyle: false 62DerivePointerAlignment: false 63DisableFormat: false 64ExperimentalAutoDetectBinPacking: false 65FixNamespaceComments: false 66 67# Taken from: 68# git grep -h '^#define [^[:space:]]*for_each[^[:space:]]*(' include/ tools/ \ 69# | sed "s,^#define \([^[:space:]]*for_each[^[:space:]]*\)(.*$, - '\1'," \ 70# | LC_ALL=C sort -u 71ForEachMacros: 72 - '__ata_qc_for_each' 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' 82 - '__for_each_thread' 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' 92 - '__rq_for_each_bio' 93 - '__shost_for_each_device' 94 - '__sym_for_each' 95 - 'apei_estatus_for_each_section' 96 - 'ata_for_each_dev' 97 - 'ata_for_each_link' 98 - 'ata_qc_for_each' 99 - 'ata_qc_for_each_raw' 100 - 'ata_qc_for_each_with_internal' 101 - 'ax25_for_each' 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' 110 - 'bip_for_each_vec' 111 - 'bond_for_each_slave' 112 - 'bond_for_each_slave_rcu' 113 - 'bpf_for_each' 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 - 'damos_for_each_quota_goal' 145 - 'damos_for_each_quota_goal_safe' 146 - 'data__for_each_file' 147 - 'data__for_each_file_new' 148 - 'data__for_each_file_start' 149 - 'device_for_each_child_node' 150 - 'device_for_each_child_node_scoped' 151 - 'dma_fence_array_for_each' 152 - 'dma_fence_chain_for_each' 153 - 'dma_fence_unwrap_for_each' 154 - 'dma_resv_for_each_fence' 155 - 'dma_resv_for_each_fence_unlocked' 156 - 'do_for_each_ftrace_op' 157 - 'drm_atomic_crtc_for_each_plane' 158 - 'drm_atomic_crtc_state_for_each_plane' 159 - 'drm_atomic_crtc_state_for_each_plane_state' 160 - 'drm_atomic_for_each_plane_damage' 161 - 'drm_client_for_each_connector_iter' 162 - 'drm_client_for_each_modeset' 163 - 'drm_connector_for_each_possible_encoder' 164 - 'drm_exec_for_each_locked_object' 165 - 'drm_exec_for_each_locked_object_reverse' 166 - 'drm_for_each_bridge_in_chain' 167 - 'drm_for_each_connector_iter' 168 - 'drm_for_each_crtc' 169 - 'drm_for_each_crtc_reverse' 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' 176 - 'drm_for_each_privobj' 177 - 'drm_gem_for_each_gpuvm_bo' 178 - 'drm_gem_for_each_gpuvm_bo_safe' 179 - 'drm_gpuva_for_each_op' 180 - 'drm_gpuva_for_each_op_from_reverse' 181 - 'drm_gpuva_for_each_op_reverse' 182 - 'drm_gpuva_for_each_op_safe' 183 - 'drm_gpuvm_bo_for_each_va' 184 - 'drm_gpuvm_bo_for_each_va_safe' 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' 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' 193 - 'dsa_switch_for_each_available_port' 194 - 'dsa_switch_for_each_cpu_port' 195 - 'dsa_switch_for_each_cpu_port_continue_reverse' 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' 200 - 'dsa_switch_for_each_user_port_continue_reverse' 201 - 'dsa_tree_for_each_cpu_port' 202 - 'dsa_tree_for_each_user_port' 203 - 'dsa_tree_for_each_user_port_continue_reverse' 204 - 'dso__for_each_symbol' 205 - 'elf_hash_for_each_possible' 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' 213 - 'flow_action_for_each' 214 - 'for_each_acpi_consumer_dev' 215 - 'for_each_acpi_dev_match' 216 - 'for_each_active_dev_scope' 217 - 'for_each_active_drhd_unit' 218 - 'for_each_active_iommu' 219 - 'for_each_active_route' 220 - 'for_each_aggr_pgid' 221 - 'for_each_and_bit' 222 - 'for_each_andnot_bit' 223 - 'for_each_available_child_of_node' 224 - 'for_each_available_child_of_node_scoped' 225 - 'for_each_bench' 226 - 'for_each_bio' 227 - 'for_each_board_func_rsrc' 228 - 'for_each_btf_ext_rec' 229 - 'for_each_btf_ext_sec' 230 - 'for_each_bvec' 231 - 'for_each_card_auxs' 232 - 'for_each_card_auxs_safe' 233 - 'for_each_card_components' 234 - 'for_each_card_dapms' 235 - 'for_each_card_pre_auxs' 236 - 'for_each_card_prelinks' 237 - 'for_each_card_rtds' 238 - 'for_each_card_rtds_safe' 239 - 'for_each_card_widgets' 240 - 'for_each_card_widgets_safe' 241 - 'for_each_cgroup_storage_type' 242 - 'for_each_child_of_node' 243 - 'for_each_child_of_node_scoped' 244 - 'for_each_clear_bit' 245 - 'for_each_clear_bit_from' 246 - 'for_each_clear_bitrange' 247 - 'for_each_clear_bitrange_from' 248 - 'for_each_cmd' 249 - 'for_each_cmsghdr' 250 - 'for_each_collection' 251 - 'for_each_comp_order' 252 - 'for_each_compatible_node' 253 - 'for_each_component_dais' 254 - 'for_each_component_dais_safe' 255 - 'for_each_conduit' 256 - 'for_each_console' 257 - 'for_each_console_srcu' 258 - 'for_each_cpu' 259 - 'for_each_cpu_and' 260 - 'for_each_cpu_andnot' 261 - 'for_each_cpu_from' 262 - 'for_each_cpu_or' 263 - 'for_each_cpu_wrap' 264 - 'for_each_dapm_widgets' 265 - 'for_each_dedup_cand' 266 - 'for_each_dev_addr' 267 - 'for_each_dev_scope' 268 - 'for_each_dma_cap_mask' 269 - 'for_each_dpcm_be' 270 - 'for_each_dpcm_be_rollback' 271 - 'for_each_dpcm_be_safe' 272 - 'for_each_dpcm_fe' 273 - 'for_each_drhd_unit' 274 - 'for_each_dss_dev' 275 - 'for_each_efi_memory_desc' 276 - 'for_each_efi_memory_desc_in_map' 277 - 'for_each_element' 278 - 'for_each_element_extid' 279 - 'for_each_element_id' 280 - 'for_each_enabled_cpu' 281 - 'for_each_endpoint_of_node' 282 - 'for_each_event' 283 - 'for_each_event_tps' 284 - 'for_each_evictable_lru' 285 - 'for_each_fib6_node_rt_rcu' 286 - 'for_each_fib6_walker_rt' 287 - 'for_each_file_lock' 288 - 'for_each_free_mem_pfn_range_in_zone_from' 289 - 'for_each_free_mem_range' 290 - 'for_each_free_mem_range_reverse' 291 - 'for_each_func_rsrc' 292 - 'for_each_gpiochip_node' 293 - 'for_each_group_evsel' 294 - 'for_each_group_evsel_head' 295 - 'for_each_group_member' 296 - 'for_each_group_member_head' 297 - 'for_each_hstate' 298 - 'for_each_hwgpio' 299 - 'for_each_if' 300 - 'for_each_inject_fn' 301 - 'for_each_insn' 302 - 'for_each_insn_op_loc' 303 - 'for_each_insn_prefix' 304 - 'for_each_intid' 305 - 'for_each_iommu' 306 - 'for_each_ip_tunnel_rcu' 307 - 'for_each_irq_nr' 308 - 'for_each_lang' 309 - 'for_each_link_ch_maps' 310 - 'for_each_link_codecs' 311 - 'for_each_link_cpus' 312 - 'for_each_link_platforms' 313 - 'for_each_lru' 314 - 'for_each_matching_node' 315 - 'for_each_matching_node_and_match' 316 - 'for_each_media_entity_data_link' 317 - 'for_each_mem_pfn_range' 318 - 'for_each_mem_range' 319 - 'for_each_mem_range_rev' 320 - 'for_each_mem_region' 321 - 'for_each_member' 322 - 'for_each_memory' 323 - 'for_each_migratetype_order' 324 - 'for_each_missing_reg' 325 - 'for_each_mle_subelement' 326 - 'for_each_mod_mem_type' 327 - 'for_each_net' 328 - 'for_each_net_continue_reverse' 329 - 'for_each_net_rcu' 330 - 'for_each_netdev' 331 - 'for_each_netdev_continue' 332 - 'for_each_netdev_continue_rcu' 333 - 'for_each_netdev_continue_reverse' 334 - 'for_each_netdev_dump' 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' 340 - 'for_each_new_connector_in_state' 341 - 'for_each_new_crtc_in_state' 342 - 'for_each_new_mst_mgr_in_state' 343 - 'for_each_new_plane_in_state' 344 - 'for_each_new_plane_in_state_reverse' 345 - 'for_each_new_private_obj_in_state' 346 - 'for_each_new_reg' 347 - 'for_each_nhlt_endpoint' 348 - 'for_each_nhlt_endpoint_fmtcfg' 349 - 'for_each_nhlt_fmtcfg' 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' 357 - 'for_each_nonreserved_multicast_dest_pgid' 358 - 'for_each_numa_hop_mask' 359 - 'for_each_of_allnodes' 360 - 'for_each_of_allnodes_from' 361 - 'for_each_of_cpu_node' 362 - 'for_each_of_pci_range' 363 - 'for_each_old_connector_in_state' 364 - 'for_each_old_crtc_in_state' 365 - 'for_each_old_mst_mgr_in_state' 366 - 'for_each_old_plane_in_state' 367 - 'for_each_old_private_obj_in_state' 368 - 'for_each_oldnew_connector_in_state' 369 - 'for_each_oldnew_crtc_in_state' 370 - 'for_each_oldnew_mst_mgr_in_state' 371 - 'for_each_oldnew_plane_in_state' 372 - 'for_each_oldnew_plane_in_state_reverse' 373 - 'for_each_oldnew_private_obj_in_state' 374 - 'for_each_online_cpu' 375 - 'for_each_online_node' 376 - 'for_each_online_pgdat' 377 - 'for_each_or_bit' 378 - 'for_each_path' 379 - 'for_each_pci_bridge' 380 - 'for_each_pci_dev' 381 - 'for_each_pcm_streams' 382 - 'for_each_physmem_range' 383 - 'for_each_populated_zone' 384 - 'for_each_possible_cpu' 385 - 'for_each_present_blessed_reg' 386 - 'for_each_present_cpu' 387 - 'for_each_prime_number' 388 - 'for_each_prime_number_from' 389 - 'for_each_probe_cache_entry' 390 - 'for_each_process' 391 - 'for_each_process_thread' 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' 398 - 'for_each_property_of_node' 399 - 'for_each_reg' 400 - 'for_each_reg_filtered' 401 - 'for_each_reloc' 402 - 'for_each_reloc_from' 403 - 'for_each_requested_gpio' 404 - 'for_each_requested_gpio_in_range' 405 - 'for_each_reserved_child_of_node' 406 - 'for_each_reserved_mem_range' 407 - 'for_each_reserved_mem_region' 408 - 'for_each_rtd_ch_maps' 409 - 'for_each_rtd_codec_dais' 410 - 'for_each_rtd_components' 411 - 'for_each_rtd_cpu_dais' 412 - 'for_each_rtd_dais' 413 - 'for_each_rtd_dais_reverse' 414 - 'for_each_sband_iftype_data' 415 - 'for_each_script' 416 - 'for_each_sec' 417 - 'for_each_set_bit' 418 - 'for_each_set_bit_from' 419 - 'for_each_set_bit_wrap' 420 - 'for_each_set_bitrange' 421 - 'for_each_set_bitrange_from' 422 - 'for_each_set_clump8' 423 - 'for_each_sg' 424 - 'for_each_sg_dma_page' 425 - 'for_each_sg_page' 426 - 'for_each_sgtable_dma_page' 427 - 'for_each_sgtable_dma_sg' 428 - 'for_each_sgtable_page' 429 - 'for_each_sgtable_sg' 430 - 'for_each_sibling_event' 431 - 'for_each_sta_active_link' 432 - 'for_each_subelement' 433 - 'for_each_subelement_extid' 434 - 'for_each_subelement_id' 435 - 'for_each_sublist' 436 - 'for_each_subsystem' 437 - 'for_each_supported_activate_fn' 438 - 'for_each_supported_inject_fn' 439 - 'for_each_sym' 440 - 'for_each_test' 441 - 'for_each_thread' 442 - 'for_each_token' 443 - 'for_each_unicast_dest_pgid' 444 - 'for_each_valid_link' 445 - 'for_each_vif_active_link' 446 - 'for_each_vma' 447 - 'for_each_vma_range' 448 - 'for_each_vsi' 449 - 'for_each_wakeup_source' 450 - 'for_each_zone' 451 - 'for_each_zone_zonelist' 452 - 'for_each_zone_zonelist_nodemask' 453 - 'func_for_each_insn' 454 - 'fwnode_for_each_available_child_node' 455 - 'fwnode_for_each_child_node' 456 - 'fwnode_for_each_parent_node' 457 - 'fwnode_graph_for_each_endpoint' 458 - 'gadget_for_each_ep' 459 - 'genradix_for_each' 460 - 'genradix_for_each_from' 461 - 'genradix_for_each_reverse' 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' 469 - 'hashmap__for_each_entry' 470 - 'hashmap__for_each_entry_safe' 471 - 'hashmap__for_each_key_entry' 472 - 'hashmap__for_each_key_entry_safe' 473 - 'hctx_for_each_ctx' 474 - 'hists__for_each_format' 475 - 'hists__for_each_sort_list' 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' 490 - 'hlist_for_each_entry_srcu' 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' 496 - 'i3c_bus_for_each_i2cdev' 497 - 'i3c_bus_for_each_i3cdev' 498 - 'idr_for_each_entry' 499 - 'idr_for_each_entry_continue' 500 - 'idr_for_each_entry_continue_ul' 501 - 'idr_for_each_entry_ul' 502 - 'in_dev_for_each_ifa_rcu' 503 - 'in_dev_for_each_ifa_rtnl' 504 - 'inet_bind_bucket_for_each' 505 - 'interval_tree_for_each_span' 506 - 'intlist__for_each_entry' 507 - 'intlist__for_each_entry_safe' 508 - 'kcore_copy__for_each_phdr' 509 - 'key_for_each' 510 - 'key_for_each_safe' 511 - 'klp_for_each_func' 512 - 'klp_for_each_func_safe' 513 - 'klp_for_each_func_static' 514 - 'klp_for_each_object' 515 - 'klp_for_each_object_safe' 516 - 'klp_for_each_object_static' 517 - 'kunit_suite_for_each_test_case' 518 - 'kvm_for_each_memslot' 519 - 'kvm_for_each_memslot_in_gfn_range' 520 - 'kvm_for_each_vcpu' 521 - 'libbpf_nla_for_each_attr' 522 - 'list_for_each' 523 - 'list_for_each_codec' 524 - 'list_for_each_codec_safe' 525 - 'list_for_each_continue' 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' 531 - 'list_for_each_entry_from_rcu' 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' 540 - 'list_for_each_entry_srcu' 541 - 'list_for_each_from' 542 - 'list_for_each_prev' 543 - 'list_for_each_prev_safe' 544 - 'list_for_each_rcu' 545 - 'list_for_each_reverse' 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' 551 - 'lwq_for_each_safe' 552 - 'map__for_each_symbol' 553 - 'map__for_each_symbol_by_name' 554 - 'mas_for_each' 555 - 'mci_for_each_dimm' 556 - 'media_device_for_each_entity' 557 - 'media_device_for_each_intf' 558 - 'media_device_for_each_link' 559 - 'media_device_for_each_pad' 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' 565 - 'msi_for_each_desc' 566 - 'mt_for_each' 567 - 'nanddev_io_for_each_page' 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' 572 - 'netdev_for_each_synced_mc_addr' 573 - 'netdev_for_each_synced_uc_addr' 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' 579 - 'nla_for_each_attr_type' 580 - 'nla_for_each_nested' 581 - 'nla_for_each_nested_type' 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' 592 - 'pci_dev_for_each_resource' 593 - 'pcl_for_each_chunk' 594 - 'pcl_for_each_segment' 595 - 'pcm_for_each_format' 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' 600 - 'perf_cpu_map__for_each_cpu_skip_any' 601 - 'perf_cpu_map__for_each_idx' 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' 611 - 'perf_tool_event__for_each_event' 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' 623 - 'radix_tree_for_each_slot' 624 - 'radix_tree_for_each_tagged' 625 - 'rb_for_each' 626 - 'rbtree_postorder_for_each_entry_safe' 627 - 'rdma_for_each_block' 628 - 'rdma_for_each_port' 629 - 'rdma_umem_for_each_dma_block' 630 - 'resort_rb__for_each_entry' 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' 636 - 'rht_for_each_entry' 637 - 'rht_for_each_entry_from' 638 - 'rht_for_each_entry_rcu' 639 - 'rht_for_each_entry_rcu_from' 640 - 'rht_for_each_entry_safe' 641 - 'rht_for_each_from' 642 - 'rht_for_each_rcu' 643 - 'rht_for_each_rcu_from' 644 - 'rq_for_each_bvec' 645 - 'rq_for_each_segment' 646 - 'rq_list_for_each' 647 - 'rq_list_for_each_safe' 648 - 'sample_read_group__for_each' 649 - 'scsi_for_each_prot_sg' 650 - 'scsi_for_each_sg' 651 - 'sctp_for_each_hentry' 652 - 'sctp_skb_for_each' 653 - 'sec_for_each_insn' 654 - 'sec_for_each_insn_continue' 655 - 'sec_for_each_insn_from' 656 - 'sec_for_each_sym' 657 - 'shdma_for_each_chan' 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' 668 - 'snd_array_for_each' 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' 674 - 'sparsebit_for_each_set_range' 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' 680 - 'tb_property_for_each' 681 - 'tcf_act_for_each_action' 682 - 'tcf_exts_for_each_action' 683 - 'ttm_resource_manager_for_each_res' 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' 692 - 'virtio_device_for_each_vq' 693 - 'while_for_each_ftrace_op' 694 - 'xa_for_each' 695 - 'xa_for_each_marked' 696 - 'xa_for_each_range' 697 - 'xa_for_each_start' 698 - 'xas_for_each' 699 - 'xas_for_each_conflict' 700 - 'xas_for_each_marked' 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' 706 - 'xbc_node_for_each_subkey' 707 - 'ynl_attr_for_each' 708 - 'ynl_attr_for_each_nested' 709 - 'ynl_attr_for_each_payload' 710 - 'zorro_for_each_dev' 711 712IncludeBlocks: Preserve 713IncludeCategories: 714 - Regex: '.*' 715 Priority: 1 716IncludeIsMainRegex: '(Test)?$' 717IndentCaseLabels: false 718IndentGotoLabels: false 719IndentPPDirectives: None 720IndentWidth: 8 721IndentWrappedFunctionNames: false 722JavaScriptQuotes: Leave 723JavaScriptWrapImports: true 724KeepEmptyLinesAtTheStartOfBlocks: false 725MacroBlockBegin: '' 726MacroBlockEnd: '' 727MaxEmptyLinesToKeep: 1 728NamespaceIndentation: None 729ObjCBinPackProtocolList: Auto 730ObjCBlockIndentWidth: 8 731ObjCSpaceAfterProperty: true 732ObjCSpaceBeforeProtocolList: true 733 734# Taken from git's rules 735PenaltyBreakAssignment: 10 736PenaltyBreakBeforeFirstCallParameter: 30 737PenaltyBreakComment: 10 738PenaltyBreakFirstLessLess: 0 739PenaltyBreakString: 10 740PenaltyExcessCharacter: 100 741PenaltyReturnTypeOnItsOwnLine: 60 742 743PointerAlignment: Right 744ReflowComments: false 745SortIncludes: false 746SortUsingDeclarations: false 747SpaceAfterCStyleCast: false 748SpaceAfterTemplateKeyword: true 749SpaceBeforeAssignmentOperators: true 750SpaceBeforeCtorInitializerColon: true 751SpaceBeforeInheritanceColon: true 752SpaceBeforeParens: ControlStatementsExceptForEachMacros 753SpaceBeforeRangeBasedForLoopColon: true 754SpaceInEmptyParentheses: false 755SpacesBeforeTrailingComments: 1 756SpacesInAngles: false 757SpacesInContainerLiterals: false 758SpacesInCStyleCastParentheses: false 759SpacesInParentheses: false 760SpacesInSquareBrackets: false 761Standard: Cpp03 762TabWidth: 8 763UseTab: Always 764... 765