Home
last modified time | relevance | path

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

/openbmc/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 EXPORT_SYMBOL(rename_lock);
1446 done_seqretry(&rename_lock, seq); in d_walk()
1510 write_seqlock(&rename_lock); in d_set_mounted()
1530 write_sequnlock(&rename_lock); in d_set_mounted()
3037 write_seqlock(&rename_lock); in d_move()
3039 write_sequnlock(&rename_lock); in d_move()
3050 write_seqlock(&rename_lock); in d_exchange()
3059 write_sequnlock(&rename_lock); in d_exchange()
3159 write_seqlock(&rename_lock); in d_splice_alias()
3161 write_sequnlock(&rename_lock); in d_splice_alias()
[all …]
H A Dnamei.c1978 if (__read_seqcount_retry(&rename_lock.seqcount, nd->r_seq)) in handle_dots()
2370 nd->r_seq = __read_seqcount_begin(&rename_lock.seqcount); in path_init()
/openbmc/qemu/hw/9pfs/
H A D9p.h354 CoRwlock rename_lock; member
431 qemu_co_rwlock_wrlock(&s->rename_lock); in v9fs_path_write_lock()
439 qemu_co_rwlock_rdlock(&s->rename_lock); in v9fs_path_read_lock()
447 qemu_co_rwlock_unlock(&s->rename_lock); in v9fs_path_unlock()
H A D9p.c4250 qemu_co_rwlock_init(&s->rename_lock); in v9fs_device_realize_common()
/openbmc/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()
/openbmc/linux/include/linux/
H A Ddcache.h216 extern seqlock_t rename_lock;
/openbmc/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
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
1340 ``rename_lock`` and ``mount_lock`` are used to detect attacks against the
[all …]
H A Dlocking.rst37 ops rename_lock ->d_lock may block rcu-walk
/openbmc/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()
1668 if (rename_lock) in ocfs2_rename()
/openbmc/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()
/openbmc/linux/fs/ceph/
H A Dmds_client.c2632 seq = read_seqbegin(&rename_lock); in ceph_mdsc_build_path()
2711 if (read_seqretry(&rename_lock, seq)) in ceph_mdsc_build_path()