Home
last modified time | relevance | path

Searched refs:load_context (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/md/dm-vdo/indexer/
H A Dindex-session.c230 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 …]
H A Dindex.c949 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 …]
H A Dindex.h40 struct index_load_context *load_context; member
67 struct index_load_context *load_context,
H A Dindex-session.h78 struct index_load_context load_context; member
/linux/arch/parisc/include/asm/
H A Dmmu_context.h44 static inline void load_context(mm_context_t context) in load_context() function
61 load_context(next->context); in switch_mm_irqs_off()
H A Dtlbflush.h59 load_context(mm->context); in flush_tlb_mm()
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_lrc.c1135 static struct i915_vma *load_context(struct intel_context *ce, u32 poison) in load_context() function
1215 batch = load_context(ce, poison); in poison_registers()