Lines Matching refs:ml
79 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock()
84 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock()
86 if (!dlm_lock_compatible(tmplock->ml.convert_type, in dlm_can_grant_new_lock()
87 lock->ml.type)) in dlm_can_grant_new_lock()
108 mlog(0, "type=%d\n", lock->ml.type); in dlmlock_master()
115 lock->ml.node != dlm->node_num) { in dlmlock_master()
144 lock->ml.node); in dlmlock_master()
155 lock->ml.node); in dlmlock_master()
205 lock->ml.type, res->lockname.len, in dlmlock_remote()
293 create.requested_type = lock->ml.type; in dlm_send_remote_lock_request()
294 create.cookie = lock->ml.cookie; in dlm_send_remote_lock_request()
383 newlock->ml.type = type; in dlm_init_lock()
384 newlock->ml.convert_type = LKM_IVMODE; in dlm_init_lock()
385 newlock->ml.highest_blocked = LKM_IVMODE; in dlm_init_lock()
386 newlock->ml.node = node; in dlm_init_lock()
387 newlock->ml.pad1 = 0; in dlm_init_lock()
388 newlock->ml.list = 0; in dlm_init_lock()
389 newlock->ml.flags = 0; in dlm_init_lock()
393 newlock->ml.cookie = cpu_to_be64(cookie); in dlm_init_lock()