Searched refs:cifsi (Results 1 – 5 of 5) sorted by relevance
131 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifs_fscache_get_inode_cookie() local135 key.uniqueid = cpu_to_le64(cifsi->uniqueid); in cifs_fscache_get_inode_cookie()136 key.createtime = cpu_to_le64(cifsi->createtime); in cifs_fscache_get_inode_cookie()138 cifs_fscache_fill_coherency(&cifsi->netfs.inode, &cd); in cifs_fscache_get_inode_cookie()140 cifsi->netfs.cache = in cifs_fscache_get_inode_cookie()144 i_size_read(&cifsi->netfs.inode)); in cifs_fscache_get_inode_cookie()145 if (cifsi->netfs.cache) in cifs_fscache_get_inode_cookie()164 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifs_fscache_release_inode_cookie() local170 cifsi->netfs.cache = NULL; in cifs_fscache_release_inode_cookie()
1972 struct cifsInodeInfo *cifsi; in smb2_set_sparse() local1975 cifsi = CIFS_I(inode); in smb2_set_sparse()3305 if (offset < cifsi->netfs.zero_point) in smb3_zero_range()3306 cifsi->netfs.zero_point = offset; in smb3_zero_range()3515 struct cifsInodeInfo *cifsi; in smb3_simple_falloc() local3524 cifsi = CIFS_I(inode); in smb3_simple_falloc()3529 if (!CIFS_CACHE_READ(cifsi)) in smb3_simple_falloc()3646 struct netfs_inode *ictx = &cifsi->netfs; in smb3_collapse_range()3734 cifsi->netfs.zero_point = new_eof; in smb3_insert_range()3752 struct cifsInodeInfo *cifsi; in smb3_llseek() local[all …]
753 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifsFileInfo_put_final() local761 cifs_down_write(&cifsi->lock_sem); in cifsFileInfo_put_final()769 up_write(&cifsi->lock_sem); in cifsFileInfo_put_final()854 struct cifsInodeInfo *cifsi = CIFS_I(inode); in _cifsFileInfo_put() local863 spin_lock(&cifsi->open_file_lock); in _cifsFileInfo_put()869 spin_unlock(&cifsi->open_file_lock); in _cifsFileInfo_put()886 if (list_empty(&cifsi->openFileList)) { in _cifsFileInfo_put()895 set_bit(CIFS_INO_INVALID_MAPPING, &cifsi->flags); in _cifsFileInfo_put()896 cifs_set_oplock_level(cifsi, 0); in _cifsFileInfo_put()899 spin_unlock(&cifsi->open_file_lock); in _cifsFileInfo_put()[all …]
1611 struct cifsInodeInfo *cifsi = inode; in cifs_init_once() local1613 inode_init_once(&cifsi->netfs.inode); in cifs_init_once()1614 init_rwsem(&cifsi->lock_sem); in cifs_init_once()
149 extern void cifs_update_eof(struct cifsInodeInfo *cifsi, loff_t offset,