Lines Matching refs:cur
96 struct smb2_lock_element *buf, *cur; in smb2_unlock_range() local
118 cur = buf; in smb2_unlock_range()
138 cur->Length = cpu_to_le64(li->length); in smb2_unlock_range()
139 cur->Offset = cpu_to_le64(li->offset); in smb2_unlock_range()
140 cur->Flags = cpu_to_le32(SMB2_LOCKFLAG_UNLOCK); in smb2_unlock_range()
166 cur = buf; in smb2_unlock_range()
169 cur++; in smb2_unlock_range()
195 struct smb2_lock_element *cur = buf; in smb2_push_mand_fdlocks() local
199 cur->Length = cpu_to_le64(li->length); in smb2_push_mand_fdlocks()
200 cur->Offset = cpu_to_le64(li->offset); in smb2_push_mand_fdlocks()
201 cur->Flags = cpu_to_le32(li->type | in smb2_push_mand_fdlocks()
210 cur = buf; in smb2_push_mand_fdlocks()
213 cur++; in smb2_push_mand_fdlocks()