Searched refs:d_seq (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/Documentation/filesystems/ |
D | path-lookup.txt | 94 These members are also protected by d_seq seqlock, although this offers 96 using d_seq for synchronisation (see seqcount based lookups, below). 184 dentry seqlock (d_seq) is used to take a "coherent snapshot" of what the dentry 186 the next part of the path walk. When loading the coherent snapshot under d_seq, 201 provided that d_seq is rechecked after that operation is complete. 226 path string, rcu-walk uses a d_seq protected snapshot. When looking up a 227 child of this parent snapshot, we open d_seq critical section on the child 228 before closing d_seq critical section on the parent. This gives an interlocking 246 +---------------------+ rcu-walk begins here, we note d_seq, check the 254 | name: "home" | hash lookup, then note d_seq and compare name [all …]
|
/linux-4.1.27/fs/ |
D | dcache.c | 322 write_seqcount_invalidate(&dentry->d_seq); in dentry_rcuwalk_invalidate() 361 raw_write_seqcount_begin(&dentry->d_seq); in dentry_unlink_inode() 364 raw_write_seqcount_end(&dentry->d_seq); in dentry_unlink_inode() 1589 seqcount_init(&dentry->d_seq); in __d_alloc() 1749 raw_write_seqcount_begin(&dentry->d_seq); in __d_instantiate() 1751 raw_write_seqcount_end(&dentry->d_seq); in __d_instantiate() 2105 if (read_seqcount_retry(&dentry->d_seq, seq)) { in slow_dentry_cmp() 2191 seq = raw_seqcount_begin(&dentry->d_seq); in __d_lookup_rcu() 2457 write_seqcount_begin(&dentry->d_seq); in dentry_update_name_case() 2459 write_seqcount_end(&dentry->d_seq); in dentry_update_name_case() [all …]
|
D | namei.c | 583 if (read_seqcount_retry(&parent->d_seq, nd->seq)) in unlazy_walk() 589 if (read_seqcount_retry(&dentry->d_seq, nd->seq)) in unlazy_walk() 656 if (read_seqcount_retry(&dentry->d_seq, nd->seq)) { in complete_walk() 697 res = __read_seqcount_begin(&nd->root.dentry->d_seq); in set_root_rcu() 1181 nd->seq = read_seqcount_begin(&path->dentry->d_seq); in __follow_mount_rcu() 1210 seq = read_seqcount_begin(&parent->d_seq); in follow_dotdot_rcu() 1211 if (read_seqcount_retry(&old->d_seq, nd->seq)) in follow_dotdot_rcu() 1222 nd->seq = read_seqcount_begin(&nd->path.dentry->d_seq); in follow_dotdot_rcu() 1232 nd->seq = read_seqcount_begin(&nd->path.dentry->d_seq); in follow_dotdot_rcu() 1454 if (read_seqcount_retry(&dentry->d_seq, seq)) in lookup_fast() [all …]
|
/linux-4.1.27/include/linux/ |
D | dcache.h | 111 seqcount_t d_seq; /* per dentry seqlock */ member
|