Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/acpi/acpica/
Dtbutils.c115 struct acpi_table_header *new_table; in acpi_tb_copy_dsdt() local
120 new_table = ACPI_ALLOCATE(table_desc->length); in acpi_tb_copy_dsdt()
121 if (!new_table) { in acpi_tb_copy_dsdt()
127 memcpy(new_table, table_desc->pointer, table_desc->length); in acpi_tb_copy_dsdt()
132 ACPI_PTR_TO_PHYSADDR(new_table), in acpi_tb_copy_dsdt()
134 new_table); in acpi_tb_copy_dsdt()
136 …ACPI_INFO(("Forced DSDT copy: length 0x%05X copied locally, original unmapped", new_table->length)… in acpi_tb_copy_dsdt()
138 return (new_table); in acpi_tb_copy_dsdt()
/linux-6.12.1/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.12.1/drivers/acpi/
Dtables.c682 struct acpi_table_header **new_table) in acpi_os_table_override() argument
684 if (!existing_table || !new_table) in acpi_os_table_override()
687 *new_table = NULL; in acpi_os_table_override()
691 *new_table = (struct acpi_table_header *)&amlcode; in acpi_os_table_override()
692 if (!(*new_table)) in acpi_os_table_override()
693 *new_table = (struct acpi_table_header *)&dsdt_amlcode; in acpi_os_table_override()
696 if (*new_table != NULL) in acpi_os_table_override()
/linux-6.12.1/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.12.1/kernel/events/
Dcallchain.c278 struct ctl_table new_table = *table; in perf_event_max_stack_handler() local
280 new_table.data = &new_value; in perf_event_max_stack_handler()
281 ret = proc_dointvec_minmax(&new_table, write, buffer, lenp, ppos); in perf_event_max_stack_handler()
/linux-6.12.1/include/linux/
Denergy_model.h166 struct em_perf_table __rcu *new_table);
375 struct em_perf_table __rcu *new_table) in em_dev_update_perf_domain() argument
/linux-6.12.1/drivers/opp/
Dof.c388 struct opp_table *new_table, int index) in lazy_link_required_opps() argument
394 ret = _link_required_opps(opp, opp_table, new_table, index); in lazy_link_required_opps()
403 static void lazy_link_required_opp_table(struct opp_table *new_table) in lazy_link_required_opp_table() argument
436 if (required_table_np != new_table->np) { in lazy_link_required_opp_table()
441 required_opp_tables[i] = new_table; in lazy_link_required_opp_table()
442 _get_opp_table_kref(new_table); in lazy_link_required_opp_table()
445 ret = lazy_link_required_opps(opp_table, new_table, i); in lazy_link_required_opp_table()
/linux-6.12.1/fs/
Dselect.c166 struct poll_table_page *new_table; in poll_get_entry() local
168 new_table = (struct poll_table_page *) __get_free_page(GFP_KERNEL); in poll_get_entry()
169 if (!new_table) { in poll_get_entry()
173 new_table->entry = new_table->entries; in poll_get_entry()
174 new_table->next = table; in poll_get_entry()
175 p->table = new_table; in poll_get_entry()
176 table = new_table; in poll_get_entry()
/linux-6.12.1/kernel/power/
Denergy_model.c311 struct em_perf_table __rcu *new_table) in em_dev_update_perf_domain() argument
328 kref_get(&new_table->kref); in em_dev_update_perf_domain()
331 rcu_assign_pointer(pd->em_table, new_table); in em_dev_update_perf_domain()
333 em_cpufreq_update_efficiencies(dev, new_table->state); in em_dev_update_perf_domain()
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_helpers.c171 struct dc_dp_mst_stream_allocation_table new_table = { 0 }; in fill_dc_mst_payload_table_from_drm() local
205 sa = &new_table.stream_allocations[new_table.stream_count]; in fill_dc_mst_payload_table_from_drm()
208 new_table.stream_count++; in fill_dc_mst_payload_table_from_drm()
213 *table = new_table; in fill_dc_mst_payload_table_from_drm()
/linux-6.12.1/net/ipv4/netfilter/
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()
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()
/linux-6.12.1/net/ipv6/netfilter/
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()
/linux-6.12.1/Documentation/power/
Denergy-model.rst226 struct em_perf_table __rcu *new_table);
359 04 struct em_perf_state *table, *new_table;
373 18 new_table = em_table->state;
379 24 foo_get_power_perf_values(dev, freq, &new_table[i]);
/linux-6.12.1/include/acpi/
Dacpiosxf.h71 struct acpi_table_header **new_table);
/linux-6.12.1/drivers/iommu/amd/
Diommu.c2998 struct irq_remap_table *new_table = NULL; in alloc_irq_table() local
3019 new_table = __alloc_irq_table(); in alloc_irq_table()
3020 if (!new_table) in alloc_irq_table()
3035 table = new_table; in alloc_irq_table()
3036 new_table = NULL; in alloc_irq_table()
3053 if (new_table) { in alloc_irq_table()
3054 kmem_cache_free(amd_iommu_irq_cache, new_table->table); in alloc_irq_table()
3055 kfree(new_table); in alloc_irq_table()
/linux-6.12.1/drivers/net/vmxnet3/
Dvmxnet3_drv.c2766 u8 *new_table = NULL; in vmxnet3_set_mc() local
2787 new_table = vmxnet3_copy_mc(netdev); in vmxnet3_set_mc()
2788 if (new_table) { in vmxnet3_set_mc()
2794 new_table, in vmxnet3_set_mc()
2833 kfree(new_table); in vmxnet3_set_mc()