Home
last modified time | relevance | path

Searched refs:d_seq (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/fs/
H A Ddcache.c358 seq = read_seqcount_begin(&dentry->d_seq); in take_dentry_name_snapshot()
446 raw_write_seqcount_begin(&dentry->d_seq); in dentry_unlink_inode()
449 raw_write_seqcount_end(&dentry->d_seq); in dentry_unlink_inode()
949 seq = raw_seqcount_begin(&dentry->d_seq); in dget_parent()
1912 raw_write_seqcount_end(&dentry->d_seq); in __d_instantiate()
2527 unsigned seq, r_seq, d_seq; in d_alloc_parallel() local
2542 if (read_seqcount_retry(&dentry->d_seq, d_seq)) { in d_alloc_parallel()
2678 raw_write_seqcount_end(&dentry->d_seq); in __d_add()
2812 write_seqcount_begin(&dentry->d_seq); in __d_move()
2845 write_seqcount_end(&target->d_seq); in __d_move()
[all …]
H A Dnamei.c781 return !read_seqcount_retry(&path->dentry->d_seq, seq); in __legitimize_path()
901 if (read_seqcount_retry(&dentry->d_seq, nd->next_seq)) in try_to_unlazy_next()
1046 if (read_seqcount_retry(&d->d_seq, nd->seq)) in nd_jump_root()
1395 *seqp = read_seqcount_begin(&mountpoint->d_seq); in choose_mountpoint_rcu()
1598 nd->next_seq = read_seqcount_begin(&dentry->d_seq); in __follow_mount_rcu()
1762 if (read_seqcount_retry(&parent->d_seq, nd->seq)) in lookup_fast()
2002 if (read_seqcount_retry(&path.dentry->d_seq, nd->next_seq)) in step_into()
2035 nd->next_seq = read_seqcount_begin(&parent->d_seq); in follow_dotdot_rcu()
2037 if (read_seqcount_retry(&old->d_seq, nd->seq)) in follow_dotdot_rcu()
2555 nd->seq = read_seqcount_begin(&nd->path.dentry->d_seq); in path_init()
[all …]
/linux-6.15/Documentation/filesystems/
H A Dpath-lookup.txt94 These members are also protected by d_seq seqlock, although this offers
96 using d_seq for synchronisation (see seqcount based lookups, below).
201 provided that d_seq is rechecked after that operation is complete.
226 path string, rcu-walk uses a d_seq protected snapshot. When looking up a
227 child of this parent snapshot, we open d_seq critical section on the child
246 +---------------------+ rcu-walk begins here, we note d_seq, check the
254 | name: "home" | hash lookup, then note d_seq and compare name
256 | children:"npiggin" | we now recheck the d_seq of dentry0. Then we
268 | name: "a.c" | We now take its d_lock, verify d_seq of this
274 re-checking its d_seq, and then incrementing its refcount is called
[all …]
H A Dpath-lookup.rst759 ``dentry->d_seq`` and ``nd->seq``
763 the per-dentry ``d_seq`` seqlock, and stores the sequence number in the
773 When not at a mount point, ``d_parent`` is followed and its ``d_seq`` is
776 ``d_seq``. Then, after finally finding a ``d_parent`` to follow, we must
846 handled immediately, such as ``mount_lock`` or one of the ``d_seq``
/linux-6.15/include/linux/
H A Ddcache.h94 seqcount_spinlock_t d_seq; /* per dentry seqlock */ member