Lines Matching refs:cinode
486 smb2_get_lease_state(struct cifsInodeInfo *cinode) in smb2_get_lease_state() argument
490 if (CIFS_CACHE_WRITE(cinode)) in smb2_get_lease_state()
492 if (CIFS_CACHE_HANDLE(cinode)) in smb2_get_lease_state()
494 if (CIFS_CACHE_READ(cinode)) in smb2_get_lease_state()
545 struct cifsInodeInfo *cinode; in smb2_tcon_has_lease() local
552 cinode = CIFS_I(d_inode(cfile->dentry)); in smb2_tcon_has_lease()
554 if (memcmp(cinode->lease_key, rsp->LeaseKey, in smb2_tcon_has_lease()
567 set_bit(CIFS_INODE_PENDING_OPLOCK_BREAK, &cinode->flags); in smb2_tcon_has_lease()
676 struct cifsInodeInfo *cinode; in smb2_is_valid_oplock_break() local
713 cinode = CIFS_I(d_inode(cfile->dentry)); in smb2_is_valid_oplock_break()
715 if (!CIFS_CACHE_WRITE(cinode) && in smb2_is_valid_oplock_break()
722 &cinode->flags); in smb2_is_valid_oplock_break()