Home
last modified time | relevance | path

Searched refs:CIFS_I (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.4/fs/cifs/
Dfscache.c147 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifs_fscache_enable_inode_cookie()
166 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifs_fscache_release_inode_cookie()
184 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifs_fscache_disable_inode_cookie()
204 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifs_fscache_reset_inode_cookie()
223 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifs_fscache_release_page()
251 __func__, CIFS_I(inode)->fscache, page, inode); in __cifs_readpage_from_fscache()
252 ret = fscache_read_or_alloc_page(CIFS_I(inode)->fscache, page, in __cifs_readpage_from_fscache()
283 __func__, CIFS_I(inode)->fscache, *nr_pages, inode); in __cifs_readpages_from_fscache()
284 ret = fscache_read_or_alloc_pages(CIFS_I(inode)->fscache, mapping, in __cifs_readpages_from_fscache()
308 struct cifsInodeInfo *cifsi = CIFS_I(inode); in __cifs_readpage_to_fscache()
[all …]
Dinode.c97 struct cifsInodeInfo *cifs_i = CIFS_I(inode);
159 struct cifsInodeInfo *cifs_i = CIFS_I(inode);
416 CIFS_I(*pinode)->uniqueid != fattr.cf_uniqueid)) {
417 CIFS_I(*pinode)->time = 0; /* force reval */
425 CIFS_I(*pinode)->time = 0; /* force reval */
701 CIFS_I(inode)->time = 0;
710 fattr.cf_uniqueid = CIFS_I(inode)->uniqueid;
756 if (CIFS_CACHE_READ(CIFS_I(*inode)) &&
757 CIFS_I(*inode)->time != 0) {
874 fattr.cf_uniqueid = CIFS_I(*inode)->uniqueid;
[all …]
Dfscache.h86 if (CIFS_I(inode)->fscache) in cifs_readpage_from_fscache()
97 if (CIFS_I(inode)->fscache) in cifs_readpages_from_fscache()
113 if (CIFS_I(inode)->fscache) in cifs_fscache_readpages_cancel()
Dxattr.c116 CIFS_I(inode)->time = 0; in cifs_xattr_set()
173 *pattribute = CIFS_I(inode)->cifsAttrs; in cifs_attrib_get()
195 *pcreatetime = CIFS_I(inode)->createtime; in cifs_creation_time_get()
Dcifsfs.c359 kmem_cache_free(cifs_inode_cachep, CIFS_I(inode)); in cifs_free_inode()
897 struct cifsInodeInfo *cinode = CIFS_I(inode); in cifs_file_write_iter()
919 if (CIFS_CACHE_WRITE(CIFS_I(inode))) in cifs_file_write_iter()
949 if (!CIFS_CACHE_READ(CIFS_I(inode)) && inode->i_mapping && in cifs_llseek()
962 CIFS_I(inode)->time = 0; in cifs_llseek()
992 ((arg == F_RDLCK) && CIFS_CACHE_READ(CIFS_I(inode))) || in cifs_setlease()
993 ((arg == F_WRLCK) && CIFS_CACHE_WRITE(CIFS_I(inode)))) in cifs_setlease()
996 !CIFS_CACHE_READ(CIFS_I(inode))) in cifs_setlease()
1111 CIFS_I(target_inode)->time = 0; in cifs_remap_file_range()
1177 CIFS_I(target_inode)->time = 0; in cifs_file_copychunk_range()
Dfile.c297 struct cifsInodeInfo *cinode = CIFS_I(inode); in cifs_new_fileinfo()
406 struct cifsInodeInfo *cifsi = CIFS_I(inode); in _cifsFileInfo_put()
627 struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry)); in cifs_relock_file()
768 cinode = CIFS_I(inode); in cifs_reopen_file()
981 struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry)); in cifs_find_lock_conflict()
1007 struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry)); in cifs_lock_test()
1036 struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry)); in cifs_lock_add()
1053 struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry)); in cifs_lock_add_if()
1101 struct cifsInodeInfo *cinode = CIFS_I(file_inode(file)); in cifs_posix_lock_test()
1128 struct cifsInodeInfo *cinode = CIFS_I(file_inode(file)); in cifs_posix_lock_set()
[all …]
Dsmb2file.c124 struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry)); in smb2_unlock_range()
262 struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry)); in smb2_push_mandatory_locks()
Dreaddir.c115 fattr->cf_uniqueid = CIFS_I(inode)->uniqueid; in cifs_prime_dcache()
119 if (CIFS_I(inode)->uniqueid == fattr->cf_uniqueid && in cifs_prime_dcache()
539 struct cifsInodeInfo *cifsInfo = CIFS_I(inode); in is_dir_changed()
Dlink.c568 cifsInode = CIFS_I(d_inode(old_file)); in cifs_hardlink()
652 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifs_get_link()
Dsmb2misc.c529 cinode = CIFS_I(d_inode(cfile->dentry)); in smb2_tcon_has_lease()
691 cinode = CIFS_I(d_inode(cfile->dentry)); in smb2_is_valid_oplock_break()
Dioctl.c199 if (CIFS_I(inode)->cifsAttrs & ATTR_COMPRESSED) { in cifs_ioctl()
Ddir.c748 if ((flags & LOOKUP_REVAL) && !CIFS_CACHE_READ(CIFS_I(inode))) in cifs_d_revalidate()
749 CIFS_I(inode)->time = 0; /* force reval */ in cifs_d_revalidate()
Dsmb1ops.c688 cifsInode = CIFS_I(inode); in cifs_mkdir_setinfo()
715 struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry)); in cifs_set_fid()
764 struct cifsInodeInfo *cinode = CIFS_I(inode); in smb_set_file_info()
Dsmb2ops.c1309 struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry)); in smb2_set_fid()
1762 cifsi = CIFS_I(inode); in smb2_set_sparse()
2360 memcpy(fid->lease_key, CIFS_I(inode)->lease_key, SMB2_LEASE_KEY_SIZE); in smb2_get_lease_key()
2366 memcpy(CIFS_I(inode)->lease_key, fid->lease_key, SMB2_LEASE_KEY_SIZE); in smb2_set_lease_key()
2905 open_file = find_readable_file(CIFS_I(inode), true); in get_smb2_acl()
2929 cifsi = CIFS_I(inode); in smb3_zero_range()
3027 cifsi = CIFS_I(inode); in smb3_simple_falloc()
3120 cifsi = CIFS_I(inode); in smb3_llseek()
Dsmb2inode.c525 cifs_i = CIFS_I(inode); in smb2_mkdir_setinfo()
Dmisc.c486 pCifsInode = CIFS_I(d_inode(netfile->dentry)); in is_valid_oplock_break()
Dcifsacl.c1107 open_file = find_readable_file(CIFS_I(inode), true); in get_cifs_acl()
Dcifsglob.h1427 CIFS_I(struct inode *inode) in CIFS_I() function
Dcifssmb.c2115 rc = cifs_get_writable_file(CIFS_I(inode), false, in cifs_writev_requeue()
2171 cifs_update_eof(CIFS_I(inode), wdata->offset, wdata->bytes); in cifs_writev_complete()