Lines Matching refs:cifsi
384 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifsFileInfo_put_final() local
392 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() local
453 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()
506 cifs_done_oplock_break(cifsi); in _cifsFileInfo_put()
1835 cifs_update_eof(struct cifsInodeInfo *cifsi, loff_t offset, in cifs_update_eof() argument
1840 if (end_of_write > cifsi->server_eof) in cifs_update_eof()
1841 cifsi->server_eof = end_of_write; in cifs_update_eof()
1855 struct cifsInodeInfo *cifsi = CIFS_I(d_inode(dentry)); in cifs_write() local
1907 cifs_update_eof(cifsi, *offset, bytes_written); in cifs_write()
2770 struct cifsInodeInfo *cifsi = CIFS_I(inode); in cifs_uncached_writev_complete() local
2773 cifs_update_eof(cifsi, wdata->offset, wdata->bytes); in cifs_uncached_writev_complete()
2774 if (cifsi->server_eof > inode->i_size) in cifs_uncached_writev_complete()
2775 i_size_write(inode, cifsi->server_eof); in cifs_uncached_writev_complete()
4745 struct cifsInodeInfo *cifsi = CIFS_I(page->mapping->host); in cifs_invalidate_page() local
4748 cifs_fscache_invalidate_page(page, &cifsi->vfs_inode); in cifs_invalidate_page()