/kernel/linux/linux-5.10/sound/firewire/dice/ |
H A D | dice-proc.c | 71 u32 sections[ARRAY_SIZE(section_names) * 2]; in dice_proc_read() local 117 if (dice_proc_read_mem(dice, sections, 0, ARRAY_SIZE(sections)) < 0) in dice_proc_read() 119 snd_iprintf(buffer, "sections:\n"); in dice_proc_read() 123 sections[i * 2], sections[i * 2 + 1]); in dice_proc_read() 125 quadlets = min_t(u32, sections[1], sizeof(buf.global) / 4); in dice_proc_read() 126 if (dice_proc_read_mem(dice, &buf.global, sections[0], quadlets) < 0) in dice_proc_read() 170 if (dice_proc_read_mem(dice, &tx_rx_header, sections[2], 2) < 0) in dice_proc_read() 174 if (dice_proc_read_mem(dice, &buf.tx, sections[ in dice_proc_read() [all...] |
/kernel/linux/linux-6.6/sound/firewire/dice/ |
H A D | dice-proc.c | 71 u32 sections[ARRAY_SIZE(section_names) * 2]; in dice_proc_read() local 117 if (dice_proc_read_mem(dice, sections, 0, ARRAY_SIZE(sections)) < 0) in dice_proc_read() 119 snd_iprintf(buffer, "sections:\n"); in dice_proc_read() 123 sections[i * 2], sections[i * 2 + 1]); in dice_proc_read() 125 quadlets = min_t(u32, sections[1], sizeof(buf.global) / 4); in dice_proc_read() 126 if (dice_proc_read_mem(dice, &buf.global, sections[0], quadlets) < 0) in dice_proc_read() 170 if (dice_proc_read_mem(dice, &tx_rx_header, sections[2], 2) < 0) in dice_proc_read() 174 if (dice_proc_read_mem(dice, &buf.tx, sections[ in dice_proc_read() [all...] |
/kernel/linux/linux-5.10/scripts/ |
H A D | generate_initcall_order.pl | 227 my $sections = {}; # level -> [ secname, ...] 229 # sort results to retain link order and split to sections per 235 if (!exists($sections->{$level})) { 236 $sections->{$level} = []; 239 push(@{$sections->{$level}}, $result->{'secname'}); 243 die "$0: ERROR: no initcalls?" if (!keys(%{$sections})); 249 foreach my $level (sort(keys(%{$sections}))) { 260 foreach my $secname (@{$sections->{$level}}) {
|
H A D | extract-sys-certs.pl | 30 my @sections = (); 44 push @sections, { name => $name, 51 print "Have $#sections sections\n"; 107 foreach my $sec (@sections) { 120 die "Cert object in multiple sections: ", $s_name, " and ", $s->{name}, "\n"
|
/kernel/linux/linux-6.6/scripts/ |
H A D | generate_initcall_order.pl | 227 my $sections = {}; # level -> [ secname, ...] 229 # sort results to retain link order and split to sections per 235 if (!exists($sections->{$level})) { 236 $sections->{$level} = []; 239 push(@{$sections->{$level}}, $result->{'secname'}); 243 die "$0: ERROR: no initcalls?" if (!keys(%{$sections})); 249 foreach my $level (sort(keys(%{$sections}))) { 260 foreach my $secname (@{$sections->{$level}}) {
|
H A D | extract-sys-certs.pl | 30 my @sections = (); 44 push @sections, { name => $name, 51 print "Have $#sections sections\n"; 107 foreach my $sec (@sections) { 120 die "Cert object in multiple sections: ", $s_name, " and ", $s->{name}, "\n"
|
H A D | kernel-doc | 26 kernel-doc [-h] [-v] [-Werror] [-Wall] [-Wreturn] [-Wshort-description] [-Wcontents-before-sections] 37 [-no-doc-sections] 124 -sections => 'SYNOPSIS', 148 OUTPUT_ALL => 0, # output all symbols and doc sections 274 my %sections; 333 } elsif ($cmd eq "Wcontents-before-sections") { 341 } elsif ($cmd eq 'no-doc-sections') { 370 -sections => 'SYNOPSIS', 379 -sections => 'SYNOPSIS', 477 if (defined($sections{ [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
H A D | coredump.c | 807 .sections = NULL, 822 .sections = NULL, 837 .sections = NULL, 850 .sections = NULL, 860 .sections = NULL, 870 .sections = qca6174_hw21_register_sections, 883 .sections = NULL, 893 .sections = NULL, 903 .sections = NULL, 913 .sections [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/ |
H A D | coredump.c | 807 .sections = NULL, 822 .sections = NULL, 837 .sections = NULL, 850 .sections = NULL, 860 .sections = NULL, 870 .sections = qca6174_hw21_register_sections, 883 .sections = NULL, 893 .sections = NULL, 903 .sections = NULL, 913 .sections [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/sgx/ |
H A D | load.c | 141 Elf64_Shdr *sections; in encl_get_entry() local 147 sections = encl->bin + ehdr->e_shoff; in encl_get_entry() 150 if (sections[i].sh_type == SHT_SYMTAB) { in encl_get_entry() 151 symtab = (Elf64_Sym *)((char *)encl->bin + sections[i].sh_offset); in encl_get_entry() 152 num_sym = sections[i].sh_size / sections[i].sh_entsize; in encl_get_entry() 158 if (sections[i].sh_type == SHT_STRTAB) { in encl_get_entry() 159 sym_names = (char *)encl->bin + sections[i].sh_offset; in encl_get_entry()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | nvm.c | 277 struct iwl_nvm_section *sections = mvm->nvm_sections; in iwl_parse_nvm_sections() local 282 /* Checking for required sections */ in iwl_parse_nvm_sections() 286 IWL_ERR(mvm, "Can't parse empty OTP/NVM sections\n"); in iwl_parse_nvm_sections() 295 /* SW and REGULATORY sections are mandatory */ in iwl_parse_nvm_sections() 299 "Can't parse empty family 8000 OTP/NVM sections\n"); in iwl_parse_nvm_sections() 306 "Can't parse mac_address, empty sections\n"); in iwl_parse_nvm_sections() 314 "Can't parse phy_sku in B0, empty sections\n"); in iwl_parse_nvm_sections() 319 hw = (const __be16 *)sections[mvm->cfg->nvm_hw_section_num].data; in iwl_parse_nvm_sections() 320 sw = (const __le16 *)sections[NVM_SECTION_TYPE_SW].data; in iwl_parse_nvm_sections() 321 calib = (const __le16 *)sections[NVM_SECTION_TYPE_CALIBRATIO in iwl_parse_nvm_sections() 339 struct iwl_nvm_section *sections = mvm->nvm_sections; iwl_mvm_load_nvm_to_nic() local [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | config.c | 534 static struct perf_config_section *find_section(struct list_head *sections, in find_section() argument 539 list_for_each_entry(section, sections, node) in find_section() 558 static struct perf_config_section *add_section(struct list_head *sections, in add_section() argument 574 list_add_tail(§ion->node, sections); in add_section() 618 struct list_head *sections; in collect_config() local 623 sections = &set->sections; in collect_config() 635 section = find_section(sections, section_name); in collect_config() 637 section = add_section(sections, section_name); in collect_config() 734 INIT_LIST_HEAD(&set->sections); in perf_config_set__new() [all...] |
H A D | config.h | 23 struct list_head sections; member 48 * perf_config_sections__for_each - iterate thru all the sections 70 perf_config_sections__for_each_entry(&set->sections, section) \
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | config.c | 594 static struct perf_config_section *find_section(struct list_head *sections, in find_section() argument 599 list_for_each_entry(section, sections, node) in find_section() 618 static struct perf_config_section *add_section(struct list_head *sections, in add_section() argument 634 list_add_tail(§ion->node, sections); in add_section() 678 struct list_head *sections; in collect_config() local 683 sections = &set->sections; in collect_config() 695 section = find_section(sections, section_name); in collect_config() 697 section = add_section(sections, section_name); in collect_config() 761 INIT_LIST_HEAD(&set->sections); in perf_config_set__new() [all...] |
H A D | config.h | 23 struct list_head sections; member 54 * perf_config_sections__for_each - iterate thru all the sections 76 perf_config_sections__for_each_entry(&set->sections, section) \
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | nvm.c | 220 struct iwl_nvm_section *sections = mvm->nvm_sections; in iwl_parse_nvm_sections() local 225 /* Checking for required sections */ in iwl_parse_nvm_sections() 229 IWL_ERR(mvm, "Can't parse empty OTP/NVM sections\n"); in iwl_parse_nvm_sections() 238 /* SW and REGULATORY sections are mandatory */ in iwl_parse_nvm_sections() 242 "Can't parse empty family 8000 OTP/NVM sections\n"); in iwl_parse_nvm_sections() 249 "Can't parse mac_address, empty sections\n"); in iwl_parse_nvm_sections() 257 "Can't parse phy_sku in B0, empty sections\n"); in iwl_parse_nvm_sections() 262 hw = (const __be16 *)sections[mvm->cfg->nvm_hw_section_num].data; in iwl_parse_nvm_sections() 263 sw = (const __le16 *)sections[NVM_SECTION_TYPE_SW].data; in iwl_parse_nvm_sections() 264 calib = (const __le16 *)sections[NVM_SECTION_TYPE_CALIBRATIO in iwl_parse_nvm_sections() 282 struct iwl_nvm_section *sections = mvm->nvm_sections; iwl_mvm_load_nvm_to_nic() local [all...] |
/kernel/linux/linux-6.6/arch/loongarch/boot/ |
H A D | Makefile | 7 drop-sections := .comment .note .options .note.gnu.build-id 8 strip-flags := $(addprefix --remove-section=,$(drop-sections)) -S
|
/kernel/linux/linux-5.10/init/ |
H A D | Makefile | 6 ccflags-y := -fno-function-sections -fno-data-sections
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_log.c | 43 static const struct guc_log_section sections[GUC_LOG_SECTIONS_LIMIT] = { in _guc_log_init_sizes() local 66 log->sizes[i].bytes = sections[i].default_val; in _guc_log_init_sizes() 78 log->sizes[i].flag = sections[i].flag; in _guc_log_init_sizes() 86 sections[i].name, log->sizes[i].bytes, log->sizes[i].units); in _guc_log_init_sizes() 90 guc_err(guc, "Zero log %s size!\n", sections[i].name); in _guc_log_init_sizes() 97 if (log->sizes[i].count > sections[i].max) { in _guc_log_init_sizes() 99 sections[i].name, log->sizes[i].count + 1, sections[i].max + 1); in _guc_log_init_sizes() 100 log->sizes[i].count = sections[i].max; in _guc_log_init_sizes() 105 guc_err(guc, "Unit mismatch for crash and debug sections in _guc_log_init_sizes() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
H A D | rtas-fadump.c | 89 /* Kernel dump sections */ in rtas_fadump_init_mem_struct() 493 const __be32 *sections; in rtas_fadump_dt_scan() local 523 * dump sections. in rtas_fadump_dt_scan() 528 sections = of_get_flat_dt_prop(node, "ibm,configure-kernel-dump-sizes", in rtas_fadump_dt_scan() 531 if (!sections) in rtas_fadump_dt_scan() 536 for (i = 0; i < num_sections; i++, sections += 3) { in rtas_fadump_dt_scan() 537 u32 type = (u32)of_read_number(sections, 1); in rtas_fadump_dt_scan() 542 of_read_ulong(§ions[1], 2); in rtas_fadump_dt_scan() 546 of_read_ulong(§ions[1], 2); in rtas_fadump_dt_scan()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
H A D | rtas-fadump.c | 90 /* Kernel dump sections */ in rtas_fadump_init_mem_struct() 500 const __be32 *sections; in rtas_fadump_dt_scan() local 530 * dump sections. in rtas_fadump_dt_scan() 535 sections = of_get_flat_dt_prop(node, "ibm,configure-kernel-dump-sizes", in rtas_fadump_dt_scan() 538 if (!sections) in rtas_fadump_dt_scan() 543 for (i = 0; i < num_sections; i++, sections += 3) { in rtas_fadump_dt_scan() 544 u32 type = (u32)of_read_number(sections, 1); in rtas_fadump_dt_scan() 549 of_read_ulong(§ions[1], 2); in rtas_fadump_dt_scan() 553 of_read_ulong(§ions[1], 2); in rtas_fadump_dt_scan()
|
/kernel/linux/linux-6.6/init/ |
H A D | Makefile | 6 ccflags-y := -fno-function-sections -fno-data-sections
|
/kernel/linux/linux-5.10/arch/loongarch/boot/ |
H A D | Makefile | 7 # Drop some uninteresting sections in the kernel. 12 drop-sections := .comment .note .options 13 strip-flags := $(addprefix --remove-section=,$(drop-sections))
|
/kernel/linux/linux-5.10/tools/testing/selftests/splice/ |
H A D | short_splice_read.sh | 5 # bugs like 11990a5bd7e5 ("module: Correctly truncate sysfs sections output") 127 if ! [ -d /sys/module/test_module/sections ] ; then 131 expect_failure "kernfs binattr splice" test_splice /sys/module/test_module/sections/.init.text
|
/kernel/linux/linux-6.6/tools/testing/selftests/splice/ |
H A D | short_splice_read.sh | 5 # bugs like 11990a5bd7e5 ("module: Correctly truncate sysfs sections output") 127 if ! [ -d /sys/module/test_module/sections ] ; then 131 expect_success "kernfs binattr splice" test_splice /sys/module/test_module/sections/.init.text
|