Searched refs:rename_lock (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.15/fs/ |
| D | d_path.c | 172 read_seqbegin_or_lock(&rename_lock, &seq); in prepend_path() 176 if (need_seqretry(&rename_lock, seq)) { in prepend_path() 180 done_seqretry(&rename_lock, seq); in prepend_path() 343 read_seqbegin_or_lock(&rename_lock, &seq); in __dentry_path() 354 if (need_seqretry(&rename_lock, seq)) { in __dentry_path() 358 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); 1333 read_seqbegin_or_lock(&rename_lock, &seq); in d_walk() 1398 if (need_seqretry(&rename_lock, seq)) in d_walk() 1410 if (need_seqretry(&rename_lock, seq)) in d_walk() 1416 done_seqretry(&rename_lock, seq); in d_walk() 1480 write_seqlock(&rename_lock); in d_set_mounted() 1500 write_sequnlock(&rename_lock); in d_set_mounted() 2369 seq = read_seqbegin(&rename_lock); in d_lookup() 2373 } while (read_seqretry(&rename_lock, seq)); in d_lookup() [all …]
|
| D | namei.c | 1944 if (unlikely(__read_seqcount_retry(&rename_lock.seqcount, nd->r_seq))) in handle_dots() 2336 nd->r_seq = __read_seqcount_begin(&rename_lock.seqcount); in path_init()
|
| /Linux-v5.15/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.15/include/linux/ |
| D | dcache.h | 225 extern seqlock_t rename_lock;
|
| /Linux-v5.15/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 806 No ``inode->i_rwsem`` or even ``rename_lock`` 818 Though ``rename_lock`` could be used by RCU-walk as it doesn't require 819 any sleeping, RCU-walk doesn't bother. REF-walk uses ``rename_lock`` to 826 rename_lock would bring no significant value. 924 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.15/fs/ocfs2/ |
| D | namei.c | 1207 int status = 0, rename_lock = 0, parents_locked = 0, target_exists = 0; in ocfs2_rename() local 1275 rename_lock = 1; in ocfs2_rename() 1663 if (rename_lock) in ocfs2_rename()
|
| /Linux-v5.15/kernel/ |
| D | auditsc.c | 1818 seq = read_seqbegin(&rename_lock); in handle_path() 1838 if (unlikely(read_seqretry(&rename_lock, seq) || drop)) { /* in this order */ in handle_path()
|
| /Linux-v5.15/fs/ceph/ |
| D | mds_client.c | 2387 seq = read_seqbegin(&rename_lock); in ceph_mdsc_build_path() 2427 if (read_seqretry(&rename_lock, seq)) in ceph_mdsc_build_path()
|