Home
last modified time | relevance | path

Searched refs:dclose (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/fs/smb/client/
Dmisc.c701 struct cifs_deferred_close *dclose; in cifs_is_deferred_close() local
703 list_for_each_entry(dclose, &CIFS_I(d_inode(cfile->dentry))->deferred_closes, dlist) { in cifs_is_deferred_close()
704 if ((dclose->netfid == cfile->fid.netfid) && in cifs_is_deferred_close()
705 (dclose->persistent_fid == cfile->fid.persistent_fid) && in cifs_is_deferred_close()
706 (dclose->volatile_fid == cfile->fid.volatile_fid)) { in cifs_is_deferred_close()
707 *pdclose = dclose; in cifs_is_deferred_close()
718 cifs_add_deferred_close(struct cifsFileInfo *cfile, struct cifs_deferred_close *dclose) in cifs_add_deferred_close() argument
725 kfree(dclose); in cifs_add_deferred_close()
729 dclose->tlink = cfile->tlink; in cifs_add_deferred_close()
730 dclose->netfid = cfile->fid.netfid; in cifs_add_deferred_close()
[all …]
Dfile.c1340 smb2_can_defer_close(struct inode *inode, struct cifs_deferred_close *dclose) in smb2_can_defer_close() argument
1345 return (cifs_sb->ctx->closetimeo && cinode->lease_granted && dclose && in smb2_can_defer_close()
1357 struct cifs_deferred_close *dclose; in cifs_close() local
1364 dclose = kmalloc(sizeof(struct cifs_deferred_close), GFP_KERNEL); in cifs_close()
1366 (smb2_can_defer_close(inode, dclose))) { in cifs_close()
1372 cifs_add_deferred_close(cfile, dclose); in cifs_close()
1394 kfree(dclose); in cifs_close()
Dcifsproto.h282 struct cifs_deferred_close **dclose);
285 struct cifs_deferred_close *dclose);