Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/drivers/dma-buf/heaps/
Dsystem_heap.c60 struct sg_table *new_table; in dup_sg_table() local
64 new_table = kzalloc(sizeof(*new_table), GFP_KERNEL); in dup_sg_table()
65 if (!new_table) in dup_sg_table()
68 ret = sg_alloc_table(new_table, table->orig_nents, GFP_KERNEL); in dup_sg_table()
70 kfree(new_table); in dup_sg_table()
74 new_sg = new_table->sgl; in dup_sg_table()
80 return new_table; in dup_sg_table()
/linux-6.1.9/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.1.9/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.1.9/drivers/acpi/
Dtables.c819 struct acpi_table_header **new_table) in acpi_os_table_override() argument
821 if (!existing_table || !new_table) in acpi_os_table_override()
824 *new_table = NULL; in acpi_os_table_override()
828 *new_table = (struct acpi_table_header *)&amlcode; in acpi_os_table_override()
829 if (!(*new_table)) in acpi_os_table_override()
830 *new_table = (struct acpi_table_header *)&dsdt_amlcode; in acpi_os_table_override()
833 if (*new_table != NULL) in acpi_os_table_override()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_helpers.c128 struct dc_dp_mst_stream_allocation_table new_table = { 0 }; in fill_dc_mst_payload_table_from_drm() local
162 sa = &new_table.stream_allocations[new_table.stream_count]; in fill_dc_mst_payload_table_from_drm()
165 new_table.stream_count++; in fill_dc_mst_payload_table_from_drm()
170 *table = new_table; in fill_dc_mst_payload_table_from_drm()
/linux-6.1.9/drivers/opp/
Dof.c336 struct opp_table *new_table, int index) in lazy_link_required_opps() argument
346 opp->required_opps[index] = _find_opp_of_np(new_table, required_np); in lazy_link_required_opps()
360 static void lazy_link_required_opp_table(struct opp_table *new_table) in lazy_link_required_opp_table() argument
393 if (required_table_np != new_table->np) { in lazy_link_required_opp_table()
398 required_opp_tables[i] = new_table; in lazy_link_required_opp_table()
399 _get_opp_table_kref(new_table); in lazy_link_required_opp_table()
402 ret = lazy_link_required_opps(opp_table, new_table, i); in lazy_link_required_opp_table()
/linux-6.1.9/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.1.9/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()
1529 return PTR_ERR(new_table); in arpt_register_table()
1545 ops[i].priv = new_table; in arpt_register_table()
1547 new_table->ops = ops; in arpt_register_table()
1556 __arpt_unregister_table(net, new_table); in arpt_register_table()
Dip_tables.c1728 struct xt_table *new_table; in ipt_register_table() local
1743 new_table = xt_register_table(net, table, &bootstrap, newinfo); in ipt_register_table()
1744 if (IS_ERR(new_table)) { in ipt_register_table()
1746 return PTR_ERR(new_table); in ipt_register_table()
1768 ops[i].priv = new_table; in ipt_register_table()
1770 new_table->ops = ops; in ipt_register_table()
1779 __ipt_unregister_table(net, new_table); in ipt_register_table()
/linux-6.1.9/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-6.1.9/include/acpi/
Dacpiosxf.h71 struct acpi_table_header **new_table);
/linux-6.1.9/drivers/iommu/amd/
Diommu.c2884 struct irq_remap_table *new_table = NULL; in alloc_irq_table() local
2905 new_table = __alloc_irq_table(); in alloc_irq_table()
2906 if (!new_table) in alloc_irq_table()
2921 table = new_table; in alloc_irq_table()
2922 new_table = NULL; in alloc_irq_table()
2939 if (new_table) { in alloc_irq_table()
2940 kmem_cache_free(amd_iommu_irq_cache, new_table->table); in alloc_irq_table()
2941 kfree(new_table); in alloc_irq_table()
/linux-6.1.9/drivers/net/vmxnet3/
Dvmxnet3_drv.c2500 u8 *new_table = NULL; in vmxnet3_set_mc() local
2521 new_table = vmxnet3_copy_mc(netdev); in vmxnet3_set_mc()
2522 if (new_table) { in vmxnet3_set_mc()
2528 new_table, in vmxnet3_set_mc()
2567 kfree(new_table); in vmxnet3_set_mc()