Home
last modified time | relevance | path

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

/Linux-v5.4/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()
141 if (!(m_seq & 1)) in prepend_path()
143 if (need_seqretry(&mount_lock, m_seq)) { in prepend_path()
144 m_seq = 1; in prepend_path()
147 done_seqretry(&mount_lock, m_seq); in prepend_path()
Dnamei.c494 unsigned seq, m_seq; member
614 int res = __legitimize_mnt(path->mnt, nd->m_seq); in legitimize_path()
717 if (unlikely(!legitimize_mnt(nd->path.mnt, nd->m_seq))) in unlazy_child()
1339 return !read_seqretry(&mount_lock, nd->m_seq) && in __follow_mount_rcu()
1370 if (unlikely(read_seqretry(&mount_lock, nd->m_seq))) in follow_dotdot_rcu()
1384 if (unlikely(read_seqretry(&mount_lock, nd->m_seq))) in follow_dotdot_rcu()
2184 nd->m_seq = read_seqbegin(&mount_lock); in path_init()
2195 nd->m_seq = read_seqbegin(&mount_lock); in path_init()
/Linux-v5.4/Documentation/filesystems/
Dpath-lookup.rst715 ``mount_lock`` and ``nd->m_seq``
725 ``struct nameidata`` in the ``m_seq`` field. This one lock and one
731 ``m_seq`` is checked (using ``read_seqretry()``) at the end of an RCU-walk