rangelock_type_t
rangelock_type_t lr_type; /* range type */
uint64_t, uint64_t, rangelock_type_t);
rangelock_type_t orig_type = new->lr_type;
rangelock_type_t type)