Lines Matching refs:cfile
624 struct cifsFileInfo *cfile, struct cifs_open_info_data *data) in cifs_query_file_info() argument
629 if (cfile->symlink_target) { in cifs_query_file_info()
630 data->symlink_target = kstrdup(cfile->symlink_target, GFP_KERNEL); in cifs_query_file_info()
635 rc = CIFSSMBQFileInfo(xid, tcon, cfile->fid.netfid, &fi); in cifs_query_file_info()
748 cifs_set_fid(struct cifsFileInfo *cfile, struct cifs_fid *fid, __u32 oplock) in cifs_set_fid() argument
750 struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry)); in cifs_set_fid()
751 cfile->fid.netfid = fid->netfid; in cifs_set_fid()
867 struct cifsFileInfo *cfile) in cifs_set_compression() argument
869 return CIFSSMB_set_compression(xid, tcon, cfile->fid.netfid); in cifs_set_compression()
943 cifs_mand_lock(const unsigned int xid, struct cifsFileInfo *cfile, __u64 offset, in cifs_mand_lock() argument
946 return CIFSSMBLock(xid, tlink_tcon(cfile->tlink), cfile->fid.netfid, in cifs_mand_lock()
1023 cifs_dir_needs_close(struct cifsFileInfo *cfile) in cifs_dir_needs_close() argument
1025 return !cfile->srch_inf.endOfSearch && !cfile->invalidHandle; in cifs_dir_needs_close()