Home
last modified time | relevance | path

Searched refs:tree_lock (Results 1 – 20 of 20) sorted by relevance

/fs/btrfs/
Dfree-space-cache.c651 spin_lock(&ctl->tree_lock); in merge_space_tree()
665 spin_unlock(&ctl->tree_lock); in merge_space_tree()
671 spin_unlock(&ctl->tree_lock); in merge_space_tree()
775 spin_lock(&ctl->tree_lock); in __load_free_space_cache()
777 spin_unlock(&ctl->tree_lock); in __load_free_space_cache()
794 spin_lock(&ctl->tree_lock); in __load_free_space_cache()
798 spin_unlock(&ctl->tree_lock); in __load_free_space_cache()
885 spin_lock(&ctl->tree_lock); in load_free_space_cache()
888 spin_unlock(&ctl->tree_lock); in load_free_space_cache()
1280 spin_lock(&ctl->tree_lock); in __btrfs_write_out_cache()
[all …]
Dinode-map.c250 spinlock_t *rbroot_lock = &root->free_ino_pinned->tree_lock; in btrfs_unpin_free_ino()
370 spin_lock_init(&ctl->tree_lock); in btrfs_init_free_ino_ctl()
385 spin_lock_init(&pinned->tree_lock); in btrfs_init_free_ino_ctl()
483 spin_lock(&ctl->tree_lock); in btrfs_save_ino_cache()
487 spin_unlock(&ctl->tree_lock); in btrfs_save_ino_cache()
Dfree-space-cache.h32 spinlock_t tree_lock; member
Dextent_io.c5230 spin_lock_irq(&page->mapping->tree_lock); in clear_extent_buffer_dirty()
5236 spin_unlock_irq(&page->mapping->tree_lock); in clear_extent_buffer_dirty()
Dextent-tree.c7335 spin_lock(&block_group->free_space_ctl->tree_lock); in find_free_extent()
7343 spin_unlock(&block_group->free_space_ctl->tree_lock); in find_free_extent()
7346 spin_unlock(&block_group->free_space_ctl->tree_lock); in find_free_extent()
/fs/nilfs2/
Dbtnode.c201 spin_lock_irq(&btnc->tree_lock); in nilfs_btnode_prepare_change_key()
203 spin_unlock_irq(&btnc->tree_lock); in nilfs_btnode_prepare_change_key()
259 spin_lock_irq(&btnc->tree_lock); in nilfs_btnode_commit_change_key()
263 spin_unlock_irq(&btnc->tree_lock); in nilfs_btnode_commit_change_key()
291 spin_lock_irq(&btnc->tree_lock); in nilfs_btnode_abort_change_key()
293 spin_unlock_irq(&btnc->tree_lock); in nilfs_btnode_abort_change_key()
Dpage.c341 spin_lock_irq(&smap->tree_lock); in nilfs_copy_back_pages()
346 spin_unlock_irq(&smap->tree_lock); in nilfs_copy_back_pages()
348 spin_lock_irq(&dmap->tree_lock); in nilfs_copy_back_pages()
362 spin_unlock_irq(&dmap->tree_lock); in nilfs_copy_back_pages()
485 spin_lock_irq(&mapping->tree_lock); in __nilfs_clear_page_dirty()
490 spin_unlock_irq(&mapping->tree_lock); in __nilfs_clear_page_dirty()
493 spin_unlock_irq(&mapping->tree_lock); in __nilfs_clear_page_dirty()
/fs/hfs/
Dbfind.c29 mutex_lock_nested(&tree->tree_lock, CATALOG_BTREE_MUTEX); in hfs_find_init()
32 mutex_lock_nested(&tree->tree_lock, EXTENTS_BTREE_MUTEX); in hfs_find_init()
35 mutex_lock_nested(&tree->tree_lock, ATTR_BTREE_MUTEX); in hfs_find_init()
49 mutex_unlock(&fd->tree->tree_lock); in hfs_find_exit()
Dbtree.h43 struct mutex tree_lock; member
Dbtree.c30 mutex_init(&tree->tree_lock); in hfs_btree_open()
/fs/hfsplus/
Dbfind.c29 mutex_lock_nested(&tree->tree_lock, CATALOG_BTREE_MUTEX); in hfs_find_init()
32 mutex_lock_nested(&tree->tree_lock, EXTENTS_BTREE_MUTEX); in hfs_find_init()
35 mutex_lock_nested(&tree->tree_lock, ATTR_BTREE_MUTEX); in hfs_find_init()
49 mutex_unlock(&fd->tree->tree_lock); in hfs_find_exit()
Dbtree.c145 mutex_init(&tree->tree_lock); in hfs_btree_open()
Dhfsplus_fs.h92 struct mutex tree_lock; member
/fs/
Dfs-writeback.c383 spin_lock_irq(&mapping->tree_lock); in inode_switch_wbs_work_fn()
400 &mapping->tree_lock); in inode_switch_wbs_work_fn()
410 &mapping->tree_lock); in inode_switch_wbs_work_fn()
452 spin_unlock_irq(&mapping->tree_lock); in inode_switch_wbs_work_fn()
Dinode.c349 spin_lock_init(&mapping->tree_lock); in address_space_init_once()
503 spin_lock_irq(&inode->i_data.tree_lock); in clear_inode()
506 spin_unlock_irq(&inode->i_data.tree_lock); in clear_inode()
Dbuffer.c638 spin_lock_irqsave(&mapping->tree_lock, flags); in __set_page_dirty()
645 spin_unlock_irqrestore(&mapping->tree_lock, flags); in __set_page_dirty()
/fs/f2fs/
Dinline.c248 spin_lock_irqsave(&mapping->tree_lock, flags); in f2fs_write_inline_data()
251 spin_unlock_irqrestore(&mapping->tree_lock, flags); in f2fs_write_inline_data()
Ddir.c735 spin_lock_irqsave(&mapping->tree_lock, flags); in f2fs_delete_entry()
738 spin_unlock_irqrestore(&mapping->tree_lock, flags); in f2fs_delete_entry()
Dnode.c94 spin_lock_irqsave(&mapping->tree_lock, flags); in clear_node_page_dirty()
98 spin_unlock_irqrestore(&mapping->tree_lock, flags); in clear_node_page_dirty()
/fs/xfs/
Dxfs_aops.c2005 spin_lock_irqsave(&mapping->tree_lock, flags); in xfs_vm_set_page_dirty()
2012 spin_unlock_irqrestore(&mapping->tree_lock, flags); in xfs_vm_set_page_dirty()