Home
last modified time | relevance | path

Searched refs:locks (Results 1 – 16 of 16) sorted by relevance

/fs/btrfs/
Dctree.c57 if (!p->nodes[i] || !p->locks[i]) in btrfs_set_path_blocking()
59 btrfs_set_lock_blocking_rw(p->nodes[i], p->locks[i]); in btrfs_set_path_blocking()
60 if (p->locks[i] == BTRFS_READ_LOCK) in btrfs_set_path_blocking()
61 p->locks[i] = BTRFS_READ_LOCK_BLOCKING; in btrfs_set_path_blocking()
62 else if (p->locks[i] == BTRFS_WRITE_LOCK) in btrfs_set_path_blocking()
63 p->locks[i] = BTRFS_WRITE_LOCK_BLOCKING; in btrfs_set_path_blocking()
98 if (p->nodes[i] && p->locks[i]) { in btrfs_clear_path_blocking()
99 btrfs_clear_lock_blocking_rw(p->nodes[i], p->locks[i]); in btrfs_clear_path_blocking()
100 if (p->locks[i] == BTRFS_WRITE_LOCK_BLOCKING) in btrfs_clear_path_blocking()
101 p->locks[i] = BTRFS_WRITE_LOCK; in btrfs_clear_path_blocking()
[all …]
Dextent-tree.c6470 BUG_ON(!path->locks[level]); in walk_down_proc()
6485 if (path->locks[level] && !wc->keep_locks) { in walk_down_proc()
6486 btrfs_tree_unlock_rw(eb, path->locks[level]); in walk_down_proc()
6487 path->locks[level] = 0; in walk_down_proc()
6494 BUG_ON(!path->locks[level]); in walk_down_proc()
6509 if (path->locks[level] && level > 0) { in walk_down_proc()
6510 btrfs_tree_unlock_rw(eb, path->locks[level]); in walk_down_proc()
6511 path->locks[level] = 0; in walk_down_proc()
6627 path->locks[level] = BTRFS_WRITE_LOCK_BLOCKING; in do_walk_down()
6694 if (!path->locks[level]) { in walk_up_proc()
[all …]
Dctree.h544 int locks[BTRFS_MAX_LEVEL]; member
Drelocation.c2543 path->locks[upper->level] = 0;
/fs/ceph/
DMakefile7 ceph-y := super.o inode.o dir.o file.o locks.o addr.o ioctl.o \
/fs/dlm/
DKconfig16 list of resource and locks the local node knows about.
Ddlm_internal.h621 struct list_head locks; member
Dlock.c4796 list_add_tail(&lkb->lkb_ownqueue, &ua->proc->locks); in dlm_user_request()
5039 if (list_empty(&proc->locks)) in del_proc_lock()
5042 lkb = list_entry(proc->locks.next, struct dlm_lkb, lkb_ownqueue); in del_proc_lock()
5114 if (!list_empty(&proc->locks)) { in purge_proc_locks()
5115 lkb = list_entry(proc->locks.next, struct dlm_lkb, in purge_proc_locks()
Duser.c641 INIT_LIST_HEAD(&proc->locks); in device_open()
/fs/ocfs2/
DMakefile28 locks.o \
/fs/nilfs2/
Dmdt.h108 (&NILFS_MDT(inode)->mi_bgl->locks[(bg) & (NR_BG_LOCKS-1)].lock)
/fs/jffs2/
DREADME.Locking98 GC thread locks it, sends the signal, then unlocks it - while the GC
99 thread itself locks it, zeroes c->gc_task, then unlocks on the exit path.
/fs/
DMakefile32 obj-$(CONFIG_FILE_LOCKING) += locks.o
/fs/cifs/
DREADME495 posix acls, posix locks, posix paths, symlink support
501 with cifs style mandatory byte range locks (and most
503 byte range locks).
509 forcing the cifs client to only send mandatory locks
510 even if the cifs server would support posix advisory locks.
DCHANGES78 rather than posix (advisory) byte range locks, even though server would
79 support posix byte range locks. Fix query of root inode when prefixpath
850 reconnect byte range locks though). Fix problem caching
1042 3) default file perms are now 2767 (indicating support for mandatory locks) instead of 777 for dire…
/fs/affs/
DChanges150 - Removed some unnecessary locks as Bill