Home
last modified time | relevance | path

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

/Linux-v5.15/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()
/Linux-v5.15/drivers/dma-buf/heaps/
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()
/Linux-v5.15/kernel/events/
Dcallchain.c241 struct ctl_table new_table = *table; in perf_event_max_stack_handler() local
243 new_table.data = &new_value; in perf_event_max_stack_handler()
244 ret = proc_dointvec_minmax(&new_table, write, buffer, lenp, ppos); in perf_event_max_stack_handler()
/Linux-v5.15/tools/power/acpi/os_specific/service_layers/
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()
/Linux-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/fs/
Dselect.c168 struct poll_table_page *new_table; in poll_get_entry() local
170 new_table = (struct poll_table_page *) __get_free_page(GFP_KERNEL); in poll_get_entry()
171 if (!new_table) { in poll_get_entry()
175 new_table->entry = new_table->entries; in poll_get_entry()
176 new_table->next = table; in poll_get_entry()
177 p->table = new_table; in poll_get_entry()
178 table = new_table; in poll_get_entry()
/Linux-v5.15/net/ipv4/netfilter/
Darp_tables.c1510 struct xt_table *new_table; in arpt_register_table() local
1525 new_table = xt_register_table(net, table, &bootstrap, newinfo); in arpt_register_table()
1526 if (IS_ERR(new_table)) { in arpt_register_table()
1528 return PTR_ERR(new_table); in arpt_register_table()
1544 ops[i].priv = new_table; in arpt_register_table()
1546 new_table->ops = ops; in arpt_register_table()
1555 __arpt_unregister_table(net, new_table); in arpt_register_table()
Dip_tables.c1727 struct xt_table *new_table; in ipt_register_table() local
1742 new_table = xt_register_table(net, table, &bootstrap, newinfo); in ipt_register_table()
1743 if (IS_ERR(new_table)) { in ipt_register_table()
1745 return PTR_ERR(new_table); in ipt_register_table()
1767 ops[i].priv = new_table; in ipt_register_table()
1769 new_table->ops = ops; in ipt_register_table()
1778 __ipt_unregister_table(net, new_table); in ipt_register_table()
/Linux-v5.15/net/ipv6/netfilter/
Dip6_tables.c1737 struct xt_table *new_table; in ip6t_register_table() local
1752 new_table = xt_register_table(net, table, &bootstrap, newinfo); in ip6t_register_table()
1753 if (IS_ERR(new_table)) { in ip6t_register_table()
1755 return PTR_ERR(new_table); in ip6t_register_table()
1774 ops[i].priv = new_table; in ip6t_register_table()
1776 new_table->ops = ops; in ip6t_register_table()
1785 __ip6t_unregister_table(net, new_table); in ip6t_register_table()
/Linux-v5.15/include/acpi/
Dacpiosxf.h71 struct acpi_table_header **new_table);
/Linux-v5.15/drivers/iommu/amd/
Diommu.c2693 struct irq_remap_table *new_table = NULL; in alloc_irq_table() local
2717 new_table = __alloc_irq_table(); in alloc_irq_table()
2718 if (!new_table) in alloc_irq_table()
2733 table = new_table; in alloc_irq_table()
2734 new_table = NULL; in alloc_irq_table()
2751 if (new_table) { in alloc_irq_table()
2752 kmem_cache_free(amd_iommu_irq_cache, new_table->table); in alloc_irq_table()
2753 kfree(new_table); in alloc_irq_table()
/Linux-v5.15/drivers/net/vmxnet3/
Dvmxnet3_drv.c2392 u8 *new_table = NULL; in vmxnet3_set_mc() local
2413 new_table = vmxnet3_copy_mc(netdev); in vmxnet3_set_mc()
2414 if (new_table) { in vmxnet3_set_mc()
2420 new_table, in vmxnet3_set_mc()
2459 kfree(new_table); in vmxnet3_set_mc()