Lines Matching refs:ml
81 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock()
86 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock()
88 if (!dlm_lock_compatible(tmplock->ml.convert_type, in dlm_can_grant_new_lock()
89 lock->ml.type)) in dlm_can_grant_new_lock()
110 mlog(0, "type=%d\n", lock->ml.type); in dlmlock_master()
117 lock->ml.node != dlm->node_num) { in dlmlock_master()
146 lock->ml.node); in dlmlock_master()
157 lock->ml.node); in dlmlock_master()
207 lock->ml.type, res->lockname.len, in dlmlock_remote()
295 create.requested_type = lock->ml.type; in dlm_send_remote_lock_request()
296 create.cookie = lock->ml.cookie; in dlm_send_remote_lock_request()
385 newlock->ml.type = type; in dlm_init_lock()
386 newlock->ml.convert_type = LKM_IVMODE; in dlm_init_lock()
387 newlock->ml.highest_blocked = LKM_IVMODE; in dlm_init_lock()
388 newlock->ml.node = node; in dlm_init_lock()
389 newlock->ml.pad1 = 0; in dlm_init_lock()
390 newlock->ml.list = 0; in dlm_init_lock()
391 newlock->ml.flags = 0; in dlm_init_lock()
395 newlock->ml.cookie = cpu_to_be64(cookie); in dlm_init_lock()