Lines Matching refs:err_node

1058 	struct ras_err_node *err_node;  in amdgpu_ras_error_print_error_data()  local
1063 for_each_ras_error(err_node, err_data) { in amdgpu_ras_error_print_error_data()
1064 err_info = &err_node->err_info; in amdgpu_ras_error_print_error_data()
1076 for_each_ras_error(err_node, &ras_mgr->err_data) { in amdgpu_ras_error_print_error_data()
1077 err_info = &err_node->err_info; in amdgpu_ras_error_print_error_data()
1086 for_each_ras_error(err_node, err_data) { in amdgpu_ras_error_print_error_data()
1087 err_info = &err_node->err_info; in amdgpu_ras_error_print_error_data()
1099 for_each_ras_error(err_node, &ras_mgr->err_data) { in amdgpu_ras_error_print_error_data()
1100 err_info = &err_node->err_info; in amdgpu_ras_error_print_error_data()
1108 for_each_ras_error(err_node, err_data) { in amdgpu_ras_error_print_error_data()
1109 err_info = &err_node->err_info; in amdgpu_ras_error_print_error_data()
1121 for_each_ras_error(err_node, &ras_mgr->err_data) { in amdgpu_ras_error_print_error_data()
1122 err_info = &err_node->err_info; in amdgpu_ras_error_print_error_data()
1219 struct ras_err_node *err_node; in amdgpu_rasmgr_error_data_statistic_update() local
1223 for_each_ras_error(err_node, err_data) { in amdgpu_rasmgr_error_data_statistic_update()
1224 err_info = &err_node->err_info; in amdgpu_rasmgr_error_data_statistic_update()
4538 static void amdgpu_ras_error_node_release(struct ras_err_node *err_node) in amdgpu_ras_error_node_release() argument
4540 if (!err_node) in amdgpu_ras_error_node_release()
4543 list_del(&err_node->node); in amdgpu_ras_error_node_release()
4544 kvfree(err_node); in amdgpu_ras_error_node_release()
4549 struct ras_err_node *err_node, *tmp; in amdgpu_ras_error_data_fini() local
4551 list_for_each_entry_safe(err_node, tmp, &err_data->err_node_list, node) in amdgpu_ras_error_data_fini()
4552 amdgpu_ras_error_node_release(err_node); in amdgpu_ras_error_data_fini()
4558 struct ras_err_node *err_node; in amdgpu_ras_error_find_node_by_id() local
4564 for_each_ras_error(err_node, err_data) { in amdgpu_ras_error_find_node_by_id()
4565 ref_id = &err_node->err_info.mcm_info; in amdgpu_ras_error_find_node_by_id()
4569 return err_node; in amdgpu_ras_error_find_node_by_id()
4577 struct ras_err_node *err_node; in amdgpu_ras_error_node_new() local
4579 err_node = kvzalloc(sizeof(*err_node), GFP_KERNEL); in amdgpu_ras_error_node_new()
4580 if (!err_node) in amdgpu_ras_error_node_new()
4583 INIT_LIST_HEAD(&err_node->node); in amdgpu_ras_error_node_new()
4585 return err_node; in amdgpu_ras_error_node_new()
4606 struct ras_err_node *err_node; in amdgpu_ras_error_get_info() local
4608 err_node = amdgpu_ras_error_find_node_by_id(err_data, mcm_info); in amdgpu_ras_error_get_info()
4609 if (err_node) in amdgpu_ras_error_get_info()
4610 return &err_node->err_info; in amdgpu_ras_error_get_info()
4612 err_node = amdgpu_ras_error_node_new(); in amdgpu_ras_error_get_info()
4613 if (!err_node) in amdgpu_ras_error_get_info()
4616 memcpy(&err_node->err_info.mcm_info, mcm_info, sizeof(*mcm_info)); in amdgpu_ras_error_get_info()
4619 list_add_tail(&err_node->node, &err_data->err_node_list); in amdgpu_ras_error_get_info()
4622 return &err_node->err_info; in amdgpu_ras_error_get_info()