Home
last modified time | relevance | path

Searched refs:m_seq (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/fs/
Dd_path.c83 unsigned seq, m_seq = 0; in prepend_path() local
89 read_seqbegin_or_lock(&mount_lock, &m_seq); in prepend_path()
145 if (!(m_seq & 1)) in prepend_path()
147 if (need_seqretry(&mount_lock, m_seq)) { in prepend_path()
148 m_seq = 1; in prepend_path()
151 done_seqretry(&mount_lock, m_seq); in prepend_path()
Dnamei.c508 unsigned seq, m_seq, r_seq; member
632 return __legitimize_path(path, seq, nd->m_seq); in legitimize_path()
732 if (unlikely(!legitimize_mnt(nd->path.mnt, nd->m_seq))) in unlazy_child()
1359 if (read_seqretry(&mount_lock, nd->m_seq)) in __follow_mount_rcu()
1740 if (unlikely(read_seqretry(&mount_lock, nd->m_seq))) in follow_dotdot_rcu()
1754 if (unlikely(read_seqretry(&mount_lock, nd->m_seq))) in follow_dotdot_rcu()
1834 if (unlikely(__read_seqcount_retry(&mount_lock.seqcount, nd->m_seq))) in handle_dots()
2220 nd->m_seq = __read_seqcount_begin(&mount_lock.seqcount); in path_init()
/kernel/linux/linux-5.10/Documentation/filesystems/
Dpath-lookup.rst731 ``mount_lock`` and ``nd->m_seq``
741 ``struct nameidata`` in the ``m_seq`` field. This one lock and one
747 ``m_seq`` is checked (using ``read_seqretry()``) at the end of an RCU-walk