Lines Matching refs:pSessionItem
61 Result Allocate(SessionItem*& pSessionItem) in Allocate() argument
64 Result result = m_sessionPool.Allocate(pSessionItem); in Allocate()
66 m_pSessionItem = pSessionItem; in Allocate()
70 Result TryAllocate(SessionItem*& pSessionItem) in TryAllocate() argument
73 Result result = m_sessionPool.TryAllocate(pSessionItem); in TryAllocate()
75 m_pSessionItem = pSessionItem; in TryAllocate()
173 for(SessionItem* pSessionItem = m_listActive.GetFront(); in Finalize() local
174 pSessionItem != NULL; in Finalize()
175 pSessionItem = m_listActive.GetNext(pSessionItem)) in Finalize()
178 pSessionItem->Close(); in Finalize()
201 Result Allocate(SessionItem*& pSessionItem) in Allocate() argument
206 result = TryAllocate(pSessionItem); in Allocate()
216 Result TryAllocate(SessionItem*& pSessionItem) in TryAllocate() argument
239 pSessionItem = m_listInactive.PopFront(); in TryAllocate()
241 m_listActive.PushBack(pSessionItem); in TryAllocate()
247 void Free(SessionItem* pSessionItem) in Free() argument
250 NN_ASSERT(pSessionItem); in Free()
262 m_listActive.Erase(pSessionItem); in Free()
265 if (pSessionItem->IsValid()) in Free()
267 m_listInactive.PushBack(pSessionItem); in Free()
272 pSessionItem->Close(); in Free()
273 m_listFree.PushBack(pSessionItem); in Free()
296 SessionItem* pSessionItem = m_listFree.GetFront(); in AddNewSession() local
297 NN_ASSERT(!pSessionItem->IsValid()); in AddNewSession()
298 Result result = srv::GetServiceHandle(pSessionItem, m_name, m_nameLength); in AddNewSession()
304 result = InitializingSession(*pSessionItem); in AddNewSession()
307 pSessionItem->Close(); in AddNewSession()
315 m_listInactive.PushBack(pSessionItem); in AddNewSession()