Searched refs:lock_length (Results 1 – 1 of 1) sorted by relevance
6818 u64 lock_start, lock_length; in smb2_lock() local6854 lock_length = le64_to_cpu(lock_ele[i].Length); in smb2_lock()6855 if (lock_start > U64_MAX - lock_length) { in smb2_lock()6866 lock_length = le64_to_cpu(lock_ele[i].Length); in smb2_lock()6867 if (lock_length > OFFSET_MAX - flock->fl_start) in smb2_lock()6868 lock_length = OFFSET_MAX - flock->fl_start; in smb2_lock()6870 flock->fl_end = flock->fl_start + lock_length; in smb2_lock()