• Home
  • Raw
  • Download

Lines Matching refs:seq

507 	unsigned	seq, m_seq;  member
515 unsigned seq; member
625 struct path *path, unsigned seq) in legitimize_path() argument
638 return !read_seqcount_retry(&path->dentry->d_seq, seq); in legitimize_path()
646 if (unlikely(!legitimize_path(nd, &last->link, last->seq))) { in legitimize_links()
694 if (unlikely(!legitimize_path(nd, &nd->path, nd->seq))) in unlazy_walk()
723 static int unlazy_child(struct nameidata *nd, struct dentry *dentry, unsigned seq) in unlazy_child() argument
744 if (unlikely(read_seqcount_retry(&dentry->d_seq, seq))) in unlazy_child()
900 unsigned seq; in set_root() local
903 seq = read_seqcount_begin(&fs->seq); in set_root()
906 } while (read_seqcount_retry(&fs->seq, seq)); in set_root()
939 nd->seq = nd->root_seq; in nd_jump_root()
940 if (unlikely(read_seqcount_retry(&d->d_seq, nd->seq))) in nd_jump_root()
1448 unsigned seq; in follow_dotdot_rcu() local
1451 seq = read_seqcount_begin(&parent->d_seq); in follow_dotdot_rcu()
1452 if (unlikely(read_seqcount_retry(&old->d_seq, nd->seq))) in follow_dotdot_rcu()
1455 nd->seq = seq; in follow_dotdot_rcu()
1464 unsigned seq = read_seqcount_begin(&mountpoint->d_seq); in follow_dotdot_rcu() local
1473 nd->seq = seq; in follow_dotdot_rcu()
1486 nd->seq = read_seqcount_begin(&nd->path.dentry->d_seq); in follow_dotdot_rcu()
1656 unsigned seq; in lookup_fast() local
1658 dentry = __d_lookup_rcu(parent, &nd->last, &seq); in lookup_fast()
1671 if (unlikely(read_seqcount_retry(&dentry->d_seq, seq))) in lookup_fast()
1681 if (unlikely(__read_seqcount_retry(&parent->d_seq, nd->seq))) in lookup_fast()
1684 *seqp = seq; in lookup_fast()
1698 if (unlazy_child(nd, dentry, seq)) in lookup_fast()
1806 struct inode *inode, unsigned seq) in pick_link() argument
1821 if (unlikely(!legitimize_path(nd, link, seq))) { in pick_link()
1841 last->seq = seq; in pick_link()
1854 int flags, struct inode *inode, unsigned seq) in step_into() argument
1863 nd->seq = seq; in step_into()
1868 if (read_seqcount_retry(&path->dentry->d_seq, seq)) in step_into()
1871 return pick_link(nd, path, inode, seq); in step_into()
1878 unsigned seq; in walk_component() local
1891 err = lookup_fast(nd, &path, &inode, &seq); in walk_component()
1910 seq = 0; /* we are already out of RCU mode */ in walk_component()
1914 return step_into(nd, &path, flags, inode, seq); in walk_component()
2277 nd->seq = __read_seqcount_begin(&nd->path.dentry->d_seq); in path_init()
2278 nd->root_seq = nd->seq; in path_init()
2299 unsigned seq; in path_init() local
2302 seq = read_seqcount_begin(&fs->seq); in path_init()
2305 nd->seq = __read_seqcount_begin(&nd->path.dentry->d_seq); in path_init()
2306 } while (read_seqcount_retry(&fs->seq, seq)); in path_init()
2330 nd->seq = read_seqcount_begin(&nd->path.dentry->d_seq); in path_init()
2365 unsigned seq = nd->seq; in handle_lookup_down() local
2374 if (unlikely(!__follow_mount_rcu(nd, &path, &inode, &seq))) in handle_lookup_down()
2382 seq = 0; in handle_lookup_down()
2386 nd->seq = seq; in handle_lookup_down()
3375 unsigned seq; in do_last() local
3394 error = lookup_fast(nd, &path, &inode, &seq); in do_last()
3490 seq = 0; /* out of RCU mode, so the value doesn't matter */ in do_last()
3493 error = step_into(nd, &path, 0, inode, seq); in do_last()