Searched refs:session_idx (Results 1 – 4 of 4) sorted by relevance
713 int session_idx = -1; in amdgpu_vce_ring_parse_cs() local798 session_idx = amdgpu_vce_validate_handle(p, handle, in amdgpu_vce_ring_parse_cs()800 if (session_idx < 0) { in amdgpu_vce_ring_parse_cs()801 r = session_idx; in amdgpu_vce_ring_parse_cs()804 size = &p->adev->vce.img_size[session_idx]; in amdgpu_vce_ring_parse_cs()813 created |= 1 << session_idx; in amdgpu_vce_ring_parse_cs()814 if (destroyed & (1 << session_idx)) { in amdgpu_vce_ring_parse_cs()815 destroyed &= ~(1 << session_idx); in amdgpu_vce_ring_parse_cs()816 allocated |= 1 << session_idx; in amdgpu_vce_ring_parse_cs()818 } else if (!(allocated & (1 << session_idx))) { in amdgpu_vce_ring_parse_cs()[all …]
38 int session_idx; /* index of session within current tunnel */ member59 pd->session = l2tp_session_get_nth(pd->tunnel, pd->session_idx); in l2tp_dfs_next_session()60 pd->session_idx++; in l2tp_dfs_next_session()63 pd->session_idx = 0; in l2tp_dfs_next_session()
1434 int session_idx; /* index of session within current tunnel */ member1463 pd->session = l2tp_session_get_nth(pd->tunnel, pd->session_idx); in pppol2tp_next_session()1464 pd->session_idx++; in pppol2tp_next_session()1467 pd->session_idx = 0; in pppol2tp_next_session()
559 int session_idx = -1; in radeon_vce_cs_parse() local584 session_idx = radeon_vce_validate_handle(p, handle, in radeon_vce_cs_parse()586 if (session_idx < 0) in radeon_vce_cs_parse()587 return session_idx; in radeon_vce_cs_parse()588 size = &p->rdev->vce.img_size[session_idx]; in radeon_vce_cs_parse()659 if (session_idx == -1) { in radeon_vce_cs_parse()