/fs/xfs/ |
D | xfs_trans_dquot.c | 519 bool locked; in xfs_trans_unreserve_and_mod_dquots() local 540 locked = false; in xfs_trans_unreserve_and_mod_dquots() 543 locked = true; in xfs_trans_unreserve_and_mod_dquots() 548 if (!locked) { in xfs_trans_unreserve_and_mod_dquots() 550 locked = true; in xfs_trans_unreserve_and_mod_dquots() 557 if (!locked) { in xfs_trans_unreserve_and_mod_dquots() 559 locked = true; in xfs_trans_unreserve_and_mod_dquots() 564 if (locked) in xfs_trans_unreserve_and_mod_dquots()
|
D | xfs_buf.c | 950 int locked; in xfs_buf_trylock() local 952 locked = down_trylock(&bp->b_sema) == 0; in xfs_buf_trylock() 953 if (locked) in xfs_buf_trylock() 957 return locked; in xfs_buf_trylock()
|
/fs/ |
D | dcache.c | 999 static struct dentry *try_to_ascend(struct dentry *old, int locked, unsigned seq) in try_to_ascend() argument 1013 (!locked && read_seqretry(&rename_lock, seq))) { in try_to_ascend() 1040 int locked = 0; in have_submounts() local 1078 this_parent = try_to_ascend(this_parent, locked, seq); in have_submounts() 1085 if (!locked && read_seqretry(&rename_lock, seq)) in have_submounts() 1087 if (locked) in have_submounts() 1091 if (!locked && read_seqretry(&rename_lock, seq)) in have_submounts() 1093 if (locked) in have_submounts() 1098 if (locked) in have_submounts() 1100 locked = 1; in have_submounts() [all …]
|
/fs/reiserfs/ |
D | fix_node.c | 2157 struct buffer_head *locked; in wait_tb_buffers_until_unlocked() local 2165 locked = NULL; in wait_tb_buffers_until_unlocked() 2168 !locked && i > ILLEGAL_PATH_ELEMENT_OFFSET; i--) { in wait_tb_buffers_until_unlocked() 2187 locked = in wait_tb_buffers_until_unlocked() 2194 for (i = 0; !locked && i < MAX_HEIGHT && tb->insert_size[i]; in wait_tb_buffers_until_unlocked() 2205 locked = tb->L[i]; in wait_tb_buffers_until_unlocked() 2208 if (!locked && tb->FL[i]) { in wait_tb_buffers_until_unlocked() 2214 locked = tb->FL[i]; in wait_tb_buffers_until_unlocked() 2217 if (!locked && tb->CFL[i]) { in wait_tb_buffers_until_unlocked() 2223 locked = tb->CFL[i]; in wait_tb_buffers_until_unlocked() [all …]
|
D | inode.c | 2712 bool locked = false; in reiserfs_write_end() local 2741 locked = true; in reiserfs_write_end() 2770 if (!locked) { in reiserfs_write_end() 2772 locked = true; in reiserfs_write_end() 2782 if (locked) in reiserfs_write_end() 2794 locked = false; in reiserfs_write_end()
|
/fs/squashfs/ |
D | file.c | 81 msblk->meta_index[i].locked == 0) { in locate_meta_index() 90 meta->locked = 1; in locate_meta_index() 128 msblk->meta_index[i].locked = 0; in empty_meta_index() 134 msblk->meta_index[msblk->next_meta_index].locked; i--) in empty_meta_index() 155 meta->locked = 1; in empty_meta_index() 167 meta->locked = 0; in release_meta_index()
|
D | squashfs_fs.h | 230 unsigned short locked; member
|
/fs/jbd/ |
D | commit.c | 188 int locked; in journal_submit_data_buffers() local 208 locked = 0; in journal_submit_data_buffers() 230 locked = 1; in journal_submit_data_buffers() 242 if (locked) in journal_submit_data_buffers() 248 if (locked && test_clear_buffer_dirty(bh)) { in journal_submit_data_buffers() 262 } else if (!locked && buffer_locked(bh)) { in journal_submit_data_buffers() 273 if (locked) in journal_submit_data_buffers()
|
/fs/btrfs/ |
D | reada.c | 85 int locked; member 292 zone->locked = 0; in reada_find_zone() 594 peer->locked = lock; in reada_peer_zones_set_lock() 624 if (zone->locked) { in reada_pick_zone() 825 zone->locked); in dump_devs()
|
D | relocation.c | 70 unsigned int locked:1; member 391 if (node->locked) { in unlock_node_buffer() 393 node->locked = 0; in unlock_node_buffer() 2562 if (upper->eb && !upper->locked) { 2589 upper->locked = 1;
|
D | ioctl.c | 3513 goto locked; in btrfs_ioctl_balance() 3535 goto locked; in btrfs_ioctl_balance() 3555 locked: in btrfs_ioctl_balance()
|
/fs/fuse/ |
D | dev.c | 480 if (req->locked) { in request_wait_answer() 487 wait_event(req->waitq, !req->locked); in request_wait_answer() 617 req->locked = 1; in lock_request() 632 req->locked = 0; in unlock_request() 1264 req->locked = 0; in fuse_dev_do_read() 1880 req->locked = 1; in fuse_dev_do_write() 1894 req->locked = 0; in fuse_dev_do_write() 2068 wait_event(req->waitq, !req->locked); in end_io_requests()
|
D | fuse_i.h | 284 unsigned locked:1; member
|
/fs/nfs/blocklayout/ |
D | blocklayout.c | 642 int locked = 0; in bl_find_get_zeroing_page() local 652 locked = 1; in bl_find_get_zeroing_page() 661 if (locked) in bl_find_get_zeroing_page() 667 if (!locked) { in bl_find_get_zeroing_page() 669 locked = 1; in bl_find_get_zeroing_page()
|
/fs/f2fs/ |
D | data.c | 590 bool locked = false; in f2fs_write_data_pages() local 606 locked = true; in f2fs_write_data_pages() 609 if (locked) in f2fs_write_data_pages()
|
/fs/ocfs2/dlm/ |
D | dlmdomain.c | 1136 int locked = 0; in dlm_query_region_handler() local 1161 locked = 1; in dlm_query_region_handler() 1182 if (locked) in dlm_query_region_handler() 1314 int locked = 0, status = -EINVAL; in dlm_query_nodeinfo_handler() local 1330 locked = 1; in dlm_query_nodeinfo_handler() 1351 if (locked) in dlm_query_nodeinfo_handler()
|
/fs/jffs2/ |
D | README.Locking | 56 node belonging to the inode which was locked in the first place by the 108 has to be locked while walking the c->inocache_list hash buckets.
|
/fs/ocfs2/ |
D | quota_local.c | 698 int locked = 0; in ocfs2_local_read_info() local 727 locked = 1; in ocfs2_local_read_info() 789 if (locked) in ocfs2_local_read_info()
|
/fs/ext4/ |
D | indirect.c | 691 goto locked; in ext4_ind_direct_IO() 699 locked: in ext4_ind_direct_IO()
|
/fs/befs/ |
D | ChangeLog | 397 hands us a super_block struct that is already locked.
|
/fs/cifs/ |
D | CHANGES | 87 on create, and improves semantics for write of locked ranges). 1039 2) Fixed GETLK (i.e. the fcntl call to test a range of bytes in a file to see if locked) to correct… 1040 show range as locked when there is a conflict with an existing lock.
|