Searched refs:lock_length (Results 1 – 1 of 1) sorted by relevance
7199 u64 lock_start, lock_length; in smb2_lock() local7237 lock_length = le64_to_cpu(lock_ele[i].Length); in smb2_lock()7238 if (lock_start > U64_MAX - lock_length) { in smb2_lock()7250 lock_length = le64_to_cpu(lock_ele[i].Length); in smb2_lock()7251 if (lock_length > OFFSET_MAX - flock->fl_start) in smb2_lock()7252 lock_length = OFFSET_MAX - flock->fl_start; in smb2_lock()7254 flock->fl_end = flock->fl_start + lock_length; in smb2_lock()