Home
last modified time | relevance | path

Searched refs:new_table (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/drivers/acpi/acpica/
H A Dtbutils.c122 struct acpi_table_header *new_table; in acpi_tb_copy_dsdt() local
127 new_table = ACPI_ALLOCATE(table_desc->length); in acpi_tb_copy_dsdt()
128 if (!new_table) { in acpi_tb_copy_dsdt()
134 memcpy(new_table, table_desc->pointer, table_desc->length); in acpi_tb_copy_dsdt()
139 ACPI_PTR_TO_PHYSADDR(new_table), in acpi_tb_copy_dsdt()
141 new_table); in acpi_tb_copy_dsdt()
143 …ACPI_INFO(("Forced DSDT copy: length 0x%05X copied locally, original unmapped", new_table->length)… in acpi_tb_copy_dsdt()
145 return (new_table); in acpi_tb_copy_dsdt()
/openbmc/u-boot/arch/arm/cpu/armv8/
H A Dcache_v8.c157 memset(new_table, 0, pt_len); in create_table()
159 return new_table; in create_table()
173 u64 *new_table; in split_block() local
183 new_table = create_table(); in split_block()
191 new_table[i] |= PTE_TYPE_TABLE; in split_block()
197 set_pte_table(pte, new_table); in split_block()
210 u64 *new_table; in add_map() local
216 new_table = create_table(); in add_map()
217 set_pte_table(pte, new_table); in add_map()
244 new_table = create_table(); in add_map()
[all …]
/openbmc/qemu/block/
H A Dqed-table.c72 QEDTable *new_table; in qed_write_table() local
84 new_table = qemu_blockalign(s->bs, len_bytes); in qed_write_table()
89 new_table->offsets[i - start] = le_offset; in qed_write_table()
96 ret = bdrv_co_pwrite(s->bs->file, offset, len_bytes, new_table->offsets, 0); in qed_write_table()
112 qemu_vfree(new_table); in qed_write_table()
H A Dqcow2-refcount.c543 uint64_t *new_table; in qcow2_refcount_area() local
577 new_table = g_try_new0(uint64_t, table_size); in qcow2_refcount_area()
580 if (new_table == NULL) { in qcow2_refcount_area()
588 memcpy(new_table, s->refcount_table, in qcow2_refcount_area()
606 if (!new_table[i]) { in qcow2_refcount_area()
621 if (new_table[i]) { in qcow2_refcount_area()
637 new_table[i] = block_offset; in qcow2_refcount_area()
685 cpu_to_be64s(&new_table[i]); in qcow2_refcount_area()
696 be64_to_cpus(&new_table[i]); in qcow2_refcount_area()
719 s->refcount_table = new_table; in qcow2_refcount_area()
[all …]
/openbmc/linux/drivers/dma-buf/heaps/
H A Dsystem_heap.c59 struct sg_table *new_table; in dup_sg_table() local
63 new_table = kzalloc(sizeof(*new_table), GFP_KERNEL); in dup_sg_table()
64 if (!new_table) in dup_sg_table()
67 ret = sg_alloc_table(new_table, table->orig_nents, GFP_KERNEL); in dup_sg_table()
69 kfree(new_table); in dup_sg_table()
73 new_sg = new_table->sgl; in dup_sg_table()
79 return new_table; in dup_sg_table()
/openbmc/linux/kernel/events/
H A Dcallchain.c237 struct ctl_table new_table = *table; in perf_event_max_stack_handler() local
239 new_table.data = &new_value; in perf_event_max_stack_handler()
240 ret = proc_dointvec_minmax(&new_table, write, buffer, lenp, ppos); in perf_event_max_stack_handler()
/openbmc/linux/tools/power/acpi/os_specific/service_layers/
H A Dosunixxf.c35 struct acpi_table_header **new_table);
241 struct acpi_table_header **new_table) in acpi_os_table_override() argument
244 if (!existing_table || !new_table) { in acpi_os_table_override()
248 *new_table = NULL; in acpi_os_table_override()
252 ae_table_override(existing_table, new_table); in acpi_os_table_override()
/openbmc/linux/drivers/acpi/
H A Dtables.c840 struct acpi_table_header **new_table) in acpi_os_table_override() argument
842 if (!existing_table || !new_table) in acpi_os_table_override()
845 *new_table = NULL; in acpi_os_table_override()
849 *new_table = (struct acpi_table_header *)&amlcode; in acpi_os_table_override()
850 if (!(*new_table)) in acpi_os_table_override()
851 *new_table = (struct acpi_table_header *)&dsdt_amlcode; in acpi_os_table_override()
854 if (*new_table != NULL) in acpi_os_table_override()
/openbmc/linux/drivers/opp/
H A Dof.c351 struct opp_table *new_table, int index) in lazy_link_required_opps() argument
361 opp->required_opps[index] = _find_opp_of_np(new_table, required_np); in lazy_link_required_opps()
375 static void lazy_link_required_opp_table(struct opp_table *new_table) in lazy_link_required_opp_table() argument
408 if (required_table_np != new_table->np) { in lazy_link_required_opp_table()
413 required_opp_tables[i] = new_table; in lazy_link_required_opp_table()
414 _get_opp_table_kref(new_table); in lazy_link_required_opp_table()
417 ret = lazy_link_required_opps(opp_table, new_table, i); in lazy_link_required_opp_table()
/openbmc/linux/fs/
H A Dselect.c169 struct poll_table_page *new_table; in poll_get_entry() local
171 new_table = (struct poll_table_page *) __get_free_page(GFP_KERNEL); in poll_get_entry()
172 if (!new_table) { in poll_get_entry()
176 new_table->entry = new_table->entries; in poll_get_entry()
177 new_table->next = table; in poll_get_entry()
178 p->table = new_table; in poll_get_entry()
179 table = new_table; in poll_get_entry()
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c164 struct dc_dp_mst_stream_allocation_table new_table = { 0 }; in fill_dc_mst_payload_table_from_drm() local
198 sa = &new_table.stream_allocations[new_table.stream_count]; in fill_dc_mst_payload_table_from_drm()
201 new_table.stream_count++; in fill_dc_mst_payload_table_from_drm()
206 *table = new_table; in fill_dc_mst_payload_table_from_drm()
/openbmc/linux/net/ipv4/netfilter/
H A Darp_tables.c1519 struct xt_table *new_table; in arpt_register_table() local
1534 new_table = xt_register_table(net, table, &bootstrap, newinfo); in arpt_register_table()
1535 if (IS_ERR(new_table)) { in arpt_register_table()
1541 return PTR_ERR(new_table); in arpt_register_table()
1557 ops[i].priv = new_table; in arpt_register_table()
1559 new_table->ops = ops; in arpt_register_table()
1568 __arpt_unregister_table(net, new_table); in arpt_register_table()
H A Dip_tables.c1733 struct xt_table *new_table; in ipt_register_table() local
1748 new_table = xt_register_table(net, table, &bootstrap, newinfo); in ipt_register_table()
1749 if (IS_ERR(new_table)) { in ipt_register_table()
1755 return PTR_ERR(new_table); in ipt_register_table()
1777 ops[i].priv = new_table; in ipt_register_table()
1779 new_table->ops = ops; in ipt_register_table()
1788 __ipt_unregister_table(net, new_table); in ipt_register_table()
/openbmc/linux/net/ipv6/netfilter/
H A Dip6_tables.c1742 struct xt_table *new_table; in ip6t_register_table() local
1757 new_table = xt_register_table(net, table, &bootstrap, newinfo); in ip6t_register_table()
1758 if (IS_ERR(new_table)) { in ip6t_register_table()
1764 return PTR_ERR(new_table); in ip6t_register_table()
1783 ops[i].priv = new_table; in ip6t_register_table()
1785 new_table->ops = ops; in ip6t_register_table()
1794 __ip6t_unregister_table(net, new_table); in ip6t_register_table()
/openbmc/linux/include/acpi/
H A Dacpiosxf.h71 struct acpi_table_header **new_table);
/openbmc/linux/drivers/iommu/amd/
H A Diommu.c2960 struct irq_remap_table *new_table = NULL; in alloc_irq_table() local
2981 new_table = __alloc_irq_table(); in alloc_irq_table()
2982 if (!new_table) in alloc_irq_table()
2997 table = new_table; in alloc_irq_table()
2998 new_table = NULL; in alloc_irq_table()
3015 if (new_table) { in alloc_irq_table()
3016 kmem_cache_free(amd_iommu_irq_cache, new_table->table); in alloc_irq_table()
3017 kfree(new_table); in alloc_irq_table()
/openbmc/linux/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c2670 u8 *new_table = NULL; in vmxnet3_set_mc() local
2691 new_table = vmxnet3_copy_mc(netdev); in vmxnet3_set_mc()
2692 if (new_table) { in vmxnet3_set_mc()
2698 new_table, in vmxnet3_set_mc()
2737 kfree(new_table); in vmxnet3_set_mc()