/openbmc/linux/drivers/cpufreq/ |
H A D | qoriq-cpufreq.c | 30 struct cpufreq_frequency_table *table; member 129 struct cpufreq_frequency_table table; in freq_table_sort() local 188 table = kcalloc(count + 1, sizeof(*table), GFP_KERNEL); in qoriq_cpufreq_cpu_init() 189 if (!table) in qoriq_cpufreq_cpu_init() 196 table[i].frequency = freq / 1000; in qoriq_cpufreq_cpu_init() 197 table[i].driver_data = i; in qoriq_cpufreq_cpu_init() 199 freq_table_redup(table, count); in qoriq_cpufreq_cpu_init() 200 freq_table_sort(table, count); in qoriq_cpufreq_cpu_init() 202 policy->freq_table = table; in qoriq_cpufreq_cpu_init() 203 data->table = table; in qoriq_cpufreq_cpu_init() [all …]
|
H A D | freq_table.c | 21 if (!table) in policy_has_boost_freq() 24 cpufreq_for_each_valid_entry(pos, table) in policy_has_boost_freq() 33 struct cpufreq_frequency_table *table) in cpufreq_frequency_table_cpuinfo() argument 40 cpufreq_for_each_valid_entry(pos, table) { in cpufreq_frequency_table_cpuinfo() 70 struct cpufreq_frequency_table *table) in cpufreq_frequency_table_verify() argument 81 cpufreq_for_each_valid_entry(pos, table) { in cpufreq_frequency_table_verify() 206 table[index].frequency); in cpufreq_table_index_unsorted() 217 if (unlikely(!table)) { in cpufreq_frequency_table_get_index() 239 if (!table) in show_available_freqs() 242 cpufreq_for_each_valid_entry(pos, table) { in show_available_freqs() [all …]
|
/openbmc/webui-vue/src/views/HardwareStatus/Inventory/ |
H A D | InventoryTableSystem.vue | 3 <b-table 9 :empty-text="$t('global.table.emptyMessage')" 56 <dt>{{ $t('pageInventory.table.model') }}:</dt> 71 <dt>{{ $t('pageInventory.table.power') }}:</dt> 104 {{ $t('pageInventory.table.memorySummary') }} 130 </b-table> 156 tdClass: 'table-row-expand', 160 label: this.$t('pageInventory.table.id'), 165 label: this.$t('pageInventory.table.hardwareType'), 171 label: this.$t('pageInventory.table.health'), [all …]
|
H A D | InventoryTableProcessors.vue | 12 <table-cell-count 15 ></table-cell-count> 18 <b-table 28 :empty-text="$t('global.table.emptyMessage')" 29 :empty-filtered-text="$t('global.table.emptySearchMessage')" 80 <dt>{{ $t('pageInventory.table.name') }}:</dt> 156 </b-table> 192 tdClass: 'table-row-expand', 197 label: this.$t('pageInventory.table.id'), 203 label: this.$t('pageInventory.table.health'), [all …]
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_main.c | 212 table->entries = kcalloc(table->ops->max_entry_count, in sja1105_init_mac_settings() 217 table->entry_count = table->ops->max_entry_count; in sja1105_init_mac_settings() 263 table->entries = kcalloc(table->ops->max_entry_count, in sja1105_init_mii_settings() 269 table->entry_count = table->ops->max_entry_count; in sja1105_init_mii_settings() 444 table->entry_count = table->ops->max_entry_count; in sja1105_init_l2_lookup_params() 529 table->entry_count = table->ops->max_entry_count; in sja1105_init_l2_forwarding() 664 table->entry_count = table->ops->max_entry_count; in sja1110_init_pcp_remapping() 697 table->entry_count = table->ops->max_entry_count; in sja1105_init_l2_forwarding_params() 912 table->entry_count = table->ops->max_entry_count; in sja1105_init_general_params() 942 table->entry_count = table->ops->max_entry_count; in sja1105_init_avb_params() [all …]
|
H A D | sja1105_vl.c | 353 kfree(table->entries); in sja1105_init_virtual_links() 360 kfree(table->entries); in sja1105_init_virtual_links() 367 kfree(table->entries); in sja1105_init_virtual_links() 374 kfree(table->entries); in sja1105_init_virtual_links() 389 if (!table->entries) in sja1105_init_virtual_links() 455 table->entries = kcalloc(max_sharindx, table->ops->unpacked_entry_size, in sja1105_init_virtual_links() 457 if (!table->entries) in sja1105_init_virtual_links() 464 table->entries = kcalloc(max_sharindx, table->ops->unpacked_entry_size, in sja1105_init_virtual_links() 466 if (!table->entries) in sja1105_init_virtual_links() 473 table->entries = kcalloc(1, table->ops->unpacked_entry_size, in sja1105_init_virtual_links() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eq.c | 412 spin_lock(&table->lock); in mlx5_eq_add_cq() 414 spin_unlock(&table->lock); in mlx5_eq_add_cq() 424 spin_lock(&table->lock); in mlx5_eq_del_cq() 426 spin_unlock(&table->lock); in mlx5_eq_del_cq() 473 kvfree(table); in mlx5_eq_table_cleanup() 669 .irq = table->ctrl_irq, in create_async_eqs() 682 .irq = table->ctrl_irq, in create_async_eqs() 692 .irq = table->ctrl_irq, in create_async_eqs() 985 table->curr_comp_eqs--; in destroy_comp_eq() 1014 if (table->curr_comp_eqs == table->max_comp_eqs) { in create_comp_eq() [all …]
|
/openbmc/linux/fs/squashfs/ |
H A D | id.c | 66 __le64 *table; in squashfs_read_id_index_table() local 84 table = squashfs_read_table(sb, id_table_start, length); in squashfs_read_id_index_table() 85 if (IS_ERR(table)) in squashfs_read_id_index_table() 86 return table; in squashfs_read_id_index_table() 97 start = le64_to_cpu(table[n]); in squashfs_read_id_index_table() 98 end = le64_to_cpu(table[n + 1]); in squashfs_read_id_index_table() 102 kfree(table); in squashfs_read_id_index_table() 107 start = le64_to_cpu(table[indexes - 1]); in squashfs_read_id_index_table() 110 kfree(table); in squashfs_read_id_index_table() 114 return table; in squashfs_read_id_index_table()
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | tbdata.c | 45 struct acpi_table_header *table; in acpi_tb_compare_tables() local 97 table_desc->length = table->length; in acpi_tb_init_table_descriptor() 105 table_desc->pointer = table; in acpi_tb_init_table_descriptor() 141 table = in acpi_tb_acquire_table() 148 table = table_desc->pointer; in acpi_tb_acquire_table() 158 if (!table) { in acpi_tb_acquire_table() 164 *table_ptr = table; in acpi_tb_acquire_table() 234 if (!table) { in acpi_tb_acquire_temp_table() 235 table = in acpi_tb_acquire_temp_table() 239 if (!table) { in acpi_tb_acquire_temp_table() [all …]
|
/openbmc/linux/arch/s390/mm/ |
H A D | gmap.c | 89 gmap->table = table; in gmap_alloc() 564 table = gmap->table; in __gmap_link() 571 table = __va(*table & _REGION_ENTRY_ORIGIN); in __gmap_link() 579 table = __va(*table & _REGION_ENTRY_ORIGIN); in __gmap_link() 587 table = __va(*table & _REGION_ENTRY_ORIGIN); in __gmap_link() 808 unsigned long *table = gmap->table; in gmap_table_walk() local 827 table = __va(*table & _REGION_ENTRY_ORIGIN); in gmap_table_walk() 835 table = __va(*table & _REGION_ENTRY_ORIGIN); in gmap_table_walk() 843 table = __va(*table & _REGION_ENTRY_ORIGIN); in gmap_table_walk() 1316 if (!table || *table & _PAGE_INVALID) in gmap_unshadow_page() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn321/ |
H A D | dcn321_fpu.c | 220 table[0] = *entry; in dcn321_insert_entry_into_table_sorted() 230 table[i] = table[i - 1]; in dcn321_insert_entry_into_table_sorted() 246 table[i] = table[i + 1]; in remove_entry_from_table_at_index() 269 if (table[i].net_bw_in_kbytes_sec == table[i+1].net_bw_in_kbytes_sec) { in sort_entries_with_same_bw() 281 if (table[k].dcfclk_mhz > table[k+1].dcfclk_mhz) in sort_entries_with_same_bw() 282 swap_table_entries(&table[k], &table[k+1]); in sort_entries_with_same_bw() 301 if ((table[i].dram_speed_mts > table[i+1].dram_speed_mts) || in remove_inconsistent_entries() 302 (table[i].fabricclk_mhz > table[i+1].fabricclk_mhz)) in remove_inconsistent_entries() 561 if (table[i].dcfclk_mhz == table[i + 1].dcfclk_mhz && in build_synthetic_soc_states() 562 table[i].fabricclk_mhz == table[i + 1].fabricclk_mhz && in build_synthetic_soc_states() [all …]
|
/openbmc/linux/net/smc/ |
H A D | smc_sysctl.c | 76 struct ctl_table *table; in smc_sysctl_net_init() local 78 table = smc_table; in smc_sysctl_net_init() 82 table = kmemdup(table, sizeof(smc_table), GFP_KERNEL); in smc_sysctl_net_init() 83 if (!table) in smc_sysctl_net_init() 87 table[i].data += (void *)net - (void *)&init_net; in smc_sysctl_net_init() 90 net->smc.smc_hdr = register_net_sysctl_sz(net, "net/smc", table, in smc_sysctl_net_init() 105 kfree(table); in smc_sysctl_net_init() 112 struct ctl_table *table; in smc_sysctl_net_exit() local 114 table = net->smc.smc_hdr->ctl_table_arg; in smc_sysctl_net_exit() 117 kfree(table); in smc_sysctl_net_exit()
|
/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | nft_trans_stress.sh | 57 for table in $tables; do 58 echo add table inet "$table" >> "$tmp" 59 echo flush table inet "$table" >> "$tmp" 61 echo "add chain inet $table INPUT { type filter hook input priority 0; }" >> "$tmp" 62 echo "add chain inet $table OUTPUT { type filter hook output priority 0; }" >> "$tmp" 65 echo "add chain inet $table $chain" >> "$tmp" 71 echo "add rule inet $table $BASE counter jump $chain" >> "$tmp" 73 echo "add rule inet $table $chain counter return" >> "$tmp" 93 for table in $tables;do 96 ip netns exec "$testns" nft delete table inet $table
|
/openbmc/linux/drivers/clk/hisilicon/ |
H A D | clkdivider-hi6220.c | 38 const struct clk_div_table *table; member 54 return divider_recalc_rate(hw, parent_rate, val, dclk->table, in hi6220_clkdiv_recalc_rate() 63 return divider_round_rate(hw, rate, prate, dclk->table, in hi6220_clkdiv_round_rate() 75 value = divider_get_val(rate, parent_rate, dclk->table, in hi6220_clkdiv_set_rate() 107 struct clk_div_table *table; in hi6220_register_clkdiv() local 120 table = kcalloc(max_div + 1, sizeof(*table), GFP_KERNEL); in hi6220_register_clkdiv() 121 if (!table) { in hi6220_register_clkdiv() 127 table[i].div = min_div + i; in hi6220_register_clkdiv() 128 table[i].val = table[i].div - 1; in hi6220_register_clkdiv() 144 div->table = table; in hi6220_register_clkdiv() [all …]
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | pgalloc.h | 55 unsigned long *table = crst_table_alloc(mm); in p4d_alloc_one() local 57 if (table) in p4d_alloc_one() 59 return (p4d_t *) table; in p4d_alloc_one() 70 unsigned long *table = crst_table_alloc(mm); in pud_alloc_one() local 71 if (table) in pud_alloc_one() 73 return (pud_t *) table; in pud_alloc_one() 84 unsigned long *table = crst_table_alloc(mm); in pmd_alloc_one() local 86 if (!table) in pmd_alloc_one() 88 crst_table_init(table, _SEGMENT_ENTRY_EMPTY); in pmd_alloc_one() 90 crst_table_free(mm, table); in pmd_alloc_one() [all …]
|
/openbmc/webui-vue/src/assets/styles/bmc/custom/ |
H A D | _tables.scss | 1 .table { 49 .b-table-has-details { 53 .table-row-expand svg { 58 .b-table-details { 77 .table-row-expand { 87 .b-table-sort-icon-left { 100 .b-table-sticky-header td { 106 .b-table-stacked-sm { 116 &:not(.b-table-empty-row) { 157 .table.b-table.b-table-stacked-sm > tbody > tr > [data-label] { [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | qed.py | 78 return table 88 def random_table_item(table): argument 94 def corrupt_table_duplicate(table): argument 97 unique_vals = set(table) 101 table[victim_idx] = dup_val 124 table = qed.l1_table 127 table = qed.read_table(offset) 130 corrupt_table_duplicate(table) 131 qed.write_table(offset, table) 137 table = qed.l1_table [all …]
|
/openbmc/linux/kernel/ |
H A D | sysctl-test.c | 116 struct ctl_table table = { in sysctl_test_api_dointvec_table_len_is_zero() local 150 struct ctl_table table = { in sysctl_test_api_dointvec_table_read_but_position_set() local 185 struct ctl_table table = { in sysctl_test_dointvec_read_happy_single_positive() local 199 *((int *)table.data) = 13; in sysctl_test_dointvec_read_happy_single_positive() 216 struct ctl_table table = { in sysctl_test_dointvec_read_happy_single_negative() local 229 *((int *)table.data) = -16; in sysctl_test_dointvec_read_happy_single_negative() 245 struct ctl_table table = { in sysctl_test_dointvec_write_happy_single_positive() local 266 KUNIT_EXPECT_EQ(test, 9, *((int *)table.data)); in sysctl_test_dointvec_write_happy_single_positive() 275 struct ctl_table table = { in sysctl_test_dointvec_write_happy_single_negative() local 307 struct ctl_table table = { in sysctl_test_api_dointvec_write_single_less_int_min() local [all …]
|
/openbmc/openbmc/poky/bitbake/lib/prserv/ |
H A D | db.py | 35 def __init__(self, conn, table, nohist, read_only): argument 41 self.table = "%s_nohist" % table 43 self.table = "%s_hist" % table 146 % (self.table, self.table), 165 % (self.table, self.table), 179 % (self.table, self.table), 234 self._execute("INSERT INTO %s VALUES (?, ?, ?, ?);" % (self.table), 240 % (self.table), 265 metainfo["tbl_name"] = self.table 268 data = self._execute("PRAGMA table_info(%s);" % self.table) [all …]
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | mce_power.c | 485 const struct mce_ierror_table table[], in mce_handle_ierror() argument 494 for (i = 0; table[i].srr1_mask; i++) { in mce_handle_ierror() 495 if ((srr1 & table[i].srr1_mask) != table[i].srr1_value) in mce_handle_ierror() 500 switch (table[i].error_type) { in mce_handle_ierror() 520 switch (table[i].error_type) { in mce_handle_ierror() 544 mce_err->severity = table[i].severity; in mce_handle_ierror() 574 const struct mce_derror_table table[], in mce_handle_derror() argument 586 if (!(dsisr & table[i].dsisr_value)) in mce_handle_derror() 591 switch (table[i].error_type) { in mce_handle_derror() 622 switch (table[i].error_type) { in mce_handle_derror() [all …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | ci_dpm.c | 3637 table->SystemFlags = cpu_to_be32(table->SystemFlags); in ci_init_smc_table() 3642 table->SclkStepSize = cpu_to_be32(table->SclkStepSize); in ci_init_smc_table() 4304 for (i = 0, j = table->last; i < table->last; i++) { in ci_set_mc_special_registers() 4594 if (!table) in ci_initialize_mc_reg_table() 4954 if (table) { in ci_patch_clock_voltage_dependency_table_with_vddc_leakage() 4965 if (table) { in ci_patch_clock_voltage_dependency_table_with_vddci_leakage() 4976 if (table) { in ci_patch_vce_clock_voltage_dependency_table_with_vddc_leakage() 4987 if (table) { in ci_patch_uvd_clock_voltage_dependency_table_with_vddc_leakage() 4998 if (table) { in ci_patch_vddc_phase_shed_limit_table_with_vddc_leakage() 5007 if (table) { in ci_patch_clock_voltage_limits_with_vddc_leakage() [all …]
|
/openbmc/linux/net/ipv4/netfilter/ |
H A D | iptable_raw.c | 40 const struct xt_table *table = &packet_raw; in iptable_raw_table_init() local 44 table = &packet_raw_before_defrag; in iptable_raw_table_init() 46 repl = ipt_alloc_initial_table(table); in iptable_raw_table_init() 49 ret = ipt_register_table(net, table, repl, rawtable_ops); in iptable_raw_table_init() 72 const struct xt_table *table = &packet_raw; in iptable_raw_init() local 75 table = &packet_raw_before_defrag; in iptable_raw_init() 80 ret = xt_register_template(table, in iptable_raw_init() 85 rawtable_ops = xt_hook_ops_alloc(table, ipt_do_table); in iptable_raw_init() 87 xt_unregister_template(table); in iptable_raw_init() 93 xt_unregister_template(table); in iptable_raw_init()
|
/openbmc/linux/net/ipv6/netfilter/ |
H A D | ip6table_raw.c | 39 const struct xt_table *table = &packet_raw; in ip6table_raw_table_init() local 43 table = &packet_raw_before_defrag; in ip6table_raw_table_init() 45 repl = ip6t_alloc_initial_table(table); in ip6table_raw_table_init() 48 ret = ip6t_register_table(net, table, repl, rawtable_ops); in ip6table_raw_table_init() 70 const struct xt_table *table = &packet_raw; in ip6table_raw_init() local 74 table = &packet_raw_before_defrag; in ip6table_raw_init() 78 ret = xt_register_template(table, ip6table_raw_table_init); in ip6table_raw_init() 83 rawtable_ops = xt_hook_ops_alloc(table, ip6t_do_table); in ip6table_raw_init() 85 xt_unregister_template(table); in ip6table_raw_init() 92 xt_unregister_template(table); in ip6table_raw_init()
|
/openbmc/linux/arch/powerpc/include/asm/book3s/32/ |
H A D | pgalloc.h | 40 static inline void pgtable_free(void *table, unsigned index_size) in pgtable_free() argument 43 pte_fragment_free((unsigned long *)table, 0); in pgtable_free() 46 kmem_cache_free(PGT_CACHE(index_size), table); in pgtable_free() 53 void *table, int shift) in pgtable_free_tlb() argument 55 unsigned long pgf = (unsigned long)table; in pgtable_free_tlb() 63 void *table = (void *)((unsigned long)_table & ~MAX_PGTABLE_INDEX_SIZE); in __tlb_remove_table() local 66 pgtable_free(table, shift); in __tlb_remove_table() 69 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t table, in __pte_free_tlb() argument 72 pgtable_free_tlb(tlb, table, 0); in __pte_free_tlb()
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_hashtab.c | 50 ht->table = NULL; in drm_ht_create() 52 ht->table = kcalloc(size, sizeof(*ht->table), GFP_KERNEL); in drm_ht_create() 54 ht->table = vzalloc(array_size(size, sizeof(*ht->table))); in drm_ht_create() 55 if (!ht->table) { in drm_ht_create() 71 h_list = &ht->table[hashed_key]; in drm_ht_verbose_list() 84 h_list = &ht->table[hashed_key]; in drm_ht_find_key() 102 h_list = &ht->table[hashed_key]; in drm_ht_find_key_rcu() 121 h_list = &ht->table[hashed_key]; in drm_ht_insert_item() 199 if (ht->table) { in drm_ht_remove() 200 kvfree(ht->table); in drm_ht_remove() [all …]
|