Searched refs:rename_lock (Results 1 – 11 of 11) sorted by relevance
| /Linux-v5.4/fs/ |
| D | d_path.c | 99 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()
|
| D | dcache.c | 77 __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/ |
| D | namespace.c | 64 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/ |
| D | waitq.c | 192 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/ |
| D | dir.c | 115 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/ |
| D | dcache.h | 221 extern seqlock_t rename_lock;
|
| /Linux-v5.4/Documentation/filesystems/ |
| D | path-lookup.rst | 216 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
|
| D | locking.rst | 37 ops rename_lock ->d_lock may block rcu-walk
|
| /Linux-v5.4/fs/ocfs2/ |
| D | namei.c | 1198 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/ |
| D | auditsc.c | 1780 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/ |
| D | mds_client.c | 2146 seq = read_seqbegin(&rename_lock); in ceph_mdsc_build_path() 2185 if (pos < 0 || read_seqretry(&rename_lock, seq)) { in ceph_mdsc_build_path()
|