Lines Matching refs:locks
2 kinds of locks - per-inode (->i_rwsem) and per-filesystem
6 always acquire the locks in order by increasing address. We'll call
11 1) read access. Locking rules: caller locks directory we are accessing.
17 3) object removal. Locking rules: caller locks parent, finds victim,
18 locks victim and calls the method. Locks are exclusive.
20 4) rename() that is _not_ cross-directory. Locking rules: caller locks
25 Then call the method. All locks are exclusive.
34 All locks are exclusive.
70 change until rename acquires all locks. (Proof: other cross-directory
72 the order until we had acquired all locks).
74 (3) locks on non-directory objects are acquired only after locks on
77 non-directory object, except renames, which take locks on source and
82 consider the set of contended locks. First of all, filesystem lock is
83 not contended, since any process blocked on it is not holding any locks.
89 non-directory objects are not included in the set of contended locks.
92 blocked on source and it means that it doesn't hold any locks.
108 means that cross-directory rename is taking locks out of order. Due