Searched refs:lock_length (Results 1 – 1 of 1) sorted by relevance
6794 u64 lock_start, lock_length; in smb2_lock() local6830 lock_length = le64_to_cpu(lock_ele[i].Length); in smb2_lock()6831 if (lock_start > U64_MAX - lock_length) { in smb2_lock()6842 lock_length = le64_to_cpu(lock_ele[i].Length); in smb2_lock()6843 if (lock_length > OFFSET_MAX - flock->fl_start) in smb2_lock()6844 lock_length = OFFSET_MAX - flock->fl_start; in smb2_lock()6846 flock->fl_end = flock->fl_start + lock_length; in smb2_lock()