Home
last modified time | relevance | path

Searched refs:rename_lock (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/fs/
H A Dd_path.c67 * It only checks the sequence number of the global rename_lock as any change
68 * in the dentry's d_seq will be preceded by changes in the rename_lock
70 * the whole pathname back-tracing sequence again by taking the rename_lock.
99 read_seqbegin_or_lock(&rename_lock, &seq); in prepend_path()
139 if (need_seqretry(&rename_lock, seq)) { in prepend_path()
143 done_seqretry(&rename_lock, seq); in prepend_path()
348 read_seqbegin_or_lock(&rename_lock, &seq); in __dentry_path()
362 if (need_seqretry(&rename_lock, seq)) { in __dentry_path()
366 done_seqretry(&rename_lock, seq); in __dentry_path()
H A Ddcache.c72 * arbitrary, since it's serialized on rename_lock
77 __cacheline_aligned_in_smp DEFINE_SEQLOCK(rename_lock);
79 EXPORT_SYMBOL(rename_lock); variable
1299 read_seqbegin_or_lock(&rename_lock, &seq); in d_walk()
1364 if (need_seqretry(&rename_lock, seq)) in d_walk()
1376 if (need_seqretry(&rename_lock, seq)) in d_walk()
1382 done_seqretry(&rename_lock, seq); in d_walk()
1440 * this reason take rename_lock and d_lock on dentry and ancestors.
1446 write_seqlock(&rename_lock); in d_set_mounted()
1466 write_sequnlock(&rename_lock); in d_set_mounted()
[all...]
H A Dnamei.c1848 if (unlikely(__read_seqcount_retry(&rename_lock.seqcount, nd->r_seq))) in handle_dots()
2237 nd->r_seq = __read_seqcount_begin(&rename_lock.seqcount); in path_init()
/kernel/linux/linux-6.6/fs/
H A Dd_path.c148 * It only checks the sequence number of the global rename_lock as any change
149 * in the dentry's d_seq will be preceded by changes in the rename_lock
151 * the whole pathname back-tracing sequence again by taking the rename_lock.
171 read_seqbegin_or_lock(&rename_lock, &seq); in prepend_path()
175 if (need_seqretry(&rename_lock, seq)) { in prepend_path()
179 done_seqretry(&rename_lock, seq); in prepend_path()
341 read_seqbegin_or_lock(&rename_lock, &seq); in __dentry_path()
352 if (need_seqretry(&rename_lock, seq)) { in __dentry_path()
356 done_seqretry(&rename_lock, seq); in __dentry_path()
H A Ddcache.c72 * arbitrary, since it's serialized on rename_lock
77 __cacheline_aligned_in_smp DEFINE_SEQLOCK(rename_lock);
79 EXPORT_SYMBOL(rename_lock); variable
1359 read_seqbegin_or_lock(&rename_lock, &seq); in d_walk()
1424 if (need_seqretry(&rename_lock, seq)) in d_walk()
1436 if (need_seqretry(&rename_lock, seq)) in d_walk()
1442 done_seqretry(&rename_lock, seq); in d_walk()
1500 * this reason take rename_lock and d_lock on dentry and ancestors.
1506 write_seqlock(&rename_lock); in d_set_mounted()
1526 write_sequnlock(&rename_lock); in d_set_mounted()
[all...]
H A Dnamei.c1978 if (__read_seqcount_retry(&rename_lock.seqcount, nd->r_seq)) in handle_dots()
2370 nd->r_seq = __read_seqcount_begin(&rename_lock.seqcount); in path_init()
/kernel/linux/linux-5.10/fs/nfs/
H A Dnamespace.c69 seq = read_seqbegin(&rename_lock); in nfs_path()
85 if (read_seqretry(&rename_lock, seq)) { in nfs_path()
126 if (read_seqretry(&rename_lock, seq)) in nfs_path()
/kernel/linux/linux-6.6/fs/nfs/
H A Dnamespace.c69 seq = read_seqbegin(&rename_lock); in nfs_path()
85 if (read_seqretry(&rename_lock, seq)) { in nfs_path()
126 if (read_seqretry(&rename_lock, seq)) in nfs_path()
/kernel/linux/linux-5.10/fs/autofs/
H A Dwaitq.c193 seq = read_seqbegin(&rename_lock); in autofs_getpath()
202 if (read_seqretry(&rename_lock, seq)) in autofs_getpath()
218 if (read_seqretry(&rename_lock, seq)) in autofs_getpath()
/kernel/linux/linux-5.10/fs/cifs/
H A Ddir.c115 seq = read_seqbegin(&rename_lock); in build_path_from_dentry_optional_prefix()
155 if (namelen != dfsplen + pplen || read_seqretry(&rename_lock, seq)) { in build_path_from_dentry_optional_prefix()
/kernel/linux/linux-5.10/include/linux/
H A Ddcache.h223 extern seqlock_t rename_lock;
/kernel/linux/linux-6.6/include/linux/
H A Ddcache.h216 extern seqlock_t rename_lock;
/kernel/linux/linux-5.10/fs/hmdfs/
H A Dhmdfs_dentryfile.c212 read_seqbegin_or_lock(&rename_lock, &seq); in hmdfs_dentry_path_raw()
227 if (need_seqretry(&rename_lock, seq)) { in hmdfs_dentry_path_raw()
231 done_seqretry(&rename_lock, seq); in hmdfs_dentry_path_raw()
297 read_seqbegin_or_lock(&rename_lock, &seq); in hmdfs_merge_dentry_path_raw()
312 if (need_seqretry(&rename_lock, seq)) { in hmdfs_merge_dentry_path_raw()
316 done_seqretry(&rename_lock, seq); in hmdfs_merge_dentry_path_raw()
/kernel/linux/linux-6.6/fs/hmdfs/
H A Dhmdfs_dentryfile.c213 read_seqbegin_or_lock(&rename_lock, &seq); in hmdfs_dentry_path_raw()
228 if (need_seqretry(&rename_lock, seq)) { in hmdfs_dentry_path_raw()
232 done_seqretry(&rename_lock, seq); in hmdfs_dentry_path_raw()
298 read_seqbegin_or_lock(&rename_lock, &seq); in hmdfs_merge_dentry_path_raw()
313 if (need_seqretry(&rename_lock, seq)) { in hmdfs_merge_dentry_path_raw()
317 done_seqretry(&rename_lock, seq); in hmdfs_merge_dentry_path_raw()
/kernel/linux/linux-5.10/fs/ocfs2/
H A Dnamei.c1202 int status = 0, rename_lock = 0, parents_locked = 0, target_exists = 0; in ocfs2_rename() local
1270 rename_lock = 1; in ocfs2_rename()
1662 if (rename_lock) in ocfs2_rename()
/kernel/linux/linux-6.6/fs/ocfs2/
H A Dnamei.c1205 int status = 0, rename_lock = 0, parents_locked = 0, target_exists = 0; in ocfs2_rename() local
1273 rename_lock = 1; in ocfs2_rename()
1666 if (rename_lock) in ocfs2_rename()
/kernel/linux/linux-5.10/kernel/
H A Dauditsc.c1861 seq = read_seqbegin(&rename_lock); in handle_path()
1879 if (unlikely(read_seqretry(&rename_lock, seq) || drop)) { /* in this order */ in handle_path()
/kernel/linux/linux-6.6/kernel/
H A Dauditsc.c2130 seq = read_seqbegin(&rename_lock); in handle_path()
2150 if (unlikely(read_seqretry(&rename_lock, seq) || drop)) { /* in this order */ in handle_path()
/kernel/linux/linux-5.10/fs/ceph/
H A Dmds_client.c2409 seq = read_seqbegin(&rename_lock); in ceph_mdsc_build_path()
2449 if (read_seqretry(&rename_lock, seq)) in ceph_mdsc_build_path()
/kernel/linux/linux-6.6/fs/ceph/
H A Dmds_client.c2630 seq = read_seqbegin(&rename_lock); in ceph_mdsc_build_path()
2709 if (read_seqretry(&rename_lock, seq)) in ceph_mdsc_build_path()

Completed in 65 milliseconds