Searched refs:rename_lock (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/fs/ |
D | d_path.c | 170 read_seqbegin_or_lock(&rename_lock, &seq); in prepend_path() 174 if (need_seqretry(&rename_lock, seq)) { in prepend_path() 178 done_seqretry(&rename_lock, seq); in prepend_path() 340 read_seqbegin_or_lock(&rename_lock, &seq); in __dentry_path() 351 if (need_seqretry(&rename_lock, seq)) { in __dentry_path() 355 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); 1358 read_seqbegin_or_lock(&rename_lock, &seq); in d_walk() 1423 if (need_seqretry(&rename_lock, seq)) in d_walk() 1435 if (need_seqretry(&rename_lock, seq)) in d_walk() 1441 done_seqretry(&rename_lock, seq); in d_walk() 1505 write_seqlock(&rename_lock); in d_set_mounted() 1525 write_sequnlock(&rename_lock); in d_set_mounted() 2429 seq = read_seqbegin(&rename_lock); in d_lookup() 2433 } while (read_seqretry(&rename_lock, seq)); in d_lookup() [all …]
|
D | namei.c | 1969 if (__read_seqcount_retry(&rename_lock.seqcount, nd->r_seq)) in handle_dots() 2361 nd->r_seq = __read_seqcount_begin(&rename_lock.seqcount); in path_init()
|
/linux-6.1.9/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-6.1.9/include/linux/ |
D | dcache.h | 216 extern seqlock_t rename_lock;
|
/linux-6.1.9/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-6.1.9/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-6.1.9/kernel/ |
D | auditsc.c | 2126 seq = read_seqbegin(&rename_lock); in handle_path() 2146 if (unlikely(read_seqretry(&rename_lock, seq) || drop)) { /* in this order */ in handle_path()
|
/linux-6.1.9/fs/ceph/ |
D | mds_client.c | 2383 seq = read_seqbegin(&rename_lock); in ceph_mdsc_build_path() 2423 if (read_seqretry(&rename_lock, seq)) in ceph_mdsc_build_path()
|