Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/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-6.6.21/kernel/events/
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()
/linux-6.6.21/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-6.6.21/drivers/acpi/
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()
/linux-6.6.21/drivers/opp/
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()
/linux-6.6.21/fs/
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()
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/
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()
/linux-6.6.21/net/ipv4/netfilter/
Darp_tables.c1511 struct xt_table *new_table; in arpt_register_table() local
1526 new_table = xt_register_table(net, table, &bootstrap, newinfo); in arpt_register_table()
1527 if (IS_ERR(new_table)) { in arpt_register_table()
1533 return PTR_ERR(new_table); in arpt_register_table()
1549 ops[i].priv = new_table; in arpt_register_table()
1551 new_table->ops = ops; in arpt_register_table()
1560 __arpt_unregister_table(net, new_table); in arpt_register_table()
Dip_tables.c1725 struct xt_table *new_table; in ipt_register_table() local
1740 new_table = xt_register_table(net, table, &bootstrap, newinfo); in ipt_register_table()
1741 if (IS_ERR(new_table)) { in ipt_register_table()
1747 return PTR_ERR(new_table); in ipt_register_table()
1769 ops[i].priv = new_table; in ipt_register_table()
1771 new_table->ops = ops; in ipt_register_table()
1780 __ipt_unregister_table(net, new_table); in ipt_register_table()
/linux-6.6.21/net/ipv6/netfilter/
Dip6_tables.c1734 struct xt_table *new_table; in ip6t_register_table() local
1749 new_table = xt_register_table(net, table, &bootstrap, newinfo); in ip6t_register_table()
1750 if (IS_ERR(new_table)) { in ip6t_register_table()
1756 return PTR_ERR(new_table); in ip6t_register_table()
1775 ops[i].priv = new_table; in ip6t_register_table()
1777 new_table->ops = ops; in ip6t_register_table()
1786 __ip6t_unregister_table(net, new_table); in ip6t_register_table()
/linux-6.6.21/include/acpi/
Dacpiosxf.h71 struct acpi_table_header **new_table);
/linux-6.6.21/drivers/iommu/amd/
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()
/linux-6.6.21/drivers/net/vmxnet3/
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()