Lines Matching refs:pgf_info
2728 struct page_fault_info *pgf_info = &hdev->captured_err_info.page_fault_info; in hl_capture_user_mappings() local
2738 pgf_info->num_of_user_mappings = 0; in hl_capture_user_mappings()
2751 pgf_info->num_of_user_mappings++; in hl_capture_user_mappings()
2755 if (!pgf_info->num_of_user_mappings) in hl_capture_user_mappings()
2761 vfree(pgf_info->user_mappings); in hl_capture_user_mappings()
2762 pgf_info->user_mappings = in hl_capture_user_mappings()
2763 vzalloc(pgf_info->num_of_user_mappings * sizeof(struct hl_user_mapping)); in hl_capture_user_mappings()
2764 if (!pgf_info->user_mappings) { in hl_capture_user_mappings()
2765 pgf_info->num_of_user_mappings = 0; in hl_capture_user_mappings()
2773 pgf_info->user_mappings[map_idx].dev_va = hnode->vaddr; in hl_capture_user_mappings()
2774 pgf_info->user_mappings[map_idx].size = userptr->size; in hl_capture_user_mappings()
2778 pgf_info->user_mappings[map_idx].dev_va = hnode->vaddr; in hl_capture_user_mappings()
2779 pgf_info->user_mappings[map_idx].size = phys_pg_pack->total_size; in hl_capture_user_mappings()
2790 struct page_fault_info *pgf_info = &hdev->captured_err_info.page_fault_info; in hl_capture_page_fault() local
2793 if (atomic_cmpxchg(&pgf_info->page_fault_detected, 0, 1)) in hl_capture_page_fault()
2796 pgf_info->page_fault.timestamp = ktime_to_ns(ktime_get()); in hl_capture_page_fault()
2797 pgf_info->page_fault.addr = addr; in hl_capture_page_fault()
2798 pgf_info->page_fault.engine_id = eng_id; in hl_capture_page_fault()
2801 pgf_info->page_fault_info_available = true; in hl_capture_page_fault()