Home
last modified time | relevance | path

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

/linux/fs/
H A Dd_path.c171 read_seqbegin_or_lock(&rename_lock, &seq); in prepend_path()
175 if (need_seqretry(&rename_lock, seq)) { in prepend_path()
179 done_seqretry(&rename_lock, seq); in prepend_path()
341 read_seqbegin_or_lock(&rename_lock, &seq); in __dentry_path()
352 if (need_seqretry(&rename_lock, seq)) { in __dentry_path()
356 done_seqretry(&rename_lock, seq); in __dentry_path()
H A Ddcache.c79 __cacheline_aligned_in_smp DEFINE_SEQLOCK(rename_lock);
81 EXPORT_SYMBOL(rename_lock);
1243 read_seqbegin_or_lock(&rename_lock, &seq); in d_walk()
1304 if (need_seqretry(&rename_lock, seq)) in d_walk()
1315 if (need_seqretry(&rename_lock, seq)) in d_walk()
1321 done_seqretry(&rename_lock, seq); in d_walk()
1385 write_seqlock(&rename_lock); in d_set_mounted()
1405 write_sequnlock(&rename_lock); in d_set_mounted()
2269 seq = read_seqbegin(&rename_lock); in d_lookup()
2273 } while (read_seqretry(&rename_lock, seq)); in d_lookup()
[all …]
H A Dnamei.c2029 if (__read_seqcount_retry(&rename_lock.seqcount, nd->r_seq)) in handle_dots()
2459 nd->r_seq = __read_seqcount_begin(&rename_lock.seqcount); in path_init()
/linux/fs/nfs/
H A Dnamespace.c69 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/include/linux/
H A Ddcache.h223 extern seqlock_t rename_lock;
/linux/Documentation/filesystems/
H A Dpath-lookup.rst217 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 …]
H A Dlocking.rst37 ops rename_lock ->d_lock may block rcu-walk
/linux/fs/ocfs2/
H A Dnamei.c1207 int status = 0, rename_lock = 0, parents_locked = 0, target_exists = 0; in ocfs2_rename() local
1275 rename_lock = 1; in ocfs2_rename()
1678 if (rename_lock) in ocfs2_rename()
/linux/kernel/
H A Dauditsc.c2130 seq = read_seqbegin(&rename_lock); in handle_path()
2150 if (unlikely(read_seqretry(&rename_lock, seq) || drop)) { /* in this order */ in handle_path()
/linux/fs/ceph/
H A Dmds_client.c2728 seq = read_seqbegin(&rename_lock); in ceph_mdsc_build_path()
2806 if (read_seqretry(&rename_lock, seq)) in ceph_mdsc_build_path()