Home
last modified time | relevance | path

Searched refs:alloc_info (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/boot/
Dsimple_alloc.c21 static struct alloc_info { struct
40 struct alloc_info *p = alloc_tbl; in simple_malloc() argument
68 static struct alloc_info *simple_find_entry(void *ptr) in simple_find_entry()
71 struct alloc_info *p = alloc_tbl; in simple_find_entry()
85 struct alloc_info *p = simple_find_entry(ptr); in simple_free()
99 struct alloc_info *p; in simple_realloc()
135 tbl_size = tbl_entries * sizeof(struct alloc_info); in simple_alloc_init()
137 alloc_tbl = (struct alloc_info *)_ALIGN_UP((unsigned long)base, 8); in simple_alloc_init()
/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/
Dvmci_host.c454 struct vmci_qp_alloc_info_vmvm alloc_info; in vmci_host_do_alloc_queuepair() local
457 if (copy_from_user(&alloc_info, uptr, sizeof(alloc_info))) in vmci_host_do_alloc_queuepair()
460 handle = alloc_info.handle; in vmci_host_do_alloc_queuepair()
463 vmci_status = vmci_qp_broker_alloc(alloc_info.handle, in vmci_host_do_alloc_queuepair()
464 alloc_info.peer, in vmci_host_do_alloc_queuepair()
465 alloc_info.flags, in vmci_host_do_alloc_queuepair()
467 alloc_info.produce_size, in vmci_host_do_alloc_queuepair()
468 alloc_info.consume_size, in vmci_host_do_alloc_queuepair()
475 struct vmci_qp_alloc_info alloc_info; in vmci_host_do_alloc_queuepair() local
479 if (copy_from_user(&alloc_info, uptr, sizeof(alloc_info))) in vmci_host_do_alloc_queuepair()
[all …]
/kernel/linux/linux-5.10/mm/kasan/
Dgeneric.c332 struct kasan_alloc_meta *alloc_info; in kasan_record_aux_stack() local
340 alloc_info = get_alloc_info(cache, object); in kasan_record_aux_stack()
341 if (!alloc_info) in kasan_record_aux_stack()
347 alloc_info->aux_stack[1] = alloc_info->aux_stack[0]; in kasan_record_aux_stack()
348 alloc_info->aux_stack[0] = kasan_save_stack(GFP_NOWAIT); in kasan_record_aux_stack()
Dreport.c173 struct kasan_alloc_meta *alloc_info = get_alloc_info(cache, object); in describe_object() local
178 print_track(&alloc_info->alloc_track, "Allocated"); in describe_object()
187 if (alloc_info->aux_stack[0]) { in describe_object()
189 print_stack(alloc_info->aux_stack[0]); in describe_object()
192 if (alloc_info->aux_stack[1]) { in describe_object()
194 print_stack(alloc_info->aux_stack[1]); in describe_object()
Dcommon.c357 struct kasan_alloc_meta *alloc_info; in kasan_init_slab_obj() local
362 alloc_info = get_alloc_info(cache, object); in kasan_init_slab_obj()
363 __memset(alloc_info, 0, sizeof(*alloc_info)); in kasan_init_slab_obj()