Searched refs:load_context (Results 1 – 7 of 7) sorted by relevance
230 mutex_init(&session->load_context.mutex); in make_empty_index_session()231 uds_init_cond(&session->load_context.cond); in make_empty_index_session()298 result = uds_make_index(config, open_type, &index_session->load_context, in initialize_index_session()382 mutex_lock(&session->load_context.mutex); in suspend_rebuild()383 switch (session->load_context.status) { in suspend_rebuild()385 session->load_context.status = INDEX_SUSPENDING; in suspend_rebuild()388 while ((session->load_context.status != INDEX_SUSPENDED) && in suspend_rebuild()389 (session->load_context.status != INDEX_READY)) { in suspend_rebuild()390 uds_wait_cond(&session->load_context.cond, in suspend_rebuild()391 &session->load_context.mutex); in suspend_rebuild()[all …]
949 if (index->load_context == NULL) in check_for_suspend()952 mutex_lock(&index->load_context->mutex); in check_for_suspend()953 if (index->load_context->status != INDEX_SUSPENDING) { in check_for_suspend()954 mutex_unlock(&index->load_context->mutex); in check_for_suspend()959 index->load_context->status = INDEX_SUSPENDED; in check_for_suspend()960 uds_broadcast_cond(&index->load_context->cond); in check_for_suspend()962 while ((index->load_context->status != INDEX_OPENING) && in check_for_suspend()963 (index->load_context->status != INDEX_FREEING)) in check_for_suspend()964 uds_wait_cond(&index->load_context->cond, &index->load_context->mutex); in check_for_suspend()966 closing = (index->load_context->status == INDEX_FREEING); in check_for_suspend()[all …]
40 struct index_load_context *load_context; member67 struct index_load_context *load_context,
78 struct index_load_context load_context; member
44 static inline void load_context(mm_context_t context) in load_context() function61 load_context(next->context); in switch_mm_irqs_off()
59 load_context(mm->context); in flush_tlb_mm()
1135 static struct i915_vma *load_context(struct intel_context *ce, u32 poison) in load_context() function1215 batch = load_context(ce, poison); in poison_registers()