Home
last modified time | relevance | path

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

/drivers/acpi/acpica/
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()
/drivers/dma-buf/heaps/
Dsystem_heap.c68 struct sg_table *new_table; in dup_sg_table() local
72 new_table = kzalloc(sizeof(*new_table), GFP_KERNEL); in dup_sg_table()
73 if (!new_table) in dup_sg_table()
76 ret = sg_alloc_table(new_table, table->orig_nents, GFP_KERNEL); in dup_sg_table()
78 kfree(new_table); in dup_sg_table()
82 new_sg = new_table->sgl; in dup_sg_table()
88 return new_table; in dup_sg_table()
/drivers/acpi/
Dtables.c774 struct acpi_table_header **new_table) in acpi_os_table_override() argument
776 if (!existing_table || !new_table) in acpi_os_table_override()
779 *new_table = NULL; in acpi_os_table_override()
783 *new_table = (struct acpi_table_header *)&amlcode; in acpi_os_table_override()
784 if (!(*new_table)) in acpi_os_table_override()
785 *new_table = (struct acpi_table_header *)&dsdt_amlcode; in acpi_os_table_override()
788 if (*new_table != NULL) in acpi_os_table_override()
/drivers/opp/
Dof.c330 struct opp_table *new_table, int index) in lazy_link_required_opps() argument
340 opp->required_opps[index] = _find_opp_of_np(new_table, required_np); in lazy_link_required_opps()
354 static void lazy_link_required_opp_table(struct opp_table *new_table) in lazy_link_required_opp_table() argument
387 if (required_table_np != new_table->np) { in lazy_link_required_opp_table()
392 required_opp_tables[i] = new_table; in lazy_link_required_opp_table()
393 _get_opp_table_kref(new_table); in lazy_link_required_opp_table()
396 ret = lazy_link_required_opps(opp_table, new_table, i); in lazy_link_required_opp_table()
/drivers/iommu/amd/
Diommu.c2695 struct irq_remap_table *new_table = NULL; in alloc_irq_table() local
2719 new_table = __alloc_irq_table(); in alloc_irq_table()
2720 if (!new_table) in alloc_irq_table()
2735 table = new_table; in alloc_irq_table()
2736 new_table = NULL; in alloc_irq_table()
2753 if (new_table) { in alloc_irq_table()
2754 kmem_cache_free(amd_iommu_irq_cache, new_table->table); in alloc_irq_table()
2755 kfree(new_table); in alloc_irq_table()
/drivers/net/vmxnet3/
Dvmxnet3_drv.c2425 u8 *new_table = NULL; in vmxnet3_set_mc() local
2446 new_table = vmxnet3_copy_mc(netdev); in vmxnet3_set_mc()
2447 if (new_table) { in vmxnet3_set_mc()
2453 new_table, in vmxnet3_set_mc()
2492 kfree(new_table); in vmxnet3_set_mc()