Searched refs:cifsi (Results 1 – 7 of 7) sorted by relevance
125 static void cifs_fscache_acquire_inode_cookie(struct cifsInodeInfo *cifsi, in cifs_fscache_acquire_inode_cookie() argument131 auxdata.eof = cifsi->server_eof; in cifs_fscache_acquire_inode_cookie()132 auxdata.last_write_time_sec = cifsi->vfs_inode.i_mtime.tv_sec; in cifs_fscache_acquire_inode_cookie()133 auxdata.last_change_time_sec = cifsi->vfs_inode.i_ctime.tv_sec; in cifs_fscache_acquire_inode_cookie()134 auxdata.last_write_time_nsec = cifsi->vfs_inode.i_mtime.tv_nsec; in cifs_fscache_acquire_inode_cookie()135 auxdata.last_change_time_nsec = cifsi->vfs_inode.i_ctime.tv_nsec; in cifs_fscache_acquire_inode_cookie()137 cifsi->fscache = in cifs_fscache_acquire_inode_cookie()140 &cifsi->uniqueid, sizeof(cifsi->uniqueid), in cifs_fscache_acquire_inode_cookie()142 cifsi, cifsi->vfs_inode.i_size, true); in cifs_fscache_acquire_inode_cookie()147 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifs_fscache_enable_inode_cookie() local[all …]
124 struct cifsInodeInfo *cifsi = cookie_netfs_data; in cifs_fscache_inode_check_aux() local130 auxdata.eof = cifsi->server_eof; in cifs_fscache_inode_check_aux()131 auxdata.last_write_time_sec = cifsi->vfs_inode.i_mtime.tv_sec; in cifs_fscache_inode_check_aux()132 auxdata.last_change_time_sec = cifsi->vfs_inode.i_ctime.tv_sec; in cifs_fscache_inode_check_aux()133 auxdata.last_write_time_nsec = cifsi->vfs_inode.i_mtime.tv_nsec; in cifs_fscache_inode_check_aux()134 auxdata.last_change_time_nsec = cifsi->vfs_inode.i_ctime.tv_nsec; in cifs_fscache_inode_check_aux()
406 struct cifsInodeInfo *cifsi = CIFS_I(inode); in _cifsFileInfo_put() local415 spin_lock(&cifsi->open_file_lock); in _cifsFileInfo_put()419 spin_unlock(&cifsi->open_file_lock); in _cifsFileInfo_put()436 if (list_empty(&cifsi->openFileList)) { in _cifsFileInfo_put()445 set_bit(CIFS_INO_INVALID_MAPPING, &cifsi->flags); in _cifsFileInfo_put()446 cifs_set_oplock_level(cifsi, 0); in _cifsFileInfo_put()449 spin_unlock(&cifsi->open_file_lock); in _cifsFileInfo_put()466 cifs_done_oplock_break(cifsi); in _cifsFileInfo_put()474 cifs_down_write(&cifsi->lock_sem); in _cifsFileInfo_put()482 up_write(&cifsi->lock_sem); in _cifsFileInfo_put()[all …]
1759 struct cifsInodeInfo *cifsi; in smb2_set_sparse() local1762 cifsi = CIFS_I(inode); in smb2_set_sparse()1765 if ((cifsi->cifsAttrs & FILE_ATTRIBUTE_SPARSE_FILE) && setsparse) in smb2_set_sparse()1768 if (!(cifsi->cifsAttrs & FILE_ATTRIBUTE_SPARSE_FILE) && !setsparse) in smb2_set_sparse()1795 cifsi->cifsAttrs |= FILE_ATTRIBUTE_SPARSE_FILE; in smb2_set_sparse()1797 cifsi->cifsAttrs &= (~FILE_ATTRIBUTE_SPARSE_FILE); in smb2_set_sparse()2919 struct cifsInodeInfo *cifsi; in smb3_zero_range() local2929 cifsi = CIFS_I(inode); in smb3_zero_range()2936 if (!CIFS_CACHE_READ(cifsi)) in smb3_zero_range()3018 struct cifsInodeInfo *cifsi; in smb3_simple_falloc() local[all …]
652 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifs_get_link() local655 if (cifsi->cifsAttrs & ATTR_REPARSE) in cifs_get_link()
1341 struct cifsInodeInfo *cifsi = inode; in cifs_init_once() local1343 inode_init_once(&cifsi->vfs_inode); in cifs_init_once()1344 init_rwsem(&cifsi->lock_sem); in cifs_init_once()
134 extern void cifs_update_eof(struct cifsInodeInfo *cifsi, loff_t offset,