Lines Matching refs:cur
115 struct smb2_lock_element *buf, *cur; in smb2_unlock_range() local
137 cur = buf; in smb2_unlock_range()
157 cur->Length = cpu_to_le64(li->length); in smb2_unlock_range()
158 cur->Offset = cpu_to_le64(li->offset); in smb2_unlock_range()
159 cur->Flags = cpu_to_le32(SMB2_LOCKFLAG_UNLOCK); in smb2_unlock_range()
185 cur = buf; in smb2_unlock_range()
188 cur++; in smb2_unlock_range()
214 struct smb2_lock_element *cur = buf; in smb2_push_mand_fdlocks() local
218 cur->Length = cpu_to_le64(li->length); in smb2_push_mand_fdlocks()
219 cur->Offset = cpu_to_le64(li->offset); in smb2_push_mand_fdlocks()
220 cur->Flags = cpu_to_le32(li->type | in smb2_push_mand_fdlocks()
229 cur = buf; in smb2_push_mand_fdlocks()
232 cur++; in smb2_push_mand_fdlocks()