Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/
H A Dcache_v8.c145 u64 *new_table = (u64*)gd->arch.tlb_fillptr; in create_table() local
158 memset(new_table, 0, pt_len); in create_table()
160 return new_table; in create_table()
174 u64 *new_table; in split_block() local
184 new_table = create_table(); in split_block()
185 pr_debug("Splitting pte %p (%llx) into %p\n", pte, old_pte, new_table); in split_block()
188 new_table[i] = old_pte | (i << levelshift); in split_block()
192 new_table[i] |= PTE_TYPE_TABLE; in split_block()
194 pr_debug("Setting new_table[%lld] = %llx\n", i, new_table[i]); in split_block()
198 set_pte_table(pte, new_table); in split_block()
[all …]
/OK3568_Linux_fs/kernel/drivers/acpi/acpica/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/ump/common/
H A Dump_kernel_descriptor_mapping.c71 ump_descriptor_table *new_table; in ump_descriptor_mapping_allocate_mapping() local
80 new_table = descriptor_table_alloc(nr_mappings_new); in ump_descriptor_mapping_allocate_mapping()
81 if (NULL == new_table) { in ump_descriptor_mapping_allocate_mapping()
86 …_mali_osk_memcpy(new_table->usage, old_table->usage, (sizeof(unsigned long)*map->current_nr_mappin… in ump_descriptor_mapping_allocate_mapping()
87 …_mali_osk_memcpy(new_table->mappings, old_table->mappings, map->current_nr_mappings * sizeof(void … in ump_descriptor_mapping_allocate_mapping()
88 map->table = new_table; in ump_descriptor_mapping_allocate_mapping()
/OK3568_Linux_fs/kernel/drivers/staging/android/ion/
H A Dion_dma_buf.c18 struct sg_table *new_table; in dup_sg_table() local
22 new_table = kzalloc(sizeof(*new_table), GFP_KERNEL); in dup_sg_table()
23 if (!new_table) in dup_sg_table()
26 ret = sg_alloc_table(new_table, table->nents, GFP_KERNEL); in dup_sg_table()
28 kfree(new_table); in dup_sg_table()
32 new_sg = new_table->sgl; in dup_sg_table()
39 return new_table; in dup_sg_table()
/OK3568_Linux_fs/kernel/drivers/dma-buf/heaps/
H A Dsystem_heap.c69 struct sg_table *new_table; in dup_sg_table() local
73 new_table = kzalloc(sizeof(*new_table), GFP_KERNEL); in dup_sg_table()
74 if (!new_table) in dup_sg_table()
77 ret = sg_alloc_table(new_table, table->orig_nents, GFP_KERNEL); in dup_sg_table()
79 kfree(new_table); in dup_sg_table()
83 new_sg = new_table->sgl; in dup_sg_table()
89 return new_table; in dup_sg_table()
H A Drk_system_heap.c79 struct sg_table *new_table; in dup_sg_table() local
83 new_table = kzalloc(sizeof(*new_table), GFP_KERNEL); in dup_sg_table()
84 if (!new_table) in dup_sg_table()
87 ret = sg_alloc_table(new_table, table->orig_nents, GFP_KERNEL); in dup_sg_table()
89 kfree(new_table); in dup_sg_table()
93 new_sg = new_table->sgl; in dup_sg_table()
99 return new_table; in dup_sg_table()
/OK3568_Linux_fs/kernel/drivers/acpi/
H A 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()
/OK3568_Linux_fs/kernel/tools/power/acpi/os_specific/service_layers/
H A 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()
/OK3568_Linux_fs/kernel/kernel/events/
H A 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()
/OK3568_Linux_fs/kernel/fs/
H A 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()
/OK3568_Linux_fs/kernel/net/ipv4/netfilter/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/net/ipv6/netfilter/
H A 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()
/OK3568_Linux_fs/kernel/include/acpi/
H A Dacpiosxf.h71 struct acpi_table_header **new_table);
/OK3568_Linux_fs/kernel/drivers/iommu/amd/
H A Diommu.c3272 struct irq_remap_table *new_table = NULL; in alloc_irq_table() local
3296 new_table = __alloc_irq_table(); in alloc_irq_table()
3297 if (!new_table) in alloc_irq_table()
3312 table = new_table; in alloc_irq_table()
3313 new_table = NULL; in alloc_irq_table()
3330 if (new_table) { in alloc_irq_table()
3331 kmem_cache_free(amd_iommu_irq_cache, new_table->table); in alloc_irq_table()
3332 kfree(new_table); in alloc_irq_table()
/OK3568_Linux_fs/kernel/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c2398 u8 *new_table = NULL; in vmxnet3_set_mc() local
2419 new_table = vmxnet3_copy_mc(netdev); in vmxnet3_set_mc()
2420 if (new_table) { in vmxnet3_set_mc()
2426 new_table, in vmxnet3_set_mc()
2465 kfree(new_table); in vmxnet3_set_mc()