Searched refs:phys_pg_pack (Results 1 – 4 of 4) sorted by relevance
92 struct hl_vm_phys_pg_pack *phys_pg_pack; in alloc_device_memory() local128 phys_pg_pack = kzalloc(sizeof(*phys_pg_pack), GFP_KERNEL); in alloc_device_memory()129 if (!phys_pg_pack) { in alloc_device_memory()134 phys_pg_pack->vm_type = VM_TYPE_PHYS_PACK; in alloc_device_memory()135 phys_pg_pack->asid = ctx->asid; in alloc_device_memory()136 phys_pg_pack->npages = num_pgs; in alloc_device_memory()137 phys_pg_pack->page_size = page_size; in alloc_device_memory()138 phys_pg_pack->total_size = total_size; in alloc_device_memory()139 phys_pg_pack->flags = args->flags; in alloc_device_memory()140 phys_pg_pack->contiguous = contiguous; in alloc_device_memory()[all …]
243 struct hl_vm_phys_pg_pack *phys_pg_pack = NULL; in vm_show() local272 phys_pg_pack = hnode->ptr; in vm_show()275 hnode->vaddr, phys_pg_pack->total_size, in vm_show()276 phys_pg_pack->handle); in vm_show()304 idr_for_each_entry(&vm->phys_pg_pack_handles, phys_pg_pack, i) { in vm_show()305 if (phys_pg_pack->asid != ctx->asid) in vm_show()308 seq_printf(s, "\nhandle: %u\n", phys_pg_pack->handle); in vm_show()310 phys_pg_pack->page_size); in vm_show()313 for (j = 0 ; j < phys_pg_pack->npages ; j++) { in vm_show()315 phys_pg_pack->pages[j]); in vm_show()[all …]
2729 struct hl_vm_phys_pg_pack *phys_pg_pack = NULL; in hl_capture_user_mappings() local2777 phys_pg_pack = hnode->ptr; in hl_capture_user_mappings()2779 pgf_info->user_mappings[map_idx].size = phys_pg_pack->total_size; in hl_capture_user_mappings()
1846 struct hl_vm_phys_pg_pack *phys_pg_pack; member