Home
last modified time | relevance | path

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

/linux/fs/smb/client/
H A Dfscache.c127 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifs_fscache_get_inode_cookie() local
131 key.uniqueid = cpu_to_le64(cifsi->uniqueid); in cifs_fscache_get_inode_cookie()
132 key.createtime = cpu_to_le64(cifsi->createtime); in cifs_fscache_get_inode_cookie()
134 cifs_fscache_fill_coherency(&cifsi->netfs.inode, &cd); in cifs_fscache_get_inode_cookie()
136 cifsi->netfs.cache = in cifs_fscache_get_inode_cookie()
140 i_size_read(&cifsi->netfs.inode)); in cifs_fscache_get_inode_cookie()
141 if (cifsi->netfs.cache) in cifs_fscache_get_inode_cookie()
160 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifs_fscache_release_inode_cookie() local
166 cifsi->netfs.cache = NULL; in cifs_fscache_release_inode_cookie()
H A Dsmb2ops.c2210 struct cifsInodeInfo *cifsi; in smb2_set_sparse()
2213 cifsi = CIFS_I(inode); in smb2_set_sparse()
2216 if ((cifsi->cifsAttrs & FILE_ATTRIBUTE_SPARSE_FILE) && setsparse) in smb2_set_sparse()
2219 if (!(cifsi->cifsAttrs & FILE_ATTRIBUTE_SPARSE_FILE) && !setsparse) in smb2_set_sparse()
2245 cifsi->cifsAttrs |= FILE_ATTRIBUTE_SPARSE_FILE; in smb2_set_sparse()
2247 cifsi->cifsAttrs &= (~FILE_ATTRIBUTE_SPARSE_FILE); in smb2_set_sparse()
3545 struct cifsInodeInfo *cifsi = CIFS_I(inode); in smb3_zero_range()
3582 if (!keep_size && !CIFS_CACHE_READ(cifsi)) { in smb3_zero_range()
3609 netfs_resize_file(&cifsi->netfs, new_size, true); in smb3_zero_range()
3610 if (offset < cifsi in smb3_zero_range()
2211 struct cifsInodeInfo *cifsi; smb2_set_sparse() local
3546 struct cifsInodeInfo *cifsi = CIFS_I(inode); smb3_zero_range() local
3875 struct cifsInodeInfo *cifsi; smb3_simple_falloc() local
4100 struct cifsInodeInfo *cifsi = CIFS_I(inode); smb3_collapse_range() local
4165 struct cifsInodeInfo *cifsi = CIFS_I(inode); smb3_insert_range() local
4241 struct cifsInodeInfo *cifsi; smb3_llseek() local
[all...]
H A Dfile.c777 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifsFileInfo_put_final()
784 cifs_down_write(&cifsi->lock_sem); in cifsFileInfo_put_final()
792 up_write(&cifsi->lock_sem); in cifsFileInfo_put_final()
876 struct cifsInodeInfo *cifsi = CIFS_I(inode); in _cifsFileInfo_put()
885 spin_lock(&cifsi->open_file_lock); in _cifsFileInfo_put()
891 spin_unlock(&cifsi->open_file_lock); in _cifsFileInfo_put()
908 if (list_empty(&cifsi->openFileList)) { in _cifsFileInfo_put()
917 set_bit(CIFS_INO_INVALID_MAPPING, &cifsi->flags); in _cifsFileInfo_put()
918 cifs_set_oplock_level(cifsi, 0); in _cifsFileInfo_put()
926 smp_store_release(&cifsi in _cifsFileInfo_put()
774 struct cifsInodeInfo *cifsi = CIFS_I(inode); cifsFileInfo_put_final() local
873 struct cifsInodeInfo *cifsi = CIFS_I(inode); _cifsFileInfo_put() local
[all...]
H A Dcifsfs.c1821 struct cifsInodeInfo *cifsi = inode; in cifs_init_once()
1823 inode_init_once(&cifsi->netfs.inode); in cifs_init_once() local
1824 init_rwsem(&cifsi->lock_sem); in cifs_init_once()