Home
last modified time | relevance | path

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

/linux-6.6.21/fs/smb/client/
Dinode.c84 struct cifsInodeInfo *cifs_i = CIFS_I(inode); in cifs_revalidate_cache()
152 struct cifsInodeInfo *cifs_i = CIFS_I(inode); in cifs_fattr_to_inode()
157 CIFS_I(inode)->time = 0; /* force reval */ in cifs_fattr_to_inode()
366 CIFS_I(*inode)->uniqueid != fattr->cf_uniqueid)) { in update_inode_info()
367 CIFS_I(*inode)->time = 0; /* force reval */ in update_inode_info()
917 CIFS_I(inode)->time = 0; in cifs_get_file_info()
927 fattr.cf_uniqueid = CIFS_I(inode)->uniqueid; in cifs_get_file_info()
1014 fattr->cf_uniqueid = CIFS_I(*inode)->uniqueid; in cifs_set_fattr_ino()
1032 fattr->cf_uniqueid = CIFS_I(*inode)->uniqueid; in cifs_set_fattr_ino()
1045 fattr->cf_uniqueid = CIFS_I(*inode)->uniqueid; in cifs_set_fattr_ino()
[all …]
Dxattr.c62 CIFS_I(inode)->cifsAttrs = attrib; in cifs_attrib_set()
86 CIFS_I(inode)->createtime = creation_time; in cifs_creation_time_set()
139 CIFS_I(inode)->time = 0; in cifs_xattr_set()
146 CIFS_I(inode)->time = 0; in cifs_xattr_set()
201 CIFS_I(inode)->time = 0; in cifs_xattr_set()
234 *pattribute = CIFS_I(inode)->cifsAttrs; in cifs_attrib_get()
256 *pcreatetime = CIFS_I(inode)->createtime; in cifs_creation_time_get()
Dfile.c455 struct cifsInodeInfo *cinode = CIFS_I(inode); in cifs_new_fileinfo()
552 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifsFileInfo_put_final()
619 struct cifsInodeInfo *cifsi = CIFS_I(inode); in _cifsFileInfo_put()
747 spin_lock(&CIFS_I(inode)->deferred_lock); in cifs_open()
749 spin_unlock(&CIFS_I(inode)->deferred_lock); in cifs_open()
862 struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry)); in cifs_relock_file()
1019 cinode = CIFS_I(inode); in cifs_reopen_file()
1066 spin_lock(&CIFS_I(d_inode(cfile->dentry))->deferred_lock); in smb2_deferred_work_close()
1069 spin_unlock(&CIFS_I(d_inode(cfile->dentry))->deferred_lock); in smb2_deferred_work_close()
1076 struct cifsInodeInfo *cinode = CIFS_I(inode); in cifs_close()
[all …]
Dcifsfs.c421 struct cifsInodeInfo *cinode = CIFS_I(inode); in cifs_free_inode()
1005 struct cifsInodeInfo *cinode = CIFS_I(inode); in cifs_file_write_iter()
1027 if (CIFS_CACHE_WRITE(CIFS_I(inode))) in cifs_file_write_iter()
1057 if (!CIFS_CACHE_READ(CIFS_I(inode)) && inode->i_mapping && in cifs_llseek()
1070 CIFS_I(inode)->time = 0; in cifs_llseek()
1100 ((arg == F_RDLCK) && CIFS_CACHE_READ(CIFS_I(inode))) || in cifs_setlease()
1101 ((arg == F_WRLCK) && CIFS_CACHE_WRITE(CIFS_I(inode)))) in cifs_setlease()
1104 !CIFS_CACHE_READ(CIFS_I(inode))) in cifs_setlease()
1178 if (likely(CIFS_I(inode)->symlink_target)) { in cifs_get_link()
1179 strscpy(target_path, CIFS_I(inode)->symlink_target, PATH_MAX); in cifs_get_link()
[all …]
Dmisc.c503 pCifsInode = CIFS_I(d_inode(netfile->dentry)); in is_valid_oplock_break()
698 list_for_each_entry(dclose, &CIFS_I(d_inode(cfile->dentry))->deferred_closes, dlist) { in cifs_is_deferred_close()
728 list_add_tail(&dclose->dlist, &CIFS_I(d_inode(cfile->dentry))->deferred_closes); in cifs_add_deferred_close()
795 spin_lock(&CIFS_I(d_inode(cfile->dentry))->deferred_lock); in cifs_close_all_deferred_files()
797 spin_unlock(&CIFS_I(d_inode(cfile->dentry))->deferred_lock); in cifs_close_all_deferred_files()
832 spin_lock(&CIFS_I(d_inode(cfile->dentry))->deferred_lock); in cifs_close_deferred_file_under_dentry()
834 spin_unlock(&CIFS_I(d_inode(cfile->dentry))->deferred_lock); in cifs_close_deferred_file_under_dentry()
Dfscache.c100 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifs_fscache_get_inode_cookie()
130 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifs_fscache_release_inode_cookie()
Dfscache.h65 return netfs_i_cookie(&CIFS_I(inode)->netfs); in cifs_inode_cookie()
Dsmb2file.c196 struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry)); in smb2_unlock_range()
339 struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry)); in smb2_push_mandatory_locks()
Dreaddir.c105 fattr->cf_uniqueid = CIFS_I(inode)->uniqueid; in cifs_prime_dcache()
109 if (CIFS_I(inode)->uniqueid == fattr->cf_uniqueid && in cifs_prime_dcache()
677 struct cifsInodeInfo *cifsInfo = CIFS_I(inode); in is_dir_changed()
Dsmb2misc.c552 cinode = CIFS_I(d_inode(cfile->dentry)); in smb2_tcon_has_lease()
713 cinode = CIFS_I(d_inode(cfile->dentry)); in smb2_is_valid_oplock_break()
Ddir.c727 if ((flags & LOOKUP_REVAL) && !CIFS_CACHE_READ(CIFS_I(inode)))
728 CIFS_I(inode)->time = 0; /* force reval */
Dsmb1ops.c714 cifsInode = CIFS_I(inode); in cifs_mkdir_setinfo()
750 struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry)); in cifs_set_fid()
799 struct cifsInodeInfo *cinode = CIFS_I(inode); in smb_set_file_info()
Dsmb2inode.c43 ci = CIFS_I(d_inode(dentry)); in file_create_options()
765 cifs_i = CIFS_I(inode); in smb2_mkdir_setinfo()
Dsmb2ops.c1380 struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry)); in smb2_set_fid()
1418 CIFS_I(inode)->time = jiffies; in smb2_close_getattr()
1891 cifsi = CIFS_I(inode); in smb2_set_sparse()
2764 memcpy(fid->lease_key, CIFS_I(inode)->lease_key, SMB2_LEASE_KEY_SIZE); in smb2_get_lease_key()
2770 memcpy(CIFS_I(inode)->lease_key, fid->lease_key, SMB2_LEASE_KEY_SIZE); in smb2_set_lease_key()
3298 open_file = find_readable_file(CIFS_I(inode), true); in get_smb2_acl()
3330 struct cifsInodeInfo *cifsi = CIFS_I(inode); in smb3_zero_range()
3565 cifsi = CIFS_I(inode); in smb3_simple_falloc()
3686 struct cifsInodeInfo *cifsi = CIFS_I(inode); in smb3_collapse_range()
3800 cifsi = CIFS_I(inode); in smb3_llseek()
Dioctl.c370 if (CIFS_I(inode)->cifsAttrs & ATTR_COMPRESSED) { in cifs_ioctl()
Dlink.c538 cifsInode = CIFS_I(d_inode(old_file));
Dcifsglob.h1568 CIFS_I(struct inode *inode) in CIFS_I() function
Dcifsacl.c1465 open_file = find_readable_file(CIFS_I(inode), true); in get_cifs_acl()