/fs/cifs/ |
D | smb2file.c | 149 list_for_each_entry_safe(li, tmp, &cfile->llist->locks, llist) { in smb2_unlock_range() 186 &cfile->llist->locks); in smb2_unlock_range() 204 cifs_move_llist(&tmp_llist, &cfile->llist->locks); in smb2_unlock_range() 226 list_for_each_entry(li, &fdlocks->locks, llist) { in smb2_push_mand_fdlocks()
|
D | file.c | 273 if (!list_empty(&cur->locks)) { in cifs_has_mand_locks() 313 INIT_LIST_HEAD(&fdlocks->locks); in cifs_new_fileinfo() 392 list_for_each_entry_safe(li, tmp, &cifs_file->llist->locks, llist) { in cifsFileInfo_put_final() 975 list_for_each_entry(li, &fdlocks->locks, llist) { in cifs_find_fid_lock_conflict() 1065 list_add_tail(&lock->llist, &cfile->llist->locks); in cifs_lock_add() 1092 list_add_tail(&lock->llist, &cfile->llist->locks); in cifs_lock_add_if() 1223 list_for_each_entry_safe(li, tmp, &cfile->llist->locks, llist) { in cifs_push_mandatory_locks() 1564 list_for_each_entry_safe(li, tmp, &cfile->llist->locks, llist) { in cifs_unlock_range() 1605 &cfile->llist->locks); in cifs_unlock_range() 1623 &cfile->llist->locks); in cifs_unlock_range()
|
D | smb2pdu.h | 1256 struct smb2_lock_element locks[1]; member
|
D | cifsglob.h | 1250 struct list_head locks; /* locks held by fid above */ member
|
/fs/btrfs/ |
D | ctree.c | 67 if (!p->nodes[i] || !p->locks[i]) in btrfs_set_path_blocking() 74 if (p->locks[i] == BTRFS_READ_LOCK) { in btrfs_set_path_blocking() 76 p->locks[i] = BTRFS_READ_LOCK_BLOCKING; in btrfs_set_path_blocking() 77 } else if (p->locks[i] == BTRFS_WRITE_LOCK) { in btrfs_set_path_blocking() 79 p->locks[i] = BTRFS_WRITE_LOCK_BLOCKING; in btrfs_set_path_blocking() 107 if (p->locks[i]) { in btrfs_release_path() 108 btrfs_tree_unlock_rw(p->nodes[i], p->locks[i]); in btrfs_release_path() 109 p->locks[i] = 0; in btrfs_release_path() 1896 WARN_ON(path->locks[level] != BTRFS_WRITE_LOCK && in balance_level() 1897 path->locks[level] != BTRFS_WRITE_LOCK_BLOCKING); in balance_level() [all …]
|
D | extent-tree.c | 4746 BUG_ON(!path->locks[level]); in walk_down_proc() 4761 if (path->locks[level] && !wc->keep_locks) { in walk_down_proc() 4762 btrfs_tree_unlock_rw(eb, path->locks[level]); in walk_down_proc() 4763 path->locks[level] = 0; in walk_down_proc() 4770 BUG_ON(!path->locks[level]); in walk_down_proc() 4786 if (path->locks[level] && level > 0) { in walk_down_proc() 4787 btrfs_tree_unlock_rw(eb, path->locks[level]); in walk_down_proc() 4788 path->locks[level] = 0; in walk_down_proc() 4951 path->locks[level] = BTRFS_WRITE_LOCK_BLOCKING; in do_walk_down() 5076 if (!path->locks[level]) { in walk_up_proc() [all …]
|
D | ref-verify.c | 581 path->locks[level-1] = BTRFS_READ_LOCK_BLOCKING; in walk_down_tree() 608 btrfs_tree_unlock_rw(path->nodes[l], path->locks[l]); in walk_up_tree() 612 path->locks[l] = 0; in walk_up_tree() 1001 path->locks[level] = BTRFS_READ_LOCK_BLOCKING; in btrfs_build_ref_tree()
|
D | tree-defrag.c | 99 BUG_ON(path->locks[1] == 0); in btrfs_defrag_leaves()
|
D | qgroup.c | 1870 btrfs_tree_unlock_rw(eb, path->locks[level]); in adjust_slots_upwards() 1871 path->locks[level] = 0; in adjust_slots_upwards() 1975 src_path->locks[root_level] = 0; in qgroup_trace_extent_swap() 2010 src_path->locks[cur_level] = BTRFS_READ_LOCK_BLOCKING; in qgroup_trace_extent_swap() 2151 dst_path->locks[cur_level] = BTRFS_READ_LOCK_BLOCKING; in qgroup_trace_new_subtree_blocks() 2184 dst_path->locks[cur_level]); in qgroup_trace_new_subtree_blocks() 2188 dst_path->locks[cur_level] = 0; in qgroup_trace_new_subtree_blocks() 2231 dst_path->locks[level] = 0; in qgroup_trace_subtree_swap() 2290 path->locks[root_level] = 0; /* so release_path doesn't try to unlock */ in btrfs_qgroup_trace_subtree() 2326 path->locks[level] = BTRFS_READ_LOCK_BLOCKING; in btrfs_qgroup_trace_subtree()
|
D | file.c | 1059 (path->locks[0] == BTRFS_WRITE_LOCK_BLOCKING || in __btrfs_drop_extents() 1060 path->locks[0] == BTRFS_WRITE_LOCK) && in __btrfs_drop_extents()
|
D | backref.c | 1753 path->locks[0] = 0;
|
D | ctree.h | 350 u8 locks[BTRFS_MAX_LEVEL]; member
|
D | relocation.c | 2901 path->locks[upper->level] = 0; in do_relocation()
|
/fs/ceph/ |
D | Makefile | 8 ceph-y := super.o inode.o dir.o file.o locks.o addr.o ioctl.o \
|
/fs/dlm/ |
D | Kconfig | 17 list of resource and locks the local node knows about.
|
D | dlm_internal.h | 693 struct list_head locks; member
|
D | lock.c | 5844 list_add_tail(&lkb->lkb_ownqueue, &ua->proc->locks); in dlm_user_request() 5969 list_add_tail(&lkb->lkb_ownqueue, &ua->proc->locks); in dlm_user_adopt_orphan() 6161 if (list_empty(&proc->locks)) in del_proc_lock() 6164 lkb = list_entry(proc->locks.next, struct dlm_lkb, lkb_ownqueue); in del_proc_lock() 6236 if (!list_empty(&proc->locks)) { in purge_proc_locks() 6237 lkb = list_entry(proc->locks.next, struct dlm_lkb, in purge_proc_locks()
|
D | user.c | 647 INIT_LIST_HEAD(&proc->locks); in device_open()
|
/fs/ocfs2/ |
D | Makefile | 27 locks.o \
|
/fs/jffs2/ |
D | README.Locking | 95 GC thread locks it, sends the signal, then unlocks it - while the GC 96 thread itself locks it, zeroes c->gc_task, then unlocks on the exit path.
|
/fs/ |
D | Makefile | 40 obj-$(CONFIG_FILE_LOCKING) += locks.o
|
/fs/affs/ |
D | Changes | 150 - Removed some unnecessary locks as Bill
|