Searched refs:cifsi (Results 1 – 7 of 7) sorted by relevance
138 static void cifs_fscache_acquire_inode_cookie(struct cifsInodeInfo *cifsi, in cifs_fscache_acquire_inode_cookie() argument144 auxdata.eof = cifsi->server_eof; in cifs_fscache_acquire_inode_cookie()145 auxdata.last_write_time_sec = cifsi->vfs_inode.i_mtime.tv_sec; in cifs_fscache_acquire_inode_cookie()146 auxdata.last_change_time_sec = cifsi->vfs_inode.i_ctime.tv_sec; in cifs_fscache_acquire_inode_cookie()147 auxdata.last_write_time_nsec = cifsi->vfs_inode.i_mtime.tv_nsec; in cifs_fscache_acquire_inode_cookie()148 auxdata.last_change_time_nsec = cifsi->vfs_inode.i_ctime.tv_nsec; in cifs_fscache_acquire_inode_cookie()150 cifsi->fscache = in cifs_fscache_acquire_inode_cookie()153 &cifsi->uniqueid, sizeof(cifsi->uniqueid), in cifs_fscache_acquire_inode_cookie()155 cifsi, cifsi->vfs_inode.i_size, true); in cifs_fscache_acquire_inode_cookie()160 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifs_fscache_enable_inode_cookie() local[all …]
119 struct cifsInodeInfo *cifsi = cookie_netfs_data; in cifs_fscache_inode_check_aux() local125 auxdata.eof = cifsi->server_eof; in cifs_fscache_inode_check_aux()126 auxdata.last_write_time_sec = cifsi->vfs_inode.i_mtime.tv_sec; in cifs_fscache_inode_check_aux()127 auxdata.last_change_time_sec = cifsi->vfs_inode.i_ctime.tv_sec; in cifs_fscache_inode_check_aux()128 auxdata.last_write_time_nsec = cifsi->vfs_inode.i_mtime.tv_nsec; in cifs_fscache_inode_check_aux()129 auxdata.last_change_time_nsec = cifsi->vfs_inode.i_ctime.tv_nsec; in cifs_fscache_inode_check_aux()
384 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifsFileInfo_put_final() local392 cifs_down_write(&cifsi->lock_sem); in cifsFileInfo_put_final()400 up_write(&cifsi->lock_sem); in cifsFileInfo_put_final()445 struct cifsInodeInfo *cifsi = CIFS_I(inode); in _cifsFileInfo_put() local453 spin_lock(&cifsi->open_file_lock); in _cifsFileInfo_put()457 spin_unlock(&cifsi->open_file_lock); in _cifsFileInfo_put()474 if (list_empty(&cifsi->openFileList)) { in _cifsFileInfo_put()483 set_bit(CIFS_INO_INVALID_MAPPING, &cifsi->flags); in _cifsFileInfo_put()484 cifs_set_oplock_level(cifsi, 0); in _cifsFileInfo_put()487 spin_unlock(&cifsi->open_file_lock); in _cifsFileInfo_put()[all …]
1927 struct cifsInodeInfo *cifsi; in smb2_set_sparse() local1930 cifsi = CIFS_I(inode); in smb2_set_sparse()1933 if ((cifsi->cifsAttrs & FILE_ATTRIBUTE_SPARSE_FILE) && setsparse) in smb2_set_sparse()1936 if (!(cifsi->cifsAttrs & FILE_ATTRIBUTE_SPARSE_FILE) && !setsparse) in smb2_set_sparse()1962 cifsi->cifsAttrs |= FILE_ATTRIBUTE_SPARSE_FILE; in smb2_set_sparse()1964 cifsi->cifsAttrs &= (~FILE_ATTRIBUTE_SPARSE_FILE); in smb2_set_sparse()3370 struct cifsInodeInfo *cifsi; in smb3_zero_range() local3380 cifsi = CIFS_I(inode); in smb3_zero_range()3392 if (!CIFS_CACHE_READ(cifsi)) in smb3_zero_range()3601 struct cifsInodeInfo *cifsi; in smb3_simple_falloc() local[all …]
646 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifs_get_link() local649 if (cifsi->cifsAttrs & ATTR_REPARSE) in cifs_get_link()
1374 struct cifsInodeInfo *cifsi = inode; in cifs_init_once() local1376 inode_init_once(&cifsi->vfs_inode); in cifs_init_once()1377 init_rwsem(&cifsi->lock_sem); in cifs_init_once()
139 extern void cifs_update_eof(struct cifsInodeInfo *cifsi, loff_t offset,