/openbmc/linux/net/unix/ |
H A D | sysctl_net_unix.c | 27 struct ctl_table *table; in unix_sysctl_register() local 30 table = unix_table; in unix_sysctl_register() 32 table = kmemdup(unix_table, sizeof(unix_table), GFP_KERNEL); in unix_sysctl_register() 33 if (!table) in unix_sysctl_register() 36 table[0].data = &net->unx.sysctl_max_dgram_qlen; in unix_sysctl_register() 39 net->unx.ctl = register_net_sysctl_sz(net, "net/unix", table, in unix_sysctl_register() 48 kfree(table); in unix_sysctl_register() 55 struct ctl_table *table; in unix_sysctl_unregister() local 57 table = net->unx.ctl->ctl_table_arg; in unix_sysctl_unregister() 60 kfree(table); in unix_sysctl_unregister()
|
/openbmc/webui-vue/src/views/HardwareStatus/Inventory/ |
H A D | InventoryTableBmcManager.vue | 3 <b-table 9 :empty-text="$t('global.table.emptyMessage')" 55 <dt>{{ $t('pageInventory.table.name') }}:</dt> 67 <dt>{{ $t('pageInventory.table.model') }}:</dt> 70 <dt>{{ $t('pageInventory.table.uuid') }}:</dt> 144 {{ $t('pageInventory.table.serialConsole') }} 160 </b-table> 184 tdClass: 'table-row-expand', 188 label: this.$t('pageInventory.table.id'), 193 label: this.$t('pageInventory.table.health'), [all …]
|
/openbmc/u-boot/lib/ |
H A D | hashtable.c | 111 if (htab->table != NULL) in hcreate_r() 124 if (htab->table == NULL) in hcreate_r() 153 if (htab->table[i].used > 0) { in hdestroy_r() 160 free(htab->table); in hdestroy_r() 163 htab->table = NULL; in hdestroy_r() 210 if (htab->table[idx].used <= 0) in hmatch_r() 302 if (htab->table[idx].used) { in hsearch_r() 373 htab->table[idx].used = hval; in hsearch_r() 816 htab->table); in himport_r() 817 if (htab->table) in himport_r() [all …]
|
/openbmc/qemu/monitor/ |
H A D | hmp-target.c | 153 while (table->name != NULL) { in monitor_register_hmp() 154 if (strcmp(table->name, name) == 0) { in monitor_register_hmp() 155 g_assert(table->cmd == NULL && table->cmd_info_hrt == NULL); in monitor_register_hmp() 156 table->cmd = cmd; in monitor_register_hmp() 159 table++; in monitor_register_hmp() 167 HMPCommand *table = hmp_info_cmds; in monitor_register_hmp_info_hrt() local 169 while (table->name != NULL) { in monitor_register_hmp_info_hrt() 170 if (strcmp(table->name, name) == 0) { in monitor_register_hmp_info_hrt() 171 g_assert(table->cmd == NULL && table->cmd_info_hrt == NULL); in monitor_register_hmp_info_hrt() 172 table->cmd_info_hrt = handler; in monitor_register_hmp_info_hrt() [all …]
|
/openbmc/linux/arch/arc/kernel/ |
H A D | unwind.c | 160 for (table = &root_table; table; table = table->link) in find_table() 162 && pc < table->core.pc + table->core.range) in find_table() 164 && pc < table->init.pc + table->init.range)) in find_table() 167 return table; in find_table() 378 table = kmalloc(sizeof(*table), GFP_KERNEL); in unwind_add_table() 379 if (!table) in unwind_add_table() 392 module->name, table->core.pc, table->core.range); in unwind_add_table() 400 return table; in unwind_add_table() 411 struct unwind_table *table = info->table, *prev; in unlink_table() local 439 if (!table || table == &root_table) in unwind_remove_table() [all …]
|
/openbmc/linux/drivers/clk/tegra/ |
H A D | cvb.c | 61 min_mv = round_voltage(table->min_millivolts, align, UP); in build_opp_table() 62 max_mv = round_voltage(table->max_millivolts, align, DOWN); in build_opp_table() 65 const struct cvb_table_freq_entry *entry = &table->entries[i]; in build_opp_table() 70 dfll_mv = get_cvb_voltage(speedo_value, table->speedo_scale, in build_opp_table() 72 dfll_mv = round_cvb_voltage(dfll_mv, table->voltage_scale, in build_opp_table() 112 const struct cvb_table *table = &tables[i]; in tegra_cvb_add_opp_table() local 114 if (table->speedo_id != -1 && table->speedo_id != speedo_id) in tegra_cvb_add_opp_table() 117 if (table->process_id != -1 && table->process_id != process_id) in tegra_cvb_add_opp_table() 120 ret = build_opp_table(dev, table, align, speedo_value, in tegra_cvb_add_opp_table() 122 return ret ? ERR_PTR(ret) : table; in tegra_cvb_add_opp_table() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | fiji_smumgr.c | 1430 table->VceBootLevel = 0; in fiji_populate_smc_vce_level() 1469 table->AcpBootLevel = 0; in fiji_populate_smc_acp_level() 1565 table->UvdBootLevel = 0; in fiji_populate_smc_uvd_level() 1606 table->MemoryBootLevel = 0; in fiji_populate_smc_boot_level() 1829 table->VRConfig |= config; in fiji_populate_vr_config() 1934 table->SystemFlags = 0; in fiji_init_smc_table() 2023 table->MemoryInterval = 1; in fiji_init_smc_table() 2029 table->VRConfig = 0; in fiji_init_smc_table() 2035 table->ThermGpio = 17; in fiji_init_smc_table() 2085 table->ThermOutGpio = 17; in fiji_init_smc_table() [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | nf_hooks_lwtunnel.c | 36 .procname = table->procname, in nf_hooks_lwtunnel_sysctl_handler() 39 .mode = table->mode, in nf_hooks_lwtunnel_sysctl_handler() 70 struct ctl_table *table; in nf_lwtunnel_net_init() local 72 table = nf_lwtunnel_sysctl_table; in nf_lwtunnel_net_init() 74 table = kmemdup(nf_lwtunnel_sysctl_table, in nf_lwtunnel_net_init() 77 if (!table) in nf_lwtunnel_net_init() 81 hdr = register_net_sysctl_sz(net, "net/netfilter", table, in nf_lwtunnel_net_init() 91 kfree(table); in nf_lwtunnel_net_init() 98 const struct ctl_table *table; in nf_lwtunnel_net_exit() local 100 table = net->nf.nf_lwtnl_dir_header->ctl_table_arg; in nf_lwtunnel_net_exit() [all …]
|
/openbmc/linux/kernel/power/ |
H A D | energy_model.c | 111 struct em_perf_state *table; in em_create_perf_table() local 115 table = kcalloc(nr_states, sizeof(*table), GFP_KERNEL); in em_create_perf_table() 116 if (!table) in em_create_perf_table() 153 table[i].power = power; in em_create_perf_table() 174 table[i].cost = cost; in em_create_perf_table() 179 table[i].frequency); in em_create_perf_table() 181 prev_cost = table[i].cost; in em_create_perf_table() 185 pd->table = table; in em_create_perf_table() 191 kfree(table); in em_create_perf_table() 257 table = pd->table; in em_cpufreq_update_efficiencies() [all …]
|
/openbmc/linux/drivers/acpi/ |
H A D | tables.c | 502 if (table) { in acpi_table_parse() 503 handler(table); in acpi_table_parse() 504 acpi_put_table(table); in acpi_table_parse() 520 if (table) { in check_multiple_madt() 526 acpi_put_table(table); in check_multiple_madt() 537 table->signature, table->oem_table_id); in acpi_table_taint() 614 table = file.data; in acpi_table_upgrade() 637 table->signature, cpio_path, file.name, table->length); in acpi_table_upgrade() 750 table->signature, table->oem_id, in acpi_table_initrd_override() 751 table->oem_table_id); in acpi_table_initrd_override() [all …]
|
H A D | acpi_configfs.c | 28 struct acpi_table *table; in acpi_table_aml_write() local 36 if (table->header) { in acpi_table_aml_write() 54 if (!table->header) in acpi_table_aml_write() 57 ret = acpi_load_table(table->header, &table->index); in acpi_table_aml_write() 59 kfree(table->header); in acpi_table_aml_write() 60 table->header = NULL; in acpi_table_aml_write() 70 if (!table->header) in get_header() 211 struct acpi_table *table; in acpi_table_make_item() local 213 table = kzalloc(sizeof(*table), GFP_KERNEL); in acpi_table_make_item() 214 if (!table) in acpi_table_make_item() [all …]
|
H A D | spcr.c | 88 struct acpi_table_spcr *table; in acpi_parse_spcr() local 102 if (table->header.revision < 2) in acpi_parse_spcr() 103 pr_info("SPCR table version %d\n", table->header.revision); in acpi_parse_spcr() 106 u32 bit_width = table->serial_port.access_width; in acpi_parse_spcr() 129 switch (table->interface_type) { in acpi_parse_spcr() 149 switch (table->baud_rate) { in acpi_parse_spcr() 192 if (qdf2400_erratum_44_present(&table->header)) { in acpi_parse_spcr() 198 if (xgene_8250_erratum_present(table)) { in acpi_parse_spcr() 211 table->serial_port.address); in acpi_parse_spcr() 214 table->serial_port.address, baud_rate); in acpi_parse_spcr() [all …]
|
H A D | pptt.c | 440 table->revision); in cache_setup_acpi_cpu() 562 table = acpi_get_pptt(); in find_acpi_cpu_topology_tag() 563 if (!table) in find_acpi_cpu_topology_tag() 593 table = acpi_get_pptt(); in check_acpi_cpu_flag() 594 if (!table) in check_acpi_cpu_flag() 632 table = acpi_get_pptt(); in acpi_get_cache_info() 633 if (!table) in acpi_get_cache_info() 668 table = acpi_get_pptt(); in cache_setup_acpi() 669 if (!table) in cache_setup_acpi() 760 table = acpi_get_pptt(); in find_acpi_cpu_topology_cluster() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu_helper.c | 53 uint32_t *table; in phm_copy_clock_limits_array() local 57 if (NULL == table) in phm_copy_clock_limits_array() 75 uint32_t *table; in phm_copy_overdrive_settings_limits_array() local 79 if (NULL == table) in phm_copy_overdrive_settings_limits_array() 235 table->entries[table->count].value = vvalue; in phm_trim_voltage_table() 236 table->entries[table->count].smio_low = in phm_trim_voltage_table() 238 table->count++; in phm_trim_voltage_table() 243 kfree(table); in phm_trim_voltage_table() 244 table = NULL; in phm_trim_voltage_table() 362 void *table, in phm_setup_pcie_table_entry() argument [all …]
|
/openbmc/linux/lib/ |
H A D | crc8.c | 29 void crc8_populate_msb(u8 table[CRC8_TABLE_SIZE], u8 polynomial) in crc8_populate_msb() 35 table[0] = 0; in crc8_populate_msb() 40 table[i+j] = table[j] ^ t; in crc8_populate_msb() 51 void crc8_populate_lsb(u8 table[CRC8_TABLE_SIZE], u8 polynomial) in crc8_populate_lsb() 56 table[0] = 0; in crc8_populate_lsb() 61 table[i+j] = table[j] ^ t; in crc8_populate_lsb() 74 u8 crc8(const u8 table[CRC8_TABLE_SIZE], const u8 *pdata, size_t nbytes, u8 crc) in crc8() 78 crc = table[(crc ^ *pdata++) & 0xff]; in crc8()
|
/openbmc/linux/arch/powerpc/include/asm/nohash/ |
H A D | pgalloc.h | 8 extern void tlb_remove_table(struct mmu_gather *tlb, void *table); 37 static inline void pgtable_free(void *table, int shift) in pgtable_free() argument 40 pte_fragment_free((unsigned long *)table, 0); in pgtable_free() 43 kmem_cache_free(PGT_CACHE(shift), table); in pgtable_free() 49 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, int shift) in pgtable_free_tlb() argument 51 unsigned long pgf = (unsigned long)table; in pgtable_free_tlb() 60 void *table = (void *)((unsigned long)_table & ~MAX_PGTABLE_INDEX_SIZE); in __tlb_remove_table() local 63 pgtable_free(table, shift); in __tlb_remove_table() 66 static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t table, in __pte_free_tlb() argument 70 pgtable_free_tlb(tlb, table, 0); in __pte_free_tlb()
|
/openbmc/linux/tools/perf/pmu-events/ |
H A D | empty-pmu-events.c | 256 const struct pmu_events_table table; member 261 .table = { pmu_events__test_soc_sys }, 265 .table = { 0 } 278 ret = fn(pe, table, data); in pmu_events_table__for_each_event() 296 return fn(pe, table, data); in pmu_events_table__find_event() 319 int ret = fn(pm, table, data); in pmu_metrics_table__for_each_metric() 347 table = &map->event_table; in perf_pmu__find_events_table() 352 return table; in perf_pmu__find_events_table() 375 table = &map->metric_table; in perf_pmu__find_metrics_table() 380 return table; in perf_pmu__find_metrics_table() [all …]
|
/openbmc/linux/drivers/thermal/ |
H A D | rockchip_thermal.c | 657 num = table->id[mid].temp - table->id[mid - 1].temp; in rk_tsadcv2_code_to_temp() 1079 .table = { 1104 .table = { 1129 .table = { 1154 .table = { 1178 .table = { 1203 .table = { 1228 .table = { 1253 .table = { 1278 .table = { [all …]
|
/openbmc/linux/fs/squashfs/ |
H A D | xattr_id.c | 64 __le64 *table; in squashfs_read_xattr_id_table() local 95 table = squashfs_read_table(sb, start, len); in squashfs_read_xattr_id_table() 96 if (IS_ERR(table)) in squashfs_read_xattr_id_table() 97 return table; in squashfs_read_xattr_id_table() 109 start = le64_to_cpu(table[n]); in squashfs_read_xattr_id_table() 110 end = le64_to_cpu(table[n + 1]); in squashfs_read_xattr_id_table() 114 kfree(table); in squashfs_read_xattr_id_table() 119 start = le64_to_cpu(table[indexes - 1]); in squashfs_read_xattr_id_table() 122 kfree(table); in squashfs_read_xattr_id_table() 127 kfree(table); in squashfs_read_xattr_id_table() [all …]
|
/openbmc/linux/tools/perf/tests/ |
H A D | pfm.c | 35 } table[] = { in test__pfm_events() local 73 table[i].events, in test__pfm_events() 75 TEST_ASSERT_EQUAL(table[i].events, in test__pfm_events() 77 table[i].nr_events); in test__pfm_events() 78 TEST_ASSERT_EQUAL(table[i].events, in test__pfm_events() 97 } table[] = { in test__pfm_group() local 158 table[i].events, in test__pfm_group() 160 TEST_ASSERT_EQUAL(table[i].events, in test__pfm_group() 162 table[i].nr_events); in test__pfm_group() 163 TEST_ASSERT_EQUAL(table[i].events, in test__pfm_group() [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | farch.c | 1873 table = &state->table[EF4_FARCH_FILTER_TABLE_RX_IP]; in ef4_farch_filter_push_rx_config() 2450 table->offset + table->step * ins_index); in ef4_farch_filter_insert() 2535 table = &state->table[table_id]; in ef4_farch_filter_remove_safe() 2562 table = &state->table[table_id]; in ef4_farch_filter_get_safe() 2628 table = &state->table[table_id]; in ef4_farch_filter_count_rx_used() 2656 table = &state->table[table_id]; in ef4_farch_filter_get_rx_ids() 2687 table = &state->table[table_id]; in ef4_farch_filter_table_restore() 2698 table->offset + table->step * filter_idx); in ef4_farch_filter_table_restore() 2740 table = &state->table[table_id]; in ef4_farch_filter_table_probe() 2789 table = &state->table[table_id]; in ef4_farch_filter_update_rx_scatter() [all …]
|
/openbmc/linux/drivers/clk/nuvoton/ |
H A D | clk-ma35d1-divider.c | 20 const struct clk_div_table *table; member 46 return divider_round_rate(hw, rate, prate, dclk->table, in ma35d1_clkdiv_round_rate() 57 value = divider_get_val(rate, parent_rate, dclk->table, in ma35d1_clkdiv_set_rate() 85 struct clk_div_table *table; in ma35d1_reg_adc_clkdiv() local 99 table = devm_kcalloc(dev, max_div + 1, sizeof(*table), GFP_KERNEL); in ma35d1_reg_adc_clkdiv() 100 if (!table) in ma35d1_reg_adc_clkdiv() 104 table[i].val = min_div + i; in ma35d1_reg_adc_clkdiv() 105 table[i].div = 2 * table[i].val; in ma35d1_reg_adc_clkdiv() 107 table[max_div].val = 0; in ma35d1_reg_adc_clkdiv() 108 table[max_div].div = 0; in ma35d1_reg_adc_clkdiv() [all …]
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | unwind.c | 57 hi = table->length - 1; in find_unwind_entry_in_table() 61 e = &table->table[mid]; in find_unwind_entry_in_table() 76 struct unwind_table *table; in find_unwind_entry() local 88 addr <= table->end) in find_unwind_entry() 111 table->name = name; in unwind_table_init() 113 table->gp = gp; in unwind_table_init() 116 table->table = (struct unwind_table_entry *)table_start; in unwind_table_init() 159 if (table == NULL) in unwind_table_add() 166 return table; in unwind_table_add() 174 list_del(&table->list); in unwind_table_remove() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 080.out | 14 == Huge refcount table size == 19 == Misaligned refcount table == 27 == Invalid snapshot table == 34 == Hitting snapshot table size limit == 40 == Invalid L1 table == 62 == Invalid snapshot L1 table offset == 74 ERROR snapshot 1 (test) l1_offset=0x400200: L1 table is not cluster aligned; snapshot table entry c… 85 == Invalid snapshot L1 table size == 90 qemu-img: Snapshot L1 table too large 94 qemu-img: Snapshot L1 table too large [all …]
|
/openbmc/linux/drivers/clk/ti/ |
H A D | divider.c | 38 if (divider->table) { in _setup_mask() 66 if (divider->table) in _get_div() 88 if (divider->table) in _get_val() 134 if (divider->table) in _is_valid_div() 162 if (!table) in _div_round() 377 divider->table = tmp; in ti_clk_parse_divider_data() 414 table = kcalloc(valid_div + 1, sizeof(*table), GFP_KERNEL); in ti_clk_get_div_table() 415 if (!table) in ti_clk_get_div_table() 429 div->table = table; in ti_clk_get_div_table() 536 kfree(div->table); in of_ti_divider_clk_setup() [all …]
|