Searched refs:sws_iter (Results 1 – 2 of 2) sorted by relevance
280 struct amdgpu_screen_winsys **sws_iter; in amdgpu_winsys_unref() local286 for (sws_iter = &aws->sws_list; *sws_iter; sws_iter = &(*sws_iter)->next) { in amdgpu_winsys_unref()287 if (*sws_iter == sws) { in amdgpu_winsys_unref()288 *sws_iter = sws->next; in amdgpu_winsys_unref()370 struct amdgpu_screen_winsys *sws_iter; in amdgpu_winsys_create() local379 for (sws_iter = aws->sws_list; sws_iter; sws_iter = sws_iter->next) { in amdgpu_winsys_create()380 r = os_same_file_description(sws_iter->fd, ws->fd); in amdgpu_winsys_create()385 ws = sws_iter; in amdgpu_winsys_create()
168 struct amdgpu_screen_winsys *sws_iter; in amdgpu_bo_destroy() local188 for (sws_iter = ws->sws_list; sws_iter; sws_iter = sws_iter->next) { in amdgpu_bo_destroy()191 if (!sws_iter->kms_handles) in amdgpu_bo_destroy()194 entry = _mesa_hash_table_search(sws_iter->kms_handles, bo); in amdgpu_bo_destroy()198 drmIoctl(sws_iter->fd, DRM_IOCTL_GEM_CLOSE, &args); in amdgpu_bo_destroy()199 _mesa_hash_table_remove(sws_iter->kms_handles, entry); in amdgpu_bo_destroy()526 struct amdgpu_screen_winsys *sws_iter; in amdgpu_create_bo() local528 for (sws_iter = ws->sws_list; sws_iter; sws_iter = sws_iter->next) { in amdgpu_create_bo()529 *((bool*) &sws_iter->base.uses_secure_bos) = true; in amdgpu_create_bo()