Lines Matching refs:nat_tree_lock
358 down_read(&nm_i->nat_tree_lock); in f2fs_need_dentry_mark()
365 up_read(&nm_i->nat_tree_lock); in f2fs_need_dentry_mark()
375 down_read(&nm_i->nat_tree_lock); in f2fs_is_checkpointed_node()
379 up_read(&nm_i->nat_tree_lock); in f2fs_is_checkpointed_node()
389 down_read(&nm_i->nat_tree_lock); in f2fs_need_inode_block_update()
395 up_read(&nm_i->nat_tree_lock); in f2fs_need_inode_block_update()
410 down_write(&nm_i->nat_tree_lock); in cache_nat_entry()
419 up_write(&nm_i->nat_tree_lock); in cache_nat_entry()
431 down_write(&nm_i->nat_tree_lock); in set_node_addr()
479 up_write(&nm_i->nat_tree_lock); in set_node_addr()
487 if (!down_write_trylock(&nm_i->nat_tree_lock)) in f2fs_try_to_free_nats()
509 up_write(&nm_i->nat_tree_lock); in f2fs_try_to_free_nats()
534 down_read(&nm_i->nat_tree_lock); in f2fs_get_node_info()
540 up_read(&nm_i->nat_tree_lock); in f2fs_get_node_info()
555 up_read(&nm_i->nat_tree_lock); in f2fs_get_node_info()
561 up_read(&nm_i->nat_tree_lock); in f2fs_get_node_info()
2281 down_read(&nm_i->nat_tree_lock); in scan_free_nid_bits()
2304 up_read(&nm_i->nat_tree_lock); in scan_free_nid_bits()
2336 down_read(&nm_i->nat_tree_lock); in __f2fs_build_free_nids()
2351 up_read(&nm_i->nat_tree_lock); in __f2fs_build_free_nids()
2372 up_read(&nm_i->nat_tree_lock); in __f2fs_build_free_nids()
2881 down_write(&nm_i->nat_tree_lock); in f2fs_flush_nat_entries()
2883 up_write(&nm_i->nat_tree_lock); in f2fs_flush_nat_entries()
2889 down_write(&nm_i->nat_tree_lock); in f2fs_flush_nat_entries()
2916 up_write(&nm_i->nat_tree_lock); in f2fs_flush_nat_entries()
3035 init_rwsem(&nm_i->nat_tree_lock); in init_node_manager()
3144 down_write(&nm_i->nat_tree_lock); in f2fs_destroy_node_manager()
3174 up_write(&nm_i->nat_tree_lock); in f2fs_destroy_node_manager()