Home
last modified time | relevance | path

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

/drivers/staging/lustre/lustre/ldlm/
Dldlm_lockd.c355 static int __ldlm_bl_to_thread(struct ldlm_bl_work_item *blwi, in __ldlm_bl_to_thread() argument
361 if (blwi->blwi_lock && in __ldlm_bl_to_thread()
362 blwi->blwi_lock->l_flags & LDLM_FL_DISCARD_DATA) { in __ldlm_bl_to_thread()
364 list_add_tail(&blwi->blwi_entry, &blp->blp_prio_list); in __ldlm_bl_to_thread()
367 list_add_tail(&blwi->blwi_entry, &blp->blp_list); in __ldlm_bl_to_thread()
376 wait_for_completion(&blwi->blwi_comp); in __ldlm_bl_to_thread()
381 static inline void init_blwi(struct ldlm_bl_work_item *blwi, in init_blwi() argument
388 init_completion(&blwi->blwi_comp); in init_blwi()
389 INIT_LIST_HEAD(&blwi->blwi_head); in init_blwi()
392 blwi->blwi_mem_pressure = 1; in init_blwi()
[all …]