Searched refs:dclose (Results 1 – 3 of 3) sorted by relevance
698 struct cifs_deferred_close *dclose; in cifs_is_deferred_close() local700 list_for_each_entry(dclose, &CIFS_I(d_inode(cfile->dentry))->deferred_closes, dlist) { in cifs_is_deferred_close()701 if ((dclose->netfid == cfile->fid.netfid) && in cifs_is_deferred_close()702 (dclose->persistent_fid == cfile->fid.persistent_fid) && in cifs_is_deferred_close()703 (dclose->volatile_fid == cfile->fid.volatile_fid)) { in cifs_is_deferred_close()704 *pdclose = dclose; in cifs_is_deferred_close()715 cifs_add_deferred_close(struct cifsFileInfo *cfile, struct cifs_deferred_close *dclose) in cifs_add_deferred_close() argument722 kfree(dclose); in cifs_add_deferred_close()726 dclose->tlink = cfile->tlink; in cifs_add_deferred_close()727 dclose->netfid = cfile->fid.netfid; in cifs_add_deferred_close()[all …]
284 struct cifs_deferred_close **dclose);287 struct cifs_deferred_close *dclose);
1155 smb2_can_defer_close(struct inode *inode, struct cifs_deferred_close *dclose) in smb2_can_defer_close() argument1160 return (cifs_sb->ctx->closetimeo && cinode->lease_granted && dclose && in smb2_can_defer_close()1172 struct cifs_deferred_close *dclose; in cifs_close() local1179 dclose = kmalloc(sizeof(struct cifs_deferred_close), GFP_KERNEL); in cifs_close()1181 (smb2_can_defer_close(inode, dclose))) { in cifs_close()1187 cifs_add_deferred_close(cfile, dclose); in cifs_close()1209 kfree(dclose); in cifs_close()