Searched refs:rename_lock (Results 1 – 12 of 12) sorted by relevance
| /Linux-v5.10/fs/ |
| D | d_path.c | 99 read_seqbegin_or_lock(&rename_lock, &seq); in prepend_path() 139 if (need_seqretry(&rename_lock, seq)) { in prepend_path() 143 done_seqretry(&rename_lock, seq); in prepend_path() 348 read_seqbegin_or_lock(&rename_lock, &seq); in __dentry_path() 362 if (need_seqretry(&rename_lock, seq)) { in __dentry_path() 366 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); 1298 read_seqbegin_or_lock(&rename_lock, &seq); in d_walk() 1363 if (need_seqretry(&rename_lock, seq)) in d_walk() 1375 if (need_seqretry(&rename_lock, seq)) in d_walk() 1381 done_seqretry(&rename_lock, seq); in d_walk() 1445 write_seqlock(&rename_lock); in d_set_mounted() 1465 write_sequnlock(&rename_lock); in d_set_mounted() 2334 seq = read_seqbegin(&rename_lock); in d_lookup() 2338 } while (read_seqretry(&rename_lock, seq)); in d_lookup() [all …]
|
| D | namei.c | 1835 if (unlikely(__read_seqcount_retry(&rename_lock.seqcount, nd->r_seq))) in handle_dots() 2219 nd->r_seq = __read_seqcount_begin(&rename_lock.seqcount); in path_init()
|
| /Linux-v5.10/fs/nfs/ |
| D | namespace.c | 69 seq = read_seqbegin(&rename_lock); in nfs_path() 85 if (read_seqretry(&rename_lock, seq)) { in nfs_path() 126 if (read_seqretry(&rename_lock, seq)) in nfs_path()
|
| /Linux-v5.10/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.10/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.10/include/linux/ |
| D | dcache.h | 223 extern seqlock_t rename_lock;
|
| /Linux-v5.10/Documentation/filesystems/ |
| D | path-lookup.rst | 217 rename_lock subsection 234 ``rename_lock`` is a seqlock that is updated whenever any dentry is 239 ``rename_lock`` is also used to detect and defend against potential attacks 242 check). If ``rename_lock`` is updated during the lookup and the path encounters 340 ``mount_lock`` is a global seqlock, a bit like ``rename_lock``. It can be used to 807 No ``inode->i_rwsem`` or even ``rename_lock`` 819 Though ``rename_lock`` could be used by RCU-walk as it doesn't require 820 any sleeping, RCU-walk doesn't bother. REF-walk uses ``rename_lock`` to 827 rename_lock would bring no significant value. 925 again - repeatedly". This is seen with the use of ``rename_lock`` and [all …]
|
| D | locking.rst | 37 ops rename_lock ->d_lock may block rcu-walk
|
| /Linux-v5.10/fs/ocfs2/ |
| D | namei.c | 1204 int status = 0, rename_lock = 0, parents_locked = 0, target_exists = 0; in ocfs2_rename() local 1272 rename_lock = 1; in ocfs2_rename() 1660 if (rename_lock) in ocfs2_rename()
|
| /Linux-v5.10/kernel/ |
| D | auditsc.c | 1809 seq = read_seqbegin(&rename_lock); in handle_path() 1827 if (unlikely(read_seqretry(&rename_lock, seq) || drop)) { /* in this order */ in handle_path()
|
| /Linux-v5.10/fs/ceph/ |
| D | mds_client.c | 2345 seq = read_seqbegin(&rename_lock); in ceph_mdsc_build_path() 2385 if (read_seqretry(&rename_lock, seq)) in ceph_mdsc_build_path()
|