Searched refs:lock_length (Results 1 – 1 of 1) sorted by relevance
6821 u64 lock_start, lock_length; in smb2_lock() local6857 lock_length = le64_to_cpu(lock_ele[i].Length); in smb2_lock()6858 if (lock_start > U64_MAX - lock_length) { in smb2_lock()6869 lock_length = le64_to_cpu(lock_ele[i].Length); in smb2_lock()6870 if (lock_length > OFFSET_MAX - flock->fl_start) in smb2_lock()6871 lock_length = OFFSET_MAX - flock->fl_start; in smb2_lock()6873 flock->fl_end = flock->fl_start + lock_length; in smb2_lock()