Lines Matching refs:ml

365 	if (target->ml.convert_type == LKM_IVMODE) {  in dlm_shuffle_lists()
373 if (!dlm_lock_compatible(lock->ml.type, in dlm_shuffle_lists()
374 target->ml.convert_type)) { in dlm_shuffle_lists()
377 if (lock->ml.highest_blocked == LKM_IVMODE) { in dlm_shuffle_lists()
382 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
383 lock->ml.highest_blocked = in dlm_shuffle_lists()
384 target->ml.convert_type; in dlm_shuffle_lists()
391 if (!dlm_lock_compatible(lock->ml.type, in dlm_shuffle_lists()
392 target->ml.convert_type)) { in dlm_shuffle_lists()
394 if (lock->ml.highest_blocked == LKM_IVMODE) { in dlm_shuffle_lists()
398 if (lock->ml.highest_blocked < target->ml.convert_type) in dlm_shuffle_lists()
399 lock->ml.highest_blocked = in dlm_shuffle_lists()
400 target->ml.convert_type; in dlm_shuffle_lists()
407 BUG_ON(target->ml.highest_blocked != LKM_IVMODE); in dlm_shuffle_lists()
412 dlm_get_lock_cookie_node(be64_to_cpu(target->ml.cookie)), in dlm_shuffle_lists()
413 dlm_get_lock_cookie_seq(be64_to_cpu(target->ml.cookie)), in dlm_shuffle_lists()
414 target->ml.type, in dlm_shuffle_lists()
415 target->ml.convert_type, target->ml.node); in dlm_shuffle_lists()
417 target->ml.type = target->ml.convert_type; in dlm_shuffle_lists()
418 target->ml.convert_type = LKM_IVMODE; in dlm_shuffle_lists()
440 if (!dlm_lock_compatible(lock->ml.type, target->ml.type)) { in dlm_shuffle_lists()
442 if (lock->ml.highest_blocked == LKM_IVMODE) { in dlm_shuffle_lists()
446 if (lock->ml.highest_blocked < target->ml.type) in dlm_shuffle_lists()
447 lock->ml.highest_blocked = target->ml.type; in dlm_shuffle_lists()
454 if (!dlm_lock_compatible(lock->ml.type, target->ml.type)) { in dlm_shuffle_lists()
456 if (lock->ml.highest_blocked == LKM_IVMODE) { in dlm_shuffle_lists()
460 if (lock->ml.highest_blocked < target->ml.type) in dlm_shuffle_lists()
461 lock->ml.highest_blocked = target->ml.type; in dlm_shuffle_lists()
469 BUG_ON(target->ml.highest_blocked != LKM_IVMODE); in dlm_shuffle_lists()
474 dlm_get_lock_cookie_node(be64_to_cpu(target->ml.cookie)), in dlm_shuffle_lists()
475 dlm_get_lock_cookie_seq(be64_to_cpu(target->ml.cookie)), in dlm_shuffle_lists()
476 target->ml.type, target->ml.node); in dlm_shuffle_lists()
586 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_flush_asts()
587 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dlm_flush_asts()
588 lock->ml.type, lock->ml.node); in dlm_flush_asts()
597 if (lock->ml.node != dlm->node_num) { in dlm_flush_asts()
632 BUG_ON(lock->ml.highest_blocked <= LKM_IVMODE); in dlm_flush_asts()
633 hi = lock->ml.highest_blocked; in dlm_flush_asts()
634 lock->ml.highest_blocked = LKM_IVMODE; in dlm_flush_asts()
645 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_flush_asts()
646 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dlm_flush_asts()
647 hi, lock->ml.node); in dlm_flush_asts()
649 if (lock->ml.node != dlm->node_num) { in dlm_flush_asts()