/fs/xfs/ |
D | xfs_trans_dquot.c | 482 bool locked; in xfs_trans_unreserve_and_mod_dquots() local 503 locked = false; in xfs_trans_unreserve_and_mod_dquots() 506 locked = true; in xfs_trans_unreserve_and_mod_dquots() 511 if (!locked) { in xfs_trans_unreserve_and_mod_dquots() 513 locked = true; in xfs_trans_unreserve_and_mod_dquots() 520 if (!locked) { in xfs_trans_unreserve_and_mod_dquots() 522 locked = true; in xfs_trans_unreserve_and_mod_dquots() 527 if (locked) in xfs_trans_unreserve_and_mod_dquots()
|
D | xfs_buf.c | 1053 int locked; in xfs_buf_trylock() local 1055 locked = down_trylock(&bp->b_sema) == 0; in xfs_buf_trylock() 1056 if (locked) in xfs_buf_trylock() 1060 return locked; in xfs_buf_trylock()
|
/fs/reiserfs/ |
D | fix_node.c | 2365 struct buffer_head *locked; in wait_tb_buffers_until_unlocked() local 2373 locked = NULL; in wait_tb_buffers_until_unlocked() 2376 !locked && i > ILLEGAL_PATH_ELEMENT_OFFSET; i--) { in wait_tb_buffers_until_unlocked() 2397 locked = in wait_tb_buffers_until_unlocked() 2404 for (i = 0; !locked && i < MAX_HEIGHT && tb->insert_size[i]; in wait_tb_buffers_until_unlocked() 2415 locked = tb->L[i]; in wait_tb_buffers_until_unlocked() 2418 if (!locked && tb->FL[i]) { in wait_tb_buffers_until_unlocked() 2424 locked = tb->FL[i]; in wait_tb_buffers_until_unlocked() 2427 if (!locked && tb->CFL[i]) { in wait_tb_buffers_until_unlocked() 2433 locked = tb->CFL[i]; in wait_tb_buffers_until_unlocked() [all …]
|
D | inode.c | 2897 bool locked = false; in reiserfs_write_end() local 2927 locked = true; in reiserfs_write_end() 2958 if (!locked) { in reiserfs_write_end() 2960 locked = true; in reiserfs_write_end() 2970 if (locked) in reiserfs_write_end() 2982 locked = false; in reiserfs_write_end()
|
/fs/squashfs/ |
D | file.c | 66 msblk->meta_index[i].locked == 0) { in locate_meta_index() 75 meta->locked = 1; in locate_meta_index() 113 msblk->meta_index[i].locked = 0; in empty_meta_index() 119 msblk->meta_index[msblk->next_meta_index].locked; i--) in empty_meta_index() 140 meta->locked = 1; in empty_meta_index() 152 meta->locked = 0; in release_meta_index()
|
D | squashfs_fs.h | 224 unsigned short locked; member
|
/fs/btrfs/ |
D | backref.h | 192 unsigned int locked:1; member 320 if (node->locked) { in btrfs_backref_unlock_node_buffer() 322 node->locked = 0; in btrfs_backref_unlock_node_buffer()
|
D | tree-mod-log.c | 256 bool locked = false; in btrfs_tree_mod_log_insert_move() local 288 locked = true; in btrfs_tree_mod_log_insert_move() 315 if (locked) in btrfs_tree_mod_log_insert_move() 488 bool locked = false; in btrfs_tree_mod_log_eb_copy() local 521 locked = true; in btrfs_tree_mod_log_eb_copy() 543 if (locked) in btrfs_tree_mod_log_eb_copy()
|
D | reada.c | 72 int locked; member 274 zone->locked = 0; in reada_find_zone() 603 peer->locked = lock; in reada_peer_zones_set_lock() 633 if (zone->locked) { in reada_pick_zone() 880 zone->locked); in dump_devs()
|
D | free-space-cache.c | 294 bool locked = false; in btrfs_truncate_free_space_cache() local 303 locked = true; in btrfs_truncate_free_space_cache() 337 if (locked) in btrfs_truncate_free_space_cache()
|
/fs/proc/ |
D | task_mmu.c | 424 bool dirty, bool locked, bool private) in smaps_page_accumulate() argument 435 if (locked) in smaps_page_accumulate() 452 bool compound, bool young, bool dirty, bool locked, in smaps_account() argument 490 locked, true); in smaps_account() 498 smaps_page_accumulate(mss, page, PAGE_SIZE, pss, dirty, locked, in smaps_account() 523 bool locked = !!(vma->vm_flags & VM_LOCKED); in smaps_pte_entry() local 564 smaps_account(mss, page, false, young, dirty, locked, migration); in smaps_pte_entry() 573 bool locked = !!(vma->vm_flags & VM_LOCKED); in smaps_pmd_entry() local 600 locked, migration); in smaps_pmd_entry()
|
/fs/fuse/ |
D | readdir.c | 343 bool locked; in fuse_readdir_uncached() local 362 locked = fuse_lock_inode(inode); in fuse_readdir_uncached() 364 fuse_unlock_inode(inode, locked); in fuse_readdir_uncached()
|
D | fuse_i.h | 1339 void fuse_unlock_inode(struct inode *inode, bool locked); 1936 bool locked; \ 1977 locked = fuse_lock_inode(inode); \ 1979 fuse_unlock_inode(inode, locked); \ 2035 locked = fuse_lock_inode(inode); \ 2037 fuse_unlock_inode(inode, locked); \
|
D | inode.c | 604 bool locked = false; in fuse_lock_inode() local 608 locked = true; in fuse_lock_inode() 611 return locked; in fuse_lock_inode() 614 void fuse_unlock_inode(struct inode *inode, bool locked) in fuse_unlock_inode() argument 616 if (locked) in fuse_unlock_inode()
|
D | dir.c | 590 bool locked; in fuse_lookup() local 606 locked = fuse_lock_inode(dir); in fuse_lookup() 609 fuse_unlock_inode(dir, locked); in fuse_lookup()
|
/fs/overlayfs/ |
D | util.c | 772 bool locked = false; in ovl_inuse_trylock() local 777 locked = true; in ovl_inuse_trylock() 781 return locked; in ovl_inuse_trylock()
|
/fs/ntfs3/ |
D | xattr.c | 529 int locked) in ntfs_get_acl_ex() argument 553 if (!locked) in ntfs_get_acl_ex() 558 if (!locked) in ntfs_get_acl_ex()
|
/fs/jffs2/ |
D | README.Locking | 52 node belonging to the inode which was locked in the first place by the 105 has to be locked while walking the c->inocache_list hash buckets.
|
/fs/f2fs/ |
D | data.c | 3243 bool locked = false; in __f2fs_write_data_pages() local 3281 locked = true; in __f2fs_write_data_pages() 3288 if (locked) in __f2fs_write_data_pages() 3345 bool locked = false; in prepare_write_begin() local 3361 locked = true; in prepare_write_begin() 3364 locked = true; in prepare_write_begin() 3392 if (locked) { in prepare_write_begin() 3404 locked = true; in prepare_write_begin() 3415 if (locked) in prepare_write_begin()
|
D | checkpoint.c | 1219 int locked; in block_operations() local 1229 locked = down_read_trylock(&sbi->sb->s_umount); in block_operations() 1231 if (locked) in block_operations()
|
D | gc.c | 1616 bool locked = false; in gc_data_segment() local 1630 locked = true; in gc_data_segment() 1649 if (locked) { in gc_data_segment()
|
/fs/incfs/ |
D | pseudo_files.c | 481 bool locked = false; in ioctl_create_file() local 516 locked = true; in ioctl_create_file() 701 if (locked) in ioctl_create_file()
|
/fs/ocfs2/ |
D | quota_local.c | 692 int locked = 0; in ocfs2_local_read_info() local 718 locked = 1; in ocfs2_local_read_info() 779 if (locked) in ocfs2_local_read_info()
|
/fs/ocfs2/dlm/ |
D | dlmdomain.c | 1277 int locked = 0, status = -EINVAL; in dlm_query_nodeinfo_handler() local 1293 locked = 1; in dlm_query_nodeinfo_handler() 1314 if (locked) in dlm_query_nodeinfo_handler()
|
/fs/ |
D | dcache.c | 770 goto locked; in fast_dput() 828 locked: in fast_dput()
|