Home
last modified time | relevance | path

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

/fs/afs/
Dwrite.c20 static int afs_write_back_from_locked_page(struct afs_writeback *wb,
36 static void afs_unlink_writeback(struct afs_writeback *wb) in afs_unlink_writeback() argument
39 struct afs_vnode *vnode = wb->vnode; in afs_unlink_writeback()
41 list_del_init(&wb->link); in afs_unlink_writeback()
58 static void afs_free_writeback(struct afs_writeback *wb) in afs_free_writeback() argument
61 key_put(wb->key); in afs_free_writeback()
62 kfree(wb); in afs_free_writeback()
68 void afs_put_writeback(struct afs_writeback *wb) in afs_put_writeback() argument
70 struct afs_vnode *vnode = wb->vnode; in afs_put_writeback()
72 _enter("{%d}", wb->usage); in afs_put_writeback()
[all …]
Dfile.c317 struct afs_writeback *wb = (struct afs_writeback *) page_private(page); in afs_invalidatepage() local
334 if (wb && !PageWriteback(page)) { in afs_invalidatepage()
336 afs_put_writeback(wb); in afs_invalidatepage()
353 struct afs_writeback *wb = (struct afs_writeback *) page_private(page); in afs_releasepage() local
370 if (wb) { in afs_releasepage()
372 afs_put_writeback(wb); in afs_releasepage()
Dfsclient.c1156 struct afs_writeback *wb, in afs_fs_store_data64() argument
1162 struct afs_vnode *vnode = wb->vnode; in afs_fs_store_data64()
1167 key_serial(wb->key), vnode->fid.vid, vnode->fid.vnode); in afs_fs_store_data64()
1175 call->wb = wb; in afs_fs_store_data64()
1176 call->key = wb->key; in afs_fs_store_data64()
1215 int afs_fs_store_data(struct afs_server *server, struct afs_writeback *wb, in afs_fs_store_data() argument
1220 struct afs_vnode *vnode = wb->vnode; in afs_fs_store_data()
1226 key_serial(wb->key), vnode->fid.vid, vnode->fid.vnode); in afs_fs_store_data()
1243 return afs_fs_store_data64(server, wb, first, last, offset, to, in afs_fs_store_data()
1252 call->wb = wb; in afs_fs_store_data()
[all …]
Dvnode.c769 int afs_vnode_store_data(struct afs_writeback *wb, pgoff_t first, pgoff_t last, in afs_vnode_store_data() argument
773 struct afs_vnode *vnode = wb->vnode; in afs_vnode_store_data()
781 key_serial(wb->key), in afs_vnode_store_data()
797 ret = afs_fs_store_data(server, wb, first, last, offset, to, in afs_vnode_store_data()
Dinternal.h86 struct afs_writeback *wb; /* writeback being performed */ member
/fs/
Dfs-writeback.c100 mod_delayed_work(bdi_wq, &bdi->wb.dwork, 0); in bdi_queue_work()
116 mod_delayed_work(bdi_wq, &bdi->wb.dwork, 0); in __bdi_start_writeback()
163 mod_delayed_work(bdi_wq, &bdi->wb.dwork, 0); in bdi_start_background_writeback()
173 spin_lock(&bdi->wb.list_lock); in inode_wb_list_del()
175 spin_unlock(&bdi->wb.list_lock); in inode_wb_list_del()
187 static void redirty_tail(struct inode *inode, struct bdi_writeback *wb) in redirty_tail() argument
189 assert_spin_locked(&wb->list_lock); in redirty_tail()
190 if (!list_empty(&wb->b_dirty)) { in redirty_tail()
193 tail = wb_inode(wb->b_dirty.next); in redirty_tail()
197 list_move(&inode->i_wb_list, &wb->b_dirty); in redirty_tail()
[all …]
Dblock_dev.c64 bdi_lock_two(&old->wb, &dst->wb); in bdev_inode_switch_bdi()
68 list_move(&inode->i_wb_list, &dst->wb.b_dirty); in bdev_inode_switch_bdi()
70 spin_unlock(&old->wb.list_lock); in bdev_inode_switch_bdi()
71 spin_unlock(&dst->wb.list_lock); in bdev_inode_switch_bdi()