Lines Matching refs:dclose
678 struct cifs_deferred_close *dclose; in cifs_is_deferred_close() local
680 list_for_each_entry(dclose, &CIFS_I(d_inode(cfile->dentry))->deferred_closes, dlist) { in cifs_is_deferred_close()
681 if ((dclose->netfid == cfile->fid.netfid) && in cifs_is_deferred_close()
682 (dclose->persistent_fid == cfile->fid.persistent_fid) && in cifs_is_deferred_close()
683 (dclose->volatile_fid == cfile->fid.volatile_fid)) { in cifs_is_deferred_close()
684 *pdclose = dclose; in cifs_is_deferred_close()
695 cifs_add_deferred_close(struct cifsFileInfo *cfile, struct cifs_deferred_close *dclose) in cifs_add_deferred_close() argument
702 kfree(dclose); in cifs_add_deferred_close()
706 dclose->tlink = cfile->tlink; in cifs_add_deferred_close()
707 dclose->netfid = cfile->fid.netfid; in cifs_add_deferred_close()
708 dclose->persistent_fid = cfile->fid.persistent_fid; in cifs_add_deferred_close()
709 dclose->volatile_fid = cfile->fid.volatile_fid; in cifs_add_deferred_close()
710 list_add_tail(&dclose->dlist, &CIFS_I(d_inode(cfile->dentry))->deferred_closes); in cifs_add_deferred_close()
720 struct cifs_deferred_close *dclose; in cifs_del_deferred_close() local
722 is_deferred = cifs_is_deferred_close(cfile, &dclose); in cifs_del_deferred_close()
725 list_del(&dclose->dlist); in cifs_del_deferred_close()
726 kfree(dclose); in cifs_del_deferred_close()