Home
last modified time | relevance | path

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

/linux/fs/
H A Dd_path.c160 unsigned seq, m_seq = 0; in prepend_path() local
166 read_seqbegin_or_lock(&mount_lock, &m_seq); in prepend_path()
181 if (!(m_seq & 1)) in prepend_path()
183 if (need_seqretry(&mount_lock, m_seq)) { in prepend_path()
184 m_seq = 1; in prepend_path()
187 done_seqretry(&mount_lock, m_seq); in prepend_path()
H A Dnamei.c638 unsigned seq, next_seq, m_seq, r_seq; member
787 return __legitimize_path(path, seq, nd->m_seq); in legitimize_path()
883 res = __legitimize_mnt(nd->path.mnt, nd->m_seq); in try_to_unlazy_next()
1602 if (read_seqretry(&mount_lock, nd->m_seq)) in __follow_mount_rcu()
1606 if (read_seqretry(&mount_lock, nd->m_seq)) in __follow_mount_rcu()
2020 if (read_seqretry(&mount_lock, nd->m_seq)) in follow_dotdot_rcu()
2034 if (read_seqretry(&mount_lock, nd->m_seq)) in follow_dotdot_rcu()
2103 if (__read_seqcount_retry(&mount_lock.seqcount, nd->m_seq)) in handle_dots()
2537 nd->m_seq = __read_seqcount_begin(&mount_lock.seqcount); in path_init()
/linux/Documentation/filesystems/
H A 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