Home
last modified time | relevance | path

Searched refs:rename_lock (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/fs/
Dd_path.c99 read_seqbegin_or_lock(&rename_lock, &seq); in prepend_path()
135 if (need_seqretry(&rename_lock, seq)) { in prepend_path()
139 done_seqretry(&rename_lock, seq); in prepend_path()
344 read_seqbegin_or_lock(&rename_lock, &seq); in __dentry_path()
358 if (need_seqretry(&rename_lock, seq)) { in __dentry_path()
362 done_seqretry(&rename_lock, seq); in __dentry_path()
Ddcache.c77 __cacheline_aligned_in_smp DEFINE_SEQLOCK(rename_lock);
79 EXPORT_SYMBOL(rename_lock);
1277 read_seqbegin_or_lock(&rename_lock, &seq); in d_walk()
1342 if (need_seqretry(&rename_lock, seq)) in d_walk()
1354 if (need_seqretry(&rename_lock, seq)) in d_walk()
1360 done_seqretry(&rename_lock, seq); in d_walk()
1424 write_seqlock(&rename_lock); in d_set_mounted()
1444 write_sequnlock(&rename_lock); in d_set_mounted()
2313 seq = read_seqbegin(&rename_lock); in d_lookup()
2317 } while (read_seqretry(&rename_lock, seq)); in d_lookup()
[all …]
/Linux-v5.4/fs/nfs/
Dnamespace.c64 seq = read_seqbegin(&rename_lock); in nfs_path()
80 if (read_seqretry(&rename_lock, seq)) { in nfs_path()
121 if (read_seqretry(&rename_lock, seq)) in nfs_path()
/Linux-v5.4/fs/autofs/
Dwaitq.c192 seq = read_seqbegin(&rename_lock); in autofs_getpath()
201 if (read_seqretry(&rename_lock, seq)) in autofs_getpath()
217 if (read_seqretry(&rename_lock, seq)) in autofs_getpath()
/Linux-v5.4/fs/cifs/
Ddir.c115 seq = read_seqbegin(&rename_lock); in build_path_from_dentry_optional_prefix()
155 if (namelen != dfsplen + pplen || read_seqretry(&rename_lock, seq)) { in build_path_from_dentry_optional_prefix()
/Linux-v5.4/include/linux/
Ddcache.h221 extern seqlock_t rename_lock;
/Linux-v5.4/Documentation/filesystems/
Dpath-lookup.rst216 rename_lock subsection
233 ``rename_lock`` is a seqlock that is updated whenever any dentry is
332 ``mount_lock`` is a global seqlock, a bit like ``rename_lock``. It can be used to
791 No ``inode->i_rwsem`` or even ``rename_lock``
803 Though ``rename_lock`` could be used by RCU-walk as it doesn't require
804 any sleeping, RCU-walk doesn't bother. REF-walk uses ``rename_lock`` to
811 rename_lock would bring no significant value.
909 again - repeatedly". This is seen with the use of ``rename_lock`` and
Dlocking.rst37 ops rename_lock ->d_lock may block rcu-walk
/Linux-v5.4/fs/ocfs2/
Dnamei.c1198 int status = 0, rename_lock = 0, parents_locked = 0, target_exists = 0; in ocfs2_rename() local
1266 rename_lock = 1; in ocfs2_rename()
1654 if (rename_lock) in ocfs2_rename()
/Linux-v5.4/kernel/
Dauditsc.c1780 seq = read_seqbegin(&rename_lock); in handle_path()
1798 if (unlikely(read_seqretry(&rename_lock, seq) || drop)) { /* in this order */ in handle_path()
/Linux-v5.4/fs/ceph/
Dmds_client.c2146 seq = read_seqbegin(&rename_lock); in ceph_mdsc_build_path()
2185 if (pos < 0 || read_seqretry(&rename_lock, seq)) { in ceph_mdsc_build_path()