Home
last modified time | relevance | path

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

/Linux-v6.1/fs/
Dd_path.c159 unsigned seq, m_seq = 0; in prepend_path() local
165 read_seqbegin_or_lock(&mount_lock, &m_seq); in prepend_path()
180 if (!(m_seq & 1)) in prepend_path()
182 if (need_seqretry(&mount_lock, m_seq)) { in prepend_path()
183 m_seq = 1; in prepend_path()
186 done_seqretry(&mount_lock, m_seq); in prepend_path()
Dnamei.c570 unsigned seq, next_seq, m_seq, r_seq; member
715 return __legitimize_path(path, seq, nd->m_seq); in legitimize_path()
811 res = __legitimize_mnt(nd->path.mnt, nd->m_seq); in try_to_unlazy_next()
1510 if (read_seqretry(&mount_lock, nd->m_seq)) in __follow_mount_rcu()
1514 if (read_seqretry(&mount_lock, nd->m_seq)) in __follow_mount_rcu()
1884 if (read_seqretry(&mount_lock, nd->m_seq)) in follow_dotdot_rcu()
1898 if (read_seqretry(&mount_lock, nd->m_seq)) in follow_dotdot_rcu()
1967 if (__read_seqcount_retry(&mount_lock.seqcount, nd->m_seq)) in handle_dots()
2360 nd->m_seq = __read_seqcount_begin(&mount_lock.seqcount); in path_init()
/Linux-v6.1/Documentation/filesystems/
Dpath-lookup.rst730 ``mount_lock`` and ``nd->m_seq``
740 ``struct nameidata`` in the ``m_seq`` field. This one lock and one
746 ``m_seq`` is checked (using ``read_seqretry()``) at the end of an RCU-walk