Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/staging/android/ion/
Dion.c142 struct sg_table *new_table; in dup_sg_table() local
146 new_table = kzalloc(sizeof(*new_table), GFP_KERNEL); in dup_sg_table()
147 if (!new_table) in dup_sg_table()
150 ret = sg_alloc_table(new_table, table->orig_nents, GFP_KERNEL); in dup_sg_table()
152 kfree(new_table); in dup_sg_table()
156 new_sg = new_table->sgl; in dup_sg_table()
163 return new_table; in dup_sg_table()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/acpi/
Dtables.c763 struct acpi_table_header **new_table) in acpi_os_table_override() argument
765 if (!existing_table || !new_table) in acpi_os_table_override()
768 *new_table = NULL; in acpi_os_table_override()
772 *new_table = (struct acpi_table_header *)&amlcode; in acpi_os_table_override()
773 if (!(*new_table)) in acpi_os_table_override()
774 *new_table = (struct acpi_table_header *)&dsdt_amlcode; in acpi_os_table_override()
777 if (*new_table != NULL) in acpi_os_table_override()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Darp_tables.c1509 struct xt_table *new_table; in arpt_register_table() local
1522 new_table = xt_register_table(net, table, &bootstrap, newinfo); in arpt_register_table()
1523 if (IS_ERR(new_table)) { in arpt_register_table()
1524 ret = PTR_ERR(new_table); in arpt_register_table()
1529 WRITE_ONCE(*res, new_table); in arpt_register_table()
1533 __arpt_unregister_table(net, new_table); in arpt_register_table()
Dip_tables.c1725 struct xt_table *new_table; in ipt_register_table() local
1738 new_table = xt_register_table(net, table, &bootstrap, newinfo); in ipt_register_table()
1739 if (IS_ERR(new_table)) { in ipt_register_table()
1740 ret = PTR_ERR(new_table); in ipt_register_table()
1745 WRITE_ONCE(*res, new_table); in ipt_register_table()
1751 __ipt_unregister_table(net, new_table); in ipt_register_table()
/kernel/linux/linux-5.10/net/ipv6/netfilter/
Dip6_tables.c1736 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()
1751 ret = PTR_ERR(new_table); in ip6t_register_table()
1756 WRITE_ONCE(*res, new_table); in ip6t_register_table()
1762 __ip6t_unregister_table(net, new_table); in ip6t_register_table()
/kernel/linux/linux-5.10/include/acpi/
Dacpiosxf.h71 struct acpi_table_header **new_table);
/kernel/linux/linux-5.10/drivers/iommu/amd/
Diommu.c3265 struct irq_remap_table *new_table = NULL; in alloc_irq_table() local
3289 new_table = __alloc_irq_table(); in alloc_irq_table()
3290 if (!new_table) in alloc_irq_table()
3305 table = new_table; in alloc_irq_table()
3306 new_table = NULL; in alloc_irq_table()
3323 if (new_table) { in alloc_irq_table()
3324 kmem_cache_free(amd_iommu_irq_cache, new_table->table); in alloc_irq_table()
3325 kfree(new_table); in alloc_irq_table()
/kernel/linux/patches/linux-5.10/zhiyuan_patch/
Dkernel.patch1672 + struct sg_table *new_table;
1680 + new_table = kzalloc(sizeof(*new_table), GFP_KERNEL);
1681 + if (!new_table)
1684 + ret = sg_alloc_table(new_table, table->orig_nents, GFP_KERNEL);
1686 + kfree(new_table);
1690 + new_sg = new_table->sgl;
1696 + return new_table;
/kernel/linux/linux-5.10/drivers/net/vmxnet3/
Dvmxnet3_drv.c2385 u8 *new_table = NULL; in vmxnet3_set_mc() local
2406 new_table = vmxnet3_copy_mc(netdev); in vmxnet3_set_mc()
2407 if (new_table) { in vmxnet3_set_mc()
2413 new_table, in vmxnet3_set_mc()
2452 kfree(new_table); in vmxnet3_set_mc()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch6675 + struct sg_table *new_table;
6683 + new_table = kzalloc(sizeof(*new_table), GFP_KERNEL);
6684 + if (!new_table)
6687 + ret = sg_alloc_table(new_table, table->orig_nents, GFP_KERNEL);
6689 + kfree(new_table);
6693 + new_sg = new_table->sgl;
6699 + return new_table;