Lines Matching refs:cfile
189 smb2_unlock_range(struct cifsFileInfo *cfile, struct file_lock *flock, in smb2_unlock_range() argument
195 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in smb2_unlock_range()
196 struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry)); in smb2_unlock_range()
219 list_for_each_entry_safe(li, tmp, &cfile->llist->locks, llist) { in smb2_unlock_range()
251 cfile->fid.persistent_fid, in smb2_unlock_range()
252 cfile->fid.volatile_fid, in smb2_unlock_range()
261 &cfile->llist->locks); in smb2_unlock_range()
275 stored_rc = smb2_lockv(xid, tcon, cfile->fid.persistent_fid, in smb2_unlock_range()
276 cfile->fid.volatile_fid, current->tgid, in smb2_unlock_range()
279 cifs_move_llist(&tmp_llist, &cfile->llist->locks); in smb2_unlock_range()
295 struct cifsFileInfo *cfile = fdlocks->cfile; in smb2_push_mand_fdlocks() local
299 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in smb2_push_mand_fdlocks()
308 cfile->fid.persistent_fid, in smb2_push_mand_fdlocks()
309 cfile->fid.volatile_fid, in smb2_push_mand_fdlocks()
320 cfile->fid.persistent_fid, in smb2_push_mand_fdlocks()
321 cfile->fid.volatile_fid, in smb2_push_mand_fdlocks()
331 smb2_push_mandatory_locks(struct cifsFileInfo *cfile) in smb2_push_mandatory_locks() argument
337 struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry)); in smb2_push_mandatory_locks()
346 max_buf = tlink_tcon(cfile->tlink)->ses->server->maxBuf; in smb2_push_mandatory_locks()