1*f412fd2aSLoGin# SPDX-License-Identifier: GPL-2.0 2*f412fd2aSLoGin# 3*f412fd2aSLoGin# clang-format configuration file. Intended for clang-format >= 11. 4*f412fd2aSLoGin# 5*f412fd2aSLoGin# For more information, see: 6*f412fd2aSLoGin# 7*f412fd2aSLoGin# Documentation/process/clang-format.rst 8*f412fd2aSLoGin# https://clang.llvm.org/docs/ClangFormat.html 9*f412fd2aSLoGin# https://clang.llvm.org/docs/ClangFormatStyleOptions.html 10*f412fd2aSLoGin# 11*f412fd2aSLoGin--- 12*f412fd2aSLoGinAccessModifierOffset: -4 13*f412fd2aSLoGinAlignAfterOpenBracket: Align 14*f412fd2aSLoGinAlignConsecutiveAssignments: false 15*f412fd2aSLoGinAlignConsecutiveDeclarations: false 16*f412fd2aSLoGinAlignEscapedNewlines: Left 17*f412fd2aSLoGinAlignOperands: true 18*f412fd2aSLoGinAlignTrailingComments: false 19*f412fd2aSLoGinAllowAllParametersOfDeclarationOnNextLine: false 20*f412fd2aSLoGinAllowShortBlocksOnASingleLine: false 21*f412fd2aSLoGinAllowShortCaseLabelsOnASingleLine: false 22*f412fd2aSLoGinAllowShortFunctionsOnASingleLine: None 23*f412fd2aSLoGinAllowShortIfStatementsOnASingleLine: false 24*f412fd2aSLoGinAllowShortLoopsOnASingleLine: false 25*f412fd2aSLoGinAlwaysBreakAfterDefinitionReturnType: None 26*f412fd2aSLoGinAlwaysBreakAfterReturnType: None 27*f412fd2aSLoGinAlwaysBreakBeforeMultilineStrings: false 28*f412fd2aSLoGinAlwaysBreakTemplateDeclarations: false 29*f412fd2aSLoGinBinPackArguments: true 30*f412fd2aSLoGinBinPackParameters: true 31*f412fd2aSLoGinBraceWrapping: 32*f412fd2aSLoGin AfterClass: false 33*f412fd2aSLoGin AfterControlStatement: false 34*f412fd2aSLoGin AfterEnum: false 35*f412fd2aSLoGin AfterFunction: true 36*f412fd2aSLoGin AfterNamespace: true 37*f412fd2aSLoGin AfterObjCDeclaration: false 38*f412fd2aSLoGin AfterStruct: false 39*f412fd2aSLoGin AfterUnion: false 40*f412fd2aSLoGin AfterExternBlock: false 41*f412fd2aSLoGin BeforeCatch: false 42*f412fd2aSLoGin BeforeElse: false 43*f412fd2aSLoGin IndentBraces: false 44*f412fd2aSLoGin SplitEmptyFunction: true 45*f412fd2aSLoGin SplitEmptyRecord: true 46*f412fd2aSLoGin SplitEmptyNamespace: true 47*f412fd2aSLoGinBreakBeforeBinaryOperators: None 48*f412fd2aSLoGinBreakBeforeBraces: Custom 49*f412fd2aSLoGinBreakBeforeInheritanceComma: false 50*f412fd2aSLoGinBreakBeforeTernaryOperators: false 51*f412fd2aSLoGinBreakConstructorInitializersBeforeComma: false 52*f412fd2aSLoGinBreakConstructorInitializers: BeforeComma 53*f412fd2aSLoGinBreakAfterJavaFieldAnnotations: false 54*f412fd2aSLoGinBreakStringLiterals: false 55*f412fd2aSLoGinColumnLimit: 80 56*f412fd2aSLoGinCommentPragmas: '^ IWYU pragma:' 57*f412fd2aSLoGinCompactNamespaces: false 58*f412fd2aSLoGinConstructorInitializerAllOnOneLineOrOnePerLine: false 59*f412fd2aSLoGinConstructorInitializerIndentWidth: 8 60*f412fd2aSLoGinContinuationIndentWidth: 8 61*f412fd2aSLoGinCpp11BracedListStyle: false 62*f412fd2aSLoGinDerivePointerAlignment: false 63*f412fd2aSLoGinDisableFormat: false 64*f412fd2aSLoGinExperimentalAutoDetectBinPacking: false 65*f412fd2aSLoGinFixNamespaceComments: false 66*f412fd2aSLoGin 67*f412fd2aSLoGin# Taken from: 68*f412fd2aSLoGin# git grep -h '^#define [^[:space:]]*for_each[^[:space:]]*(' include/ tools/ \ 69*f412fd2aSLoGin# | sed "s,^#define \([^[:space:]]*for_each[^[:space:]]*\)(.*$, - '\1'," \ 70*f412fd2aSLoGin# | LC_ALL=C sort -u 71*f412fd2aSLoGinForEachMacros: 72*f412fd2aSLoGin - '__ata_qc_for_each' 73*f412fd2aSLoGin - '__bio_for_each_bvec' 74*f412fd2aSLoGin - '__bio_for_each_segment' 75*f412fd2aSLoGin - '__evlist__for_each_entry' 76*f412fd2aSLoGin - '__evlist__for_each_entry_continue' 77*f412fd2aSLoGin - '__evlist__for_each_entry_from' 78*f412fd2aSLoGin - '__evlist__for_each_entry_reverse' 79*f412fd2aSLoGin - '__evlist__for_each_entry_safe' 80*f412fd2aSLoGin - '__for_each_mem_range' 81*f412fd2aSLoGin - '__for_each_mem_range_rev' 82*f412fd2aSLoGin - '__for_each_thread' 83*f412fd2aSLoGin - '__hlist_for_each_rcu' 84*f412fd2aSLoGin - '__map__for_each_symbol_by_name' 85*f412fd2aSLoGin - '__perf_evlist__for_each_entry' 86*f412fd2aSLoGin - '__perf_evlist__for_each_entry_reverse' 87*f412fd2aSLoGin - '__perf_evlist__for_each_entry_safe' 88*f412fd2aSLoGin - '__rq_for_each_bio' 89*f412fd2aSLoGin - '__shost_for_each_device' 90*f412fd2aSLoGin - 'apei_estatus_for_each_section' 91*f412fd2aSLoGin - 'ata_for_each_dev' 92*f412fd2aSLoGin - 'ata_for_each_link' 93*f412fd2aSLoGin - 'ata_qc_for_each' 94*f412fd2aSLoGin - 'ata_qc_for_each_raw' 95*f412fd2aSLoGin - 'ata_qc_for_each_with_internal' 96*f412fd2aSLoGin - 'ax25_for_each' 97*f412fd2aSLoGin - 'ax25_uid_for_each' 98*f412fd2aSLoGin - 'bio_for_each_bvec' 99*f412fd2aSLoGin - 'bio_for_each_bvec_all' 100*f412fd2aSLoGin - 'bio_for_each_folio_all' 101*f412fd2aSLoGin - 'bio_for_each_integrity_vec' 102*f412fd2aSLoGin - 'bio_for_each_segment' 103*f412fd2aSLoGin - 'bio_for_each_segment_all' 104*f412fd2aSLoGin - 'bio_list_for_each' 105*f412fd2aSLoGin - 'bip_for_each_vec' 106*f412fd2aSLoGin - 'bond_for_each_slave' 107*f412fd2aSLoGin - 'bond_for_each_slave_rcu' 108*f412fd2aSLoGin - 'bpf__perf_for_each_map' 109*f412fd2aSLoGin - 'bpf__perf_for_each_map_named' 110*f412fd2aSLoGin - 'bpf_for_each_spilled_reg' 111*f412fd2aSLoGin - 'bpf_object__for_each_map' 112*f412fd2aSLoGin - 'bpf_object__for_each_program' 113*f412fd2aSLoGin - 'bpf_object__for_each_safe' 114*f412fd2aSLoGin - 'bpf_perf_object__for_each' 115*f412fd2aSLoGin - 'btree_for_each_safe128' 116*f412fd2aSLoGin - 'btree_for_each_safe32' 117*f412fd2aSLoGin - 'btree_for_each_safe64' 118*f412fd2aSLoGin - 'btree_for_each_safel' 119*f412fd2aSLoGin - 'card_for_each_dev' 120*f412fd2aSLoGin - 'cgroup_taskset_for_each' 121*f412fd2aSLoGin - 'cgroup_taskset_for_each_leader' 122*f412fd2aSLoGin - 'cpufreq_for_each_efficient_entry_idx' 123*f412fd2aSLoGin - 'cpufreq_for_each_entry' 124*f412fd2aSLoGin - 'cpufreq_for_each_entry_idx' 125*f412fd2aSLoGin - 'cpufreq_for_each_valid_entry' 126*f412fd2aSLoGin - 'cpufreq_for_each_valid_entry_idx' 127*f412fd2aSLoGin - 'css_for_each_child' 128*f412fd2aSLoGin - 'css_for_each_descendant_post' 129*f412fd2aSLoGin - 'css_for_each_descendant_pre' 130*f412fd2aSLoGin - 'damon_for_each_region' 131*f412fd2aSLoGin - 'damon_for_each_region_safe' 132*f412fd2aSLoGin - 'damon_for_each_scheme' 133*f412fd2aSLoGin - 'damon_for_each_scheme_safe' 134*f412fd2aSLoGin - 'damon_for_each_target' 135*f412fd2aSLoGin - 'damon_for_each_target_safe' 136*f412fd2aSLoGin - 'data__for_each_file' 137*f412fd2aSLoGin - 'data__for_each_file_new' 138*f412fd2aSLoGin - 'data__for_each_file_start' 139*f412fd2aSLoGin - 'device_for_each_child_node' 140*f412fd2aSLoGin - 'displayid_iter_for_each' 141*f412fd2aSLoGin - 'dma_fence_array_for_each' 142*f412fd2aSLoGin - 'dma_fence_chain_for_each' 143*f412fd2aSLoGin - 'dma_fence_unwrap_for_each' 144*f412fd2aSLoGin - 'dma_resv_for_each_fence' 145*f412fd2aSLoGin - 'dma_resv_for_each_fence_unlocked' 146*f412fd2aSLoGin - 'do_for_each_ftrace_op' 147*f412fd2aSLoGin - 'drm_atomic_crtc_for_each_plane' 148*f412fd2aSLoGin - 'drm_atomic_crtc_state_for_each_plane' 149*f412fd2aSLoGin - 'drm_atomic_crtc_state_for_each_plane_state' 150*f412fd2aSLoGin - 'drm_atomic_for_each_plane_damage' 151*f412fd2aSLoGin - 'drm_client_for_each_connector_iter' 152*f412fd2aSLoGin - 'drm_client_for_each_modeset' 153*f412fd2aSLoGin - 'drm_connector_for_each_possible_encoder' 154*f412fd2aSLoGin - 'drm_for_each_bridge_in_chain' 155*f412fd2aSLoGin - 'drm_for_each_connector_iter' 156*f412fd2aSLoGin - 'drm_for_each_crtc' 157*f412fd2aSLoGin - 'drm_for_each_crtc_reverse' 158*f412fd2aSLoGin - 'drm_for_each_encoder' 159*f412fd2aSLoGin - 'drm_for_each_encoder_mask' 160*f412fd2aSLoGin - 'drm_for_each_fb' 161*f412fd2aSLoGin - 'drm_for_each_legacy_plane' 162*f412fd2aSLoGin - 'drm_for_each_plane' 163*f412fd2aSLoGin - 'drm_for_each_plane_mask' 164*f412fd2aSLoGin - 'drm_for_each_privobj' 165*f412fd2aSLoGin - 'drm_mm_for_each_hole' 166*f412fd2aSLoGin - 'drm_mm_for_each_node' 167*f412fd2aSLoGin - 'drm_mm_for_each_node_in_range' 168*f412fd2aSLoGin - 'drm_mm_for_each_node_safe' 169*f412fd2aSLoGin - 'dsa_switch_for_each_available_port' 170*f412fd2aSLoGin - 'dsa_switch_for_each_cpu_port' 171*f412fd2aSLoGin - 'dsa_switch_for_each_port' 172*f412fd2aSLoGin - 'dsa_switch_for_each_port_continue_reverse' 173*f412fd2aSLoGin - 'dsa_switch_for_each_port_safe' 174*f412fd2aSLoGin - 'dsa_switch_for_each_user_port' 175*f412fd2aSLoGin - 'dsa_tree_for_each_user_port' 176*f412fd2aSLoGin - 'dso__for_each_symbol' 177*f412fd2aSLoGin - 'dsos__for_each_with_build_id' 178*f412fd2aSLoGin - 'elf_hash_for_each_possible' 179*f412fd2aSLoGin - 'elf_section__for_each_rel' 180*f412fd2aSLoGin - 'elf_section__for_each_rela' 181*f412fd2aSLoGin - 'elf_symtab__for_each_symbol' 182*f412fd2aSLoGin - 'evlist__for_each_cpu' 183*f412fd2aSLoGin - 'evlist__for_each_entry' 184*f412fd2aSLoGin - 'evlist__for_each_entry_continue' 185*f412fd2aSLoGin - 'evlist__for_each_entry_from' 186*f412fd2aSLoGin - 'evlist__for_each_entry_reverse' 187*f412fd2aSLoGin - 'evlist__for_each_entry_safe' 188*f412fd2aSLoGin - 'flow_action_for_each' 189*f412fd2aSLoGin - 'for_each_acpi_dev_match' 190*f412fd2aSLoGin - 'for_each_active_dev_scope' 191*f412fd2aSLoGin - 'for_each_active_drhd_unit' 192*f412fd2aSLoGin - 'for_each_active_iommu' 193*f412fd2aSLoGin - 'for_each_active_route' 194*f412fd2aSLoGin - 'for_each_aggr_pgid' 195*f412fd2aSLoGin - 'for_each_available_child_of_node' 196*f412fd2aSLoGin - 'for_each_bench' 197*f412fd2aSLoGin - 'for_each_bio' 198*f412fd2aSLoGin - 'for_each_board_func_rsrc' 199*f412fd2aSLoGin - 'for_each_btf_ext_rec' 200*f412fd2aSLoGin - 'for_each_btf_ext_sec' 201*f412fd2aSLoGin - 'for_each_bvec' 202*f412fd2aSLoGin - 'for_each_card_auxs' 203*f412fd2aSLoGin - 'for_each_card_auxs_safe' 204*f412fd2aSLoGin - 'for_each_card_components' 205*f412fd2aSLoGin - 'for_each_card_dapms' 206*f412fd2aSLoGin - 'for_each_card_pre_auxs' 207*f412fd2aSLoGin - 'for_each_card_prelinks' 208*f412fd2aSLoGin - 'for_each_card_rtds' 209*f412fd2aSLoGin - 'for_each_card_rtds_safe' 210*f412fd2aSLoGin - 'for_each_card_widgets' 211*f412fd2aSLoGin - 'for_each_card_widgets_safe' 212*f412fd2aSLoGin - 'for_each_cgroup_storage_type' 213*f412fd2aSLoGin - 'for_each_child_of_node' 214*f412fd2aSLoGin - 'for_each_clear_bit' 215*f412fd2aSLoGin - 'for_each_clear_bit_from' 216*f412fd2aSLoGin - 'for_each_clear_bitrange' 217*f412fd2aSLoGin - 'for_each_clear_bitrange_from' 218*f412fd2aSLoGin - 'for_each_cmd' 219*f412fd2aSLoGin - 'for_each_cmsghdr' 220*f412fd2aSLoGin - 'for_each_collection' 221*f412fd2aSLoGin - 'for_each_comp_order' 222*f412fd2aSLoGin - 'for_each_compatible_node' 223*f412fd2aSLoGin - 'for_each_component_dais' 224*f412fd2aSLoGin - 'for_each_component_dais_safe' 225*f412fd2aSLoGin - 'for_each_console' 226*f412fd2aSLoGin - 'for_each_console_srcu' 227*f412fd2aSLoGin - 'for_each_cpu' 228*f412fd2aSLoGin - 'for_each_cpu_and' 229*f412fd2aSLoGin - 'for_each_cpu_wrap' 230*f412fd2aSLoGin - 'for_each_dapm_widgets' 231*f412fd2aSLoGin - 'for_each_dedup_cand' 232*f412fd2aSLoGin - 'for_each_dev_addr' 233*f412fd2aSLoGin - 'for_each_dev_scope' 234*f412fd2aSLoGin - 'for_each_dma_cap_mask' 235*f412fd2aSLoGin - 'for_each_dpcm_be' 236*f412fd2aSLoGin - 'for_each_dpcm_be_rollback' 237*f412fd2aSLoGin - 'for_each_dpcm_be_safe' 238*f412fd2aSLoGin - 'for_each_dpcm_fe' 239*f412fd2aSLoGin - 'for_each_drhd_unit' 240*f412fd2aSLoGin - 'for_each_dss_dev' 241*f412fd2aSLoGin - 'for_each_efi_memory_desc' 242*f412fd2aSLoGin - 'for_each_efi_memory_desc_in_map' 243*f412fd2aSLoGin - 'for_each_element' 244*f412fd2aSLoGin - 'for_each_element_extid' 245*f412fd2aSLoGin - 'for_each_element_id' 246*f412fd2aSLoGin - 'for_each_endpoint_of_node' 247*f412fd2aSLoGin - 'for_each_event' 248*f412fd2aSLoGin - 'for_each_event_tps' 249*f412fd2aSLoGin - 'for_each_evictable_lru' 250*f412fd2aSLoGin - 'for_each_fib6_node_rt_rcu' 251*f412fd2aSLoGin - 'for_each_fib6_walker_rt' 252*f412fd2aSLoGin - 'for_each_free_mem_pfn_range_in_zone' 253*f412fd2aSLoGin - 'for_each_free_mem_pfn_range_in_zone_from' 254*f412fd2aSLoGin - 'for_each_free_mem_range' 255*f412fd2aSLoGin - 'for_each_free_mem_range_reverse' 256*f412fd2aSLoGin - 'for_each_func_rsrc' 257*f412fd2aSLoGin - 'for_each_group_evsel' 258*f412fd2aSLoGin - 'for_each_group_member' 259*f412fd2aSLoGin - 'for_each_hstate' 260*f412fd2aSLoGin - 'for_each_if' 261*f412fd2aSLoGin - 'for_each_inject_fn' 262*f412fd2aSLoGin - 'for_each_insn' 263*f412fd2aSLoGin - 'for_each_insn_prefix' 264*f412fd2aSLoGin - 'for_each_intid' 265*f412fd2aSLoGin - 'for_each_iommu' 266*f412fd2aSLoGin - 'for_each_ip_tunnel_rcu' 267*f412fd2aSLoGin - 'for_each_irq_nr' 268*f412fd2aSLoGin - 'for_each_lang' 269*f412fd2aSLoGin - 'for_each_link_codecs' 270*f412fd2aSLoGin - 'for_each_link_cpus' 271*f412fd2aSLoGin - 'for_each_link_platforms' 272*f412fd2aSLoGin - 'for_each_lru' 273*f412fd2aSLoGin - 'for_each_matching_node' 274*f412fd2aSLoGin - 'for_each_matching_node_and_match' 275*f412fd2aSLoGin - 'for_each_mem_pfn_range' 276*f412fd2aSLoGin - 'for_each_mem_range' 277*f412fd2aSLoGin - 'for_each_mem_range_rev' 278*f412fd2aSLoGin - 'for_each_mem_region' 279*f412fd2aSLoGin - 'for_each_member' 280*f412fd2aSLoGin - 'for_each_memory' 281*f412fd2aSLoGin - 'for_each_migratetype_order' 282*f412fd2aSLoGin - 'for_each_missing_reg' 283*f412fd2aSLoGin - 'for_each_net' 284*f412fd2aSLoGin - 'for_each_net_continue_reverse' 285*f412fd2aSLoGin - 'for_each_net_rcu' 286*f412fd2aSLoGin - 'for_each_netdev' 287*f412fd2aSLoGin - 'for_each_netdev_continue' 288*f412fd2aSLoGin - 'for_each_netdev_continue_rcu' 289*f412fd2aSLoGin - 'for_each_netdev_continue_reverse' 290*f412fd2aSLoGin - 'for_each_netdev_feature' 291*f412fd2aSLoGin - 'for_each_netdev_in_bond_rcu' 292*f412fd2aSLoGin - 'for_each_netdev_rcu' 293*f412fd2aSLoGin - 'for_each_netdev_reverse' 294*f412fd2aSLoGin - 'for_each_netdev_safe' 295*f412fd2aSLoGin - 'for_each_new_connector_in_state' 296*f412fd2aSLoGin - 'for_each_new_crtc_in_state' 297*f412fd2aSLoGin - 'for_each_new_mst_mgr_in_state' 298*f412fd2aSLoGin - 'for_each_new_plane_in_state' 299*f412fd2aSLoGin - 'for_each_new_plane_in_state_reverse' 300*f412fd2aSLoGin - 'for_each_new_private_obj_in_state' 301*f412fd2aSLoGin - 'for_each_new_reg' 302*f412fd2aSLoGin - 'for_each_node' 303*f412fd2aSLoGin - 'for_each_node_by_name' 304*f412fd2aSLoGin - 'for_each_node_by_type' 305*f412fd2aSLoGin - 'for_each_node_mask' 306*f412fd2aSLoGin - 'for_each_node_state' 307*f412fd2aSLoGin - 'for_each_node_with_cpus' 308*f412fd2aSLoGin - 'for_each_node_with_property' 309*f412fd2aSLoGin - 'for_each_nonreserved_multicast_dest_pgid' 310*f412fd2aSLoGin - 'for_each_of_allnodes' 311*f412fd2aSLoGin - 'for_each_of_allnodes_from' 312*f412fd2aSLoGin - 'for_each_of_cpu_node' 313*f412fd2aSLoGin - 'for_each_of_pci_range' 314*f412fd2aSLoGin - 'for_each_old_connector_in_state' 315*f412fd2aSLoGin - 'for_each_old_crtc_in_state' 316*f412fd2aSLoGin - 'for_each_old_mst_mgr_in_state' 317*f412fd2aSLoGin - 'for_each_old_plane_in_state' 318*f412fd2aSLoGin - 'for_each_old_private_obj_in_state' 319*f412fd2aSLoGin - 'for_each_oldnew_connector_in_state' 320*f412fd2aSLoGin - 'for_each_oldnew_crtc_in_state' 321*f412fd2aSLoGin - 'for_each_oldnew_mst_mgr_in_state' 322*f412fd2aSLoGin - 'for_each_oldnew_plane_in_state' 323*f412fd2aSLoGin - 'for_each_oldnew_plane_in_state_reverse' 324*f412fd2aSLoGin - 'for_each_oldnew_private_obj_in_state' 325*f412fd2aSLoGin - 'for_each_online_cpu' 326*f412fd2aSLoGin - 'for_each_online_node' 327*f412fd2aSLoGin - 'for_each_online_pgdat' 328*f412fd2aSLoGin - 'for_each_path' 329*f412fd2aSLoGin - 'for_each_pci_bridge' 330*f412fd2aSLoGin - 'for_each_pci_dev' 331*f412fd2aSLoGin - 'for_each_pcm_streams' 332*f412fd2aSLoGin - 'for_each_physmem_range' 333*f412fd2aSLoGin - 'for_each_populated_zone' 334*f412fd2aSLoGin - 'for_each_possible_cpu' 335*f412fd2aSLoGin - 'for_each_present_cpu' 336*f412fd2aSLoGin - 'for_each_prime_number' 337*f412fd2aSLoGin - 'for_each_prime_number_from' 338*f412fd2aSLoGin - 'for_each_probe_cache_entry' 339*f412fd2aSLoGin - 'for_each_process' 340*f412fd2aSLoGin - 'for_each_process_thread' 341*f412fd2aSLoGin - 'for_each_prop_codec_conf' 342*f412fd2aSLoGin - 'for_each_prop_dai_codec' 343*f412fd2aSLoGin - 'for_each_prop_dai_cpu' 344*f412fd2aSLoGin - 'for_each_prop_dlc_codecs' 345*f412fd2aSLoGin - 'for_each_prop_dlc_cpus' 346*f412fd2aSLoGin - 'for_each_prop_dlc_platforms' 347*f412fd2aSLoGin - 'for_each_property_of_node' 348*f412fd2aSLoGin - 'for_each_reg' 349*f412fd2aSLoGin - 'for_each_reg_filtered' 350*f412fd2aSLoGin - 'for_each_registered_fb' 351*f412fd2aSLoGin - 'for_each_requested_gpio' 352*f412fd2aSLoGin - 'for_each_requested_gpio_in_range' 353*f412fd2aSLoGin - 'for_each_reserved_mem_range' 354*f412fd2aSLoGin - 'for_each_reserved_mem_region' 355*f412fd2aSLoGin - 'for_each_rtd_codec_dais' 356*f412fd2aSLoGin - 'for_each_rtd_components' 357*f412fd2aSLoGin - 'for_each_rtd_cpu_dais' 358*f412fd2aSLoGin - 'for_each_rtd_dais' 359*f412fd2aSLoGin - 'for_each_script' 360*f412fd2aSLoGin - 'for_each_sec' 361*f412fd2aSLoGin - 'for_each_set_bit' 362*f412fd2aSLoGin - 'for_each_set_bit_from' 363*f412fd2aSLoGin - 'for_each_set_bitrange' 364*f412fd2aSLoGin - 'for_each_set_bitrange_from' 365*f412fd2aSLoGin - 'for_each_set_clump8' 366*f412fd2aSLoGin - 'for_each_sg' 367*f412fd2aSLoGin - 'for_each_sg_dma_page' 368*f412fd2aSLoGin - 'for_each_sg_page' 369*f412fd2aSLoGin - 'for_each_sgtable_dma_page' 370*f412fd2aSLoGin - 'for_each_sgtable_dma_sg' 371*f412fd2aSLoGin - 'for_each_sgtable_page' 372*f412fd2aSLoGin - 'for_each_sgtable_sg' 373*f412fd2aSLoGin - 'for_each_shell_test' 374*f412fd2aSLoGin - 'for_each_sibling_event' 375*f412fd2aSLoGin - 'for_each_subelement' 376*f412fd2aSLoGin - 'for_each_subelement_extid' 377*f412fd2aSLoGin - 'for_each_subelement_id' 378*f412fd2aSLoGin - 'for_each_sublist' 379*f412fd2aSLoGin - 'for_each_subsystem' 380*f412fd2aSLoGin - 'for_each_supported_activate_fn' 381*f412fd2aSLoGin - 'for_each_supported_inject_fn' 382*f412fd2aSLoGin - 'for_each_test' 383*f412fd2aSLoGin - 'for_each_thread' 384*f412fd2aSLoGin - 'for_each_token' 385*f412fd2aSLoGin - 'for_each_unicast_dest_pgid' 386*f412fd2aSLoGin - 'for_each_vsi' 387*f412fd2aSLoGin - 'for_each_wakeup_source' 388*f412fd2aSLoGin - 'for_each_zone' 389*f412fd2aSLoGin - 'for_each_zone_zonelist' 390*f412fd2aSLoGin - 'for_each_zone_zonelist_nodemask' 391*f412fd2aSLoGin - 'func_for_each_insn' 392*f412fd2aSLoGin - 'fwnode_for_each_available_child_node' 393*f412fd2aSLoGin - 'fwnode_for_each_child_node' 394*f412fd2aSLoGin - 'fwnode_graph_for_each_endpoint' 395*f412fd2aSLoGin - 'gadget_for_each_ep' 396*f412fd2aSLoGin - 'genradix_for_each' 397*f412fd2aSLoGin - 'genradix_for_each_from' 398*f412fd2aSLoGin - 'hash_for_each' 399*f412fd2aSLoGin - 'hash_for_each_possible' 400*f412fd2aSLoGin - 'hash_for_each_possible_rcu' 401*f412fd2aSLoGin - 'hash_for_each_possible_rcu_notrace' 402*f412fd2aSLoGin - 'hash_for_each_possible_safe' 403*f412fd2aSLoGin - 'hash_for_each_rcu' 404*f412fd2aSLoGin - 'hash_for_each_safe' 405*f412fd2aSLoGin - 'hashmap__for_each_entry' 406*f412fd2aSLoGin - 'hashmap__for_each_entry_safe' 407*f412fd2aSLoGin - 'hashmap__for_each_key_entry' 408*f412fd2aSLoGin - 'hashmap__for_each_key_entry_safe' 409*f412fd2aSLoGin - 'hctx_for_each_ctx' 410*f412fd2aSLoGin - 'hists__for_each_format' 411*f412fd2aSLoGin - 'hists__for_each_sort_list' 412*f412fd2aSLoGin - 'hlist_bl_for_each_entry' 413*f412fd2aSLoGin - 'hlist_bl_for_each_entry_rcu' 414*f412fd2aSLoGin - 'hlist_bl_for_each_entry_safe' 415*f412fd2aSLoGin - 'hlist_for_each' 416*f412fd2aSLoGin - 'hlist_for_each_entry' 417*f412fd2aSLoGin - 'hlist_for_each_entry_continue' 418*f412fd2aSLoGin - 'hlist_for_each_entry_continue_rcu' 419*f412fd2aSLoGin - 'hlist_for_each_entry_continue_rcu_bh' 420*f412fd2aSLoGin - 'hlist_for_each_entry_from' 421*f412fd2aSLoGin - 'hlist_for_each_entry_from_rcu' 422*f412fd2aSLoGin - 'hlist_for_each_entry_rcu' 423*f412fd2aSLoGin - 'hlist_for_each_entry_rcu_bh' 424*f412fd2aSLoGin - 'hlist_for_each_entry_rcu_notrace' 425*f412fd2aSLoGin - 'hlist_for_each_entry_safe' 426*f412fd2aSLoGin - 'hlist_for_each_entry_srcu' 427*f412fd2aSLoGin - 'hlist_for_each_safe' 428*f412fd2aSLoGin - 'hlist_nulls_for_each_entry' 429*f412fd2aSLoGin - 'hlist_nulls_for_each_entry_from' 430*f412fd2aSLoGin - 'hlist_nulls_for_each_entry_rcu' 431*f412fd2aSLoGin - 'hlist_nulls_for_each_entry_safe' 432*f412fd2aSLoGin - 'i3c_bus_for_each_i2cdev' 433*f412fd2aSLoGin - 'i3c_bus_for_each_i3cdev' 434*f412fd2aSLoGin - 'idr_for_each_entry' 435*f412fd2aSLoGin - 'idr_for_each_entry_continue' 436*f412fd2aSLoGin - 'idr_for_each_entry_continue_ul' 437*f412fd2aSLoGin - 'idr_for_each_entry_ul' 438*f412fd2aSLoGin - 'in_dev_for_each_ifa_rcu' 439*f412fd2aSLoGin - 'in_dev_for_each_ifa_rtnl' 440*f412fd2aSLoGin - 'inet_bind_bucket_for_each' 441*f412fd2aSLoGin - 'inet_lhash2_for_each_icsk' 442*f412fd2aSLoGin - 'inet_lhash2_for_each_icsk_continue' 443*f412fd2aSLoGin - 'inet_lhash2_for_each_icsk_rcu' 444*f412fd2aSLoGin - 'interval_tree_for_each_double_span' 445*f412fd2aSLoGin - 'interval_tree_for_each_span' 446*f412fd2aSLoGin - 'intlist__for_each_entry' 447*f412fd2aSLoGin - 'intlist__for_each_entry_safe' 448*f412fd2aSLoGin - 'iopt_for_each_contig_area' 449*f412fd2aSLoGin - 'kcore_copy__for_each_phdr' 450*f412fd2aSLoGin - 'key_for_each' 451*f412fd2aSLoGin - 'key_for_each_safe' 452*f412fd2aSLoGin - 'klp_for_each_func' 453*f412fd2aSLoGin - 'klp_for_each_func_safe' 454*f412fd2aSLoGin - 'klp_for_each_func_static' 455*f412fd2aSLoGin - 'klp_for_each_object' 456*f412fd2aSLoGin - 'klp_for_each_object_safe' 457*f412fd2aSLoGin - 'klp_for_each_object_static' 458*f412fd2aSLoGin - 'kunit_suite_for_each_test_case' 459*f412fd2aSLoGin - 'kvm_for_each_memslot' 460*f412fd2aSLoGin - 'kvm_for_each_memslot_in_gfn_range' 461*f412fd2aSLoGin - 'kvm_for_each_vcpu' 462*f412fd2aSLoGin - 'libbpf_nla_for_each_attr' 463*f412fd2aSLoGin - 'list_for_each' 464*f412fd2aSLoGin - 'list_for_each_codec' 465*f412fd2aSLoGin - 'list_for_each_codec_safe' 466*f412fd2aSLoGin - 'list_for_each_continue' 467*f412fd2aSLoGin - 'list_for_each_entry' 468*f412fd2aSLoGin - 'list_for_each_entry_continue' 469*f412fd2aSLoGin - 'list_for_each_entry_continue_rcu' 470*f412fd2aSLoGin - 'list_for_each_entry_continue_reverse' 471*f412fd2aSLoGin - 'list_for_each_entry_from' 472*f412fd2aSLoGin - 'list_for_each_entry_from_rcu' 473*f412fd2aSLoGin - 'list_for_each_entry_from_reverse' 474*f412fd2aSLoGin - 'list_for_each_entry_lockless' 475*f412fd2aSLoGin - 'list_for_each_entry_rcu' 476*f412fd2aSLoGin - 'list_for_each_entry_reverse' 477*f412fd2aSLoGin - 'list_for_each_entry_safe' 478*f412fd2aSLoGin - 'list_for_each_entry_safe_continue' 479*f412fd2aSLoGin - 'list_for_each_entry_safe_from' 480*f412fd2aSLoGin - 'list_for_each_entry_safe_reverse' 481*f412fd2aSLoGin - 'list_for_each_entry_srcu' 482*f412fd2aSLoGin - 'list_for_each_from' 483*f412fd2aSLoGin - 'list_for_each_prev' 484*f412fd2aSLoGin - 'list_for_each_prev_safe' 485*f412fd2aSLoGin - 'list_for_each_safe' 486*f412fd2aSLoGin - 'llist_for_each' 487*f412fd2aSLoGin - 'llist_for_each_entry' 488*f412fd2aSLoGin - 'llist_for_each_entry_safe' 489*f412fd2aSLoGin - 'llist_for_each_safe' 490*f412fd2aSLoGin - 'map__for_each_symbol' 491*f412fd2aSLoGin - 'map__for_each_symbol_by_name' 492*f412fd2aSLoGin - 'map_for_each_event' 493*f412fd2aSLoGin - 'map_for_each_metric' 494*f412fd2aSLoGin - 'maps__for_each_entry' 495*f412fd2aSLoGin - 'maps__for_each_entry_safe' 496*f412fd2aSLoGin - 'mci_for_each_dimm' 497*f412fd2aSLoGin - 'media_device_for_each_entity' 498*f412fd2aSLoGin - 'media_device_for_each_intf' 499*f412fd2aSLoGin - 'media_device_for_each_link' 500*f412fd2aSLoGin - 'media_device_for_each_pad' 501*f412fd2aSLoGin - 'msi_for_each_desc' 502*f412fd2aSLoGin - 'nanddev_io_for_each_page' 503*f412fd2aSLoGin - 'netdev_for_each_lower_dev' 504*f412fd2aSLoGin - 'netdev_for_each_lower_private' 505*f412fd2aSLoGin - 'netdev_for_each_lower_private_rcu' 506*f412fd2aSLoGin - 'netdev_for_each_mc_addr' 507*f412fd2aSLoGin - 'netdev_for_each_uc_addr' 508*f412fd2aSLoGin - 'netdev_for_each_upper_dev_rcu' 509*f412fd2aSLoGin - 'netdev_hw_addr_list_for_each' 510*f412fd2aSLoGin - 'nft_rule_for_each_expr' 511*f412fd2aSLoGin - 'nla_for_each_attr' 512*f412fd2aSLoGin - 'nla_for_each_nested' 513*f412fd2aSLoGin - 'nlmsg_for_each_attr' 514*f412fd2aSLoGin - 'nlmsg_for_each_msg' 515*f412fd2aSLoGin - 'nr_neigh_for_each' 516*f412fd2aSLoGin - 'nr_neigh_for_each_safe' 517*f412fd2aSLoGin - 'nr_node_for_each' 518*f412fd2aSLoGin - 'nr_node_for_each_safe' 519*f412fd2aSLoGin - 'of_for_each_phandle' 520*f412fd2aSLoGin - 'of_property_for_each_string' 521*f412fd2aSLoGin - 'of_property_for_each_u32' 522*f412fd2aSLoGin - 'pci_bus_for_each_resource' 523*f412fd2aSLoGin - 'pci_dev_for_each_resource' 524*f412fd2aSLoGin - 'pcl_for_each_chunk' 525*f412fd2aSLoGin - 'pcl_for_each_segment' 526*f412fd2aSLoGin - 'pcm_for_each_format' 527*f412fd2aSLoGin - 'perf_config_items__for_each_entry' 528*f412fd2aSLoGin - 'perf_config_sections__for_each_entry' 529*f412fd2aSLoGin - 'perf_config_set__for_each_entry' 530*f412fd2aSLoGin - 'perf_cpu_map__for_each_cpu' 531*f412fd2aSLoGin - 'perf_evlist__for_each_entry' 532*f412fd2aSLoGin - 'perf_evlist__for_each_entry_reverse' 533*f412fd2aSLoGin - 'perf_evlist__for_each_entry_safe' 534*f412fd2aSLoGin - 'perf_evlist__for_each_evsel' 535*f412fd2aSLoGin - 'perf_evlist__for_each_mmap' 536*f412fd2aSLoGin - 'perf_hpp_list__for_each_format' 537*f412fd2aSLoGin - 'perf_hpp_list__for_each_format_safe' 538*f412fd2aSLoGin - 'perf_hpp_list__for_each_sort_list' 539*f412fd2aSLoGin - 'perf_hpp_list__for_each_sort_list_safe' 540*f412fd2aSLoGin - 'perf_pmu__for_each_hybrid_pmu' 541*f412fd2aSLoGin - 'ping_portaddr_for_each_entry' 542*f412fd2aSLoGin - 'ping_portaddr_for_each_entry_rcu' 543*f412fd2aSLoGin - 'plist_for_each' 544*f412fd2aSLoGin - 'plist_for_each_continue' 545*f412fd2aSLoGin - 'plist_for_each_entry' 546*f412fd2aSLoGin - 'plist_for_each_entry_continue' 547*f412fd2aSLoGin - 'plist_for_each_entry_safe' 548*f412fd2aSLoGin - 'plist_for_each_safe' 549*f412fd2aSLoGin - 'pnp_for_each_card' 550*f412fd2aSLoGin - 'pnp_for_each_dev' 551*f412fd2aSLoGin - 'protocol_for_each_card' 552*f412fd2aSLoGin - 'protocol_for_each_dev' 553*f412fd2aSLoGin - 'queue_for_each_hw_ctx' 554*f412fd2aSLoGin - 'radix_tree_for_each_slot' 555*f412fd2aSLoGin - 'radix_tree_for_each_tagged' 556*f412fd2aSLoGin - 'rb_for_each' 557*f412fd2aSLoGin - 'rbtree_postorder_for_each_entry_safe' 558*f412fd2aSLoGin - 'rdma_for_each_block' 559*f412fd2aSLoGin - 'rdma_for_each_port' 560*f412fd2aSLoGin - 'rdma_umem_for_each_dma_block' 561*f412fd2aSLoGin - 'resort_rb__for_each_entry' 562*f412fd2aSLoGin - 'resource_list_for_each_entry' 563*f412fd2aSLoGin - 'resource_list_for_each_entry_safe' 564*f412fd2aSLoGin - 'rhl_for_each_entry_rcu' 565*f412fd2aSLoGin - 'rhl_for_each_rcu' 566*f412fd2aSLoGin - 'rht_for_each' 567*f412fd2aSLoGin - 'rht_for_each_entry' 568*f412fd2aSLoGin - 'rht_for_each_entry_from' 569*f412fd2aSLoGin - 'rht_for_each_entry_rcu' 570*f412fd2aSLoGin - 'rht_for_each_entry_rcu_from' 571*f412fd2aSLoGin - 'rht_for_each_entry_safe' 572*f412fd2aSLoGin - 'rht_for_each_from' 573*f412fd2aSLoGin - 'rht_for_each_rcu' 574*f412fd2aSLoGin - 'rht_for_each_rcu_from' 575*f412fd2aSLoGin - 'rq_for_each_bvec' 576*f412fd2aSLoGin - 'rq_for_each_segment' 577*f412fd2aSLoGin - 'rq_list_for_each' 578*f412fd2aSLoGin - 'rq_list_for_each_safe' 579*f412fd2aSLoGin - 'scsi_for_each_prot_sg' 580*f412fd2aSLoGin - 'scsi_for_each_sg' 581*f412fd2aSLoGin - 'sctp_for_each_hentry' 582*f412fd2aSLoGin - 'sctp_skb_for_each' 583*f412fd2aSLoGin - 'sec_for_each_insn' 584*f412fd2aSLoGin - 'sec_for_each_insn_continue' 585*f412fd2aSLoGin - 'sec_for_each_insn_from' 586*f412fd2aSLoGin - 'shdma_for_each_chan' 587*f412fd2aSLoGin - 'shost_for_each_device' 588*f412fd2aSLoGin - 'sk_for_each' 589*f412fd2aSLoGin - 'sk_for_each_bound' 590*f412fd2aSLoGin - 'sk_for_each_entry_offset_rcu' 591*f412fd2aSLoGin - 'sk_for_each_from' 592*f412fd2aSLoGin - 'sk_for_each_rcu' 593*f412fd2aSLoGin - 'sk_for_each_safe' 594*f412fd2aSLoGin - 'sk_nulls_for_each' 595*f412fd2aSLoGin - 'sk_nulls_for_each_from' 596*f412fd2aSLoGin - 'sk_nulls_for_each_rcu' 597*f412fd2aSLoGin - 'snd_array_for_each' 598*f412fd2aSLoGin - 'snd_pcm_group_for_each_entry' 599*f412fd2aSLoGin - 'snd_soc_dapm_widget_for_each_path' 600*f412fd2aSLoGin - 'snd_soc_dapm_widget_for_each_path_safe' 601*f412fd2aSLoGin - 'snd_soc_dapm_widget_for_each_sink_path' 602*f412fd2aSLoGin - 'snd_soc_dapm_widget_for_each_source_path' 603*f412fd2aSLoGin - 'strlist__for_each_entry' 604*f412fd2aSLoGin - 'strlist__for_each_entry_safe' 605*f412fd2aSLoGin - 'sym_for_each_insn' 606*f412fd2aSLoGin - 'sym_for_each_insn_continue_reverse' 607*f412fd2aSLoGin - 'symbols__for_each_entry' 608*f412fd2aSLoGin - 'tb_property_for_each' 609*f412fd2aSLoGin - 'tcf_act_for_each_action' 610*f412fd2aSLoGin - 'tcf_exts_for_each_action' 611*f412fd2aSLoGin - 'udp_portaddr_for_each_entry' 612*f412fd2aSLoGin - 'udp_portaddr_for_each_entry_rcu' 613*f412fd2aSLoGin - 'usb_hub_for_each_child' 614*f412fd2aSLoGin - 'v4l2_device_for_each_subdev' 615*f412fd2aSLoGin - 'v4l2_m2m_for_each_dst_buf' 616*f412fd2aSLoGin - 'v4l2_m2m_for_each_dst_buf_safe' 617*f412fd2aSLoGin - 'v4l2_m2m_for_each_src_buf' 618*f412fd2aSLoGin - 'v4l2_m2m_for_each_src_buf_safe' 619*f412fd2aSLoGin - 'virtio_device_for_each_vq' 620*f412fd2aSLoGin - 'while_for_each_ftrace_op' 621*f412fd2aSLoGin - 'xa_for_each' 622*f412fd2aSLoGin - 'xa_for_each_marked' 623*f412fd2aSLoGin - 'xa_for_each_range' 624*f412fd2aSLoGin - 'xa_for_each_start' 625*f412fd2aSLoGin - 'xas_for_each' 626*f412fd2aSLoGin - 'xas_for_each_conflict' 627*f412fd2aSLoGin - 'xas_for_each_marked' 628*f412fd2aSLoGin - 'xbc_array_for_each_value' 629*f412fd2aSLoGin - 'xbc_for_each_key_value' 630*f412fd2aSLoGin - 'xbc_node_for_each_array_value' 631*f412fd2aSLoGin - 'xbc_node_for_each_child' 632*f412fd2aSLoGin - 'xbc_node_for_each_key_value' 633*f412fd2aSLoGin - 'xbc_node_for_each_subkey' 634*f412fd2aSLoGin - 'zorro_for_each_dev' 635*f412fd2aSLoGin 636*f412fd2aSLoGinIncludeBlocks: Preserve 637*f412fd2aSLoGinIncludeCategories: 638*f412fd2aSLoGin - Regex: '.*' 639*f412fd2aSLoGin Priority: 1 640*f412fd2aSLoGinIncludeIsMainRegex: '(Test)?$' 641*f412fd2aSLoGinIndentCaseLabels: false 642*f412fd2aSLoGinIndentGotoLabels: false 643*f412fd2aSLoGinIndentPPDirectives: None 644*f412fd2aSLoGinIndentWidth: 8 645*f412fd2aSLoGinIndentWrappedFunctionNames: false 646*f412fd2aSLoGinJavaScriptQuotes: Leave 647*f412fd2aSLoGinJavaScriptWrapImports: true 648*f412fd2aSLoGinKeepEmptyLinesAtTheStartOfBlocks: false 649*f412fd2aSLoGinMacroBlockBegin: '' 650*f412fd2aSLoGinMacroBlockEnd: '' 651*f412fd2aSLoGinMaxEmptyLinesToKeep: 1 652*f412fd2aSLoGinNamespaceIndentation: None 653*f412fd2aSLoGinObjCBinPackProtocolList: Auto 654*f412fd2aSLoGinObjCBlockIndentWidth: 8 655*f412fd2aSLoGinObjCSpaceAfterProperty: true 656*f412fd2aSLoGinObjCSpaceBeforeProtocolList: true 657*f412fd2aSLoGin 658*f412fd2aSLoGin# Taken from git's rules 659*f412fd2aSLoGinPenaltyBreakAssignment: 10 660*f412fd2aSLoGinPenaltyBreakBeforeFirstCallParameter: 30 661*f412fd2aSLoGinPenaltyBreakComment: 10 662*f412fd2aSLoGinPenaltyBreakFirstLessLess: 0 663*f412fd2aSLoGinPenaltyBreakString: 10 664*f412fd2aSLoGinPenaltyExcessCharacter: 100 665*f412fd2aSLoGinPenaltyReturnTypeOnItsOwnLine: 60 666*f412fd2aSLoGin 667*f412fd2aSLoGinPointerAlignment: Right 668*f412fd2aSLoGinReflowComments: false 669*f412fd2aSLoGinSortIncludes: false 670*f412fd2aSLoGinSortUsingDeclarations: false 671*f412fd2aSLoGinSpaceAfterCStyleCast: false 672*f412fd2aSLoGinSpaceAfterTemplateKeyword: true 673*f412fd2aSLoGinSpaceBeforeAssignmentOperators: true 674*f412fd2aSLoGinSpaceBeforeCtorInitializerColon: true 675*f412fd2aSLoGinSpaceBeforeInheritanceColon: true 676*f412fd2aSLoGinSpaceBeforeParens: ControlStatementsExceptForEachMacros 677*f412fd2aSLoGinSpaceBeforeRangeBasedForLoopColon: true 678*f412fd2aSLoGinSpaceInEmptyParentheses: false 679*f412fd2aSLoGinSpacesBeforeTrailingComments: 1 680*f412fd2aSLoGinSpacesInAngles: false 681*f412fd2aSLoGinSpacesInContainerLiterals: false 682*f412fd2aSLoGinSpacesInCStyleCastParentheses: false 683*f412fd2aSLoGinSpacesInParentheses: false 684*f412fd2aSLoGinSpacesInSquareBrackets: false 685*f412fd2aSLoGinStandard: Cpp03 686*f412fd2aSLoGinTabWidth: 8 687*f412fd2aSLoGinUseTab: Always 688*f412fd2aSLoGin... 689