Home
last modified time | relevance | path

Searched refs:cifs_file (Results 1 – 2 of 2) sorted by relevance

/fs/cifs/
Dcifsglob.h607 struct cifsFileInfo *cifsFileInfo_get(struct cifsFileInfo *cifs_file) in cifsFileInfo_get() argument
609 ++cifs_file->count; in cifsFileInfo_get()
610 return cifs_file; in cifsFileInfo_get()
613 void cifsFileInfo_put(struct cifsFileInfo *cifs_file);
Dfile.c291 void cifsFileInfo_put(struct cifsFileInfo *cifs_file) in cifsFileInfo_put() argument
293 struct inode *inode = cifs_file->dentry->d_inode; in cifsFileInfo_put()
294 struct cifs_tcon *tcon = tlink_tcon(cifs_file->tlink); in cifsFileInfo_put()
300 if (--cifs_file->count > 0) { in cifsFileInfo_put()
306 list_del(&cifs_file->flist); in cifsFileInfo_put()
307 list_del(&cifs_file->tlist); in cifsFileInfo_put()
311 cifs_file->dentry->d_inode); in cifsFileInfo_put()
323 cancel_work_sync(&cifs_file->oplock_break); in cifsFileInfo_put()
325 if (!tcon->need_reconnect && !cifs_file->invalidHandle) { in cifsFileInfo_put()
329 rc = CIFSSMBClose(xid, tcon, cifs_file->netfid); in cifsFileInfo_put()
[all …]