Lines Matching refs:ras_node
3958 struct amdgpu_ras_block_list *ras_node, *tmp; in amdgpu_ras_fini() local
3965 list_for_each_entry_safe(ras_node, tmp, &adev->ras_list, node) { in amdgpu_ras_fini()
3966 if (ras_node->ras_obj) { in amdgpu_ras_fini()
3967 obj = ras_node->ras_obj; in amdgpu_ras_fini()
3976 list_del(&ras_node->node); in amdgpu_ras_fini()
3977 kfree(ras_node); in amdgpu_ras_fini()
4374 struct amdgpu_ras_block_list *ras_node; in amdgpu_ras_register_ras_block() local
4378 ras_node = kzalloc(sizeof(*ras_node), GFP_KERNEL); in amdgpu_ras_register_ras_block()
4379 if (!ras_node) in amdgpu_ras_register_ras_block()
4382 INIT_LIST_HEAD(&ras_node->node); in amdgpu_ras_register_ras_block()
4383 ras_node->ras_obj = ras_block_obj; in amdgpu_ras_register_ras_block()
4384 list_add_tail(&ras_node->node, &adev->ras_list); in amdgpu_ras_register_ras_block()