Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/boot/
Dsimple_alloc.c19 static struct alloc_info { struct
38 struct alloc_info *p = alloc_tbl; in simple_malloc() argument
66 static struct alloc_info *simple_find_entry(void *ptr) in simple_find_entry()
69 struct alloc_info *p = alloc_tbl; in simple_find_entry()
83 struct alloc_info *p = simple_find_entry(ptr); in simple_free()
97 struct alloc_info *p; in simple_realloc()
133 tbl_size = tbl_entries * sizeof(struct alloc_info); in simple_alloc_init()
135 alloc_tbl = (struct alloc_info *)_ALIGN_UP((unsigned long)base, 8); in simple_alloc_init()
/linux-6.1.9/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 …]