Lines Matching refs:ml

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