Home
last modified time | relevance | path

Searched refs:cifsi (Results 1 – 7 of 7) sorted by relevance

/fs/cifs/
Dfscache.c125 static void cifs_fscache_acquire_inode_cookie(struct cifsInodeInfo *cifsi, in cifs_fscache_acquire_inode_cookie() argument
131 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 …]
Dcache.c124 struct cifsInodeInfo *cifsi = cookie_netfs_data; in cifs_fscache_inode_check_aux() local
130 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()
Dfile.c383 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifsFileInfo_put_final() local
391 cifs_down_write(&cifsi->lock_sem); in cifsFileInfo_put_final()
399 up_write(&cifsi->lock_sem); in cifsFileInfo_put_final()
444 struct cifsInodeInfo *cifsi = CIFS_I(inode); in _cifsFileInfo_put() local
452 spin_lock(&cifsi->open_file_lock); in _cifsFileInfo_put()
456 spin_unlock(&cifsi->open_file_lock); in _cifsFileInfo_put()
473 if (list_empty(&cifsi->openFileList)) { in _cifsFileInfo_put()
482 set_bit(CIFS_INO_INVALID_MAPPING, &cifsi->flags); in _cifsFileInfo_put()
483 cifs_set_oplock_level(cifsi, 0); in _cifsFileInfo_put()
486 spin_unlock(&cifsi->open_file_lock); in _cifsFileInfo_put()
[all …]
Dsmb2ops.c1824 struct cifsInodeInfo *cifsi; in smb2_set_sparse() local
1827 cifsi = CIFS_I(inode); in smb2_set_sparse()
1830 if ((cifsi->cifsAttrs & FILE_ATTRIBUTE_SPARSE_FILE) && setsparse) in smb2_set_sparse()
1833 if (!(cifsi->cifsAttrs & FILE_ATTRIBUTE_SPARSE_FILE) && !setsparse) in smb2_set_sparse()
1860 cifsi->cifsAttrs |= FILE_ATTRIBUTE_SPARSE_FILE; in smb2_set_sparse()
1862 cifsi->cifsAttrs &= (~FILE_ATTRIBUTE_SPARSE_FILE); in smb2_set_sparse()
2969 struct cifsInodeInfo *cifsi; in smb3_zero_range() local
2979 cifsi = CIFS_I(inode); in smb3_zero_range()
2991 if (!CIFS_CACHE_READ(cifsi)) in smb3_zero_range()
3079 struct cifsInodeInfo *cifsi; in smb3_simple_falloc() local
[all …]
Dlink.c646 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifs_get_link() local
649 if (cifsi->cifsAttrs & ATTR_REPARSE) in cifs_get_link()
Dcifsfs.c1353 struct cifsInodeInfo *cifsi = inode; in cifs_init_once() local
1355 inode_init_once(&cifsi->vfs_inode); in cifs_init_once()
1356 init_rwsem(&cifsi->lock_sem); in cifs_init_once()
Dcifsproto.h134 extern void cifs_update_eof(struct cifsInodeInfo *cifsi, loff_t offset,