Lines Matching refs:locked
999 static struct dentry *try_to_ascend(struct dentry *old, int locked, unsigned seq) in try_to_ascend() argument
1013 (!locked && read_seqretry(&rename_lock, seq))) { in try_to_ascend()
1040 int locked = 0; in have_submounts() local
1078 this_parent = try_to_ascend(this_parent, locked, seq); in have_submounts()
1085 if (!locked && read_seqretry(&rename_lock, seq)) in have_submounts()
1087 if (locked) in have_submounts()
1091 if (!locked && read_seqretry(&rename_lock, seq)) in have_submounts()
1093 if (locked) in have_submounts()
1098 if (locked) in have_submounts()
1100 locked = 1; in have_submounts()
1126 int locked = 0; in select_parent() local
1185 this_parent = try_to_ascend(this_parent, locked, seq); in select_parent()
1193 if (!locked && read_seqretry(&rename_lock, seq)) in select_parent()
1195 if (locked) in select_parent()
1202 if (locked) in select_parent()
1204 locked = 1; in select_parent()
2923 int locked = 0; in d_genocide() local
2961 this_parent = try_to_ascend(this_parent, locked, seq); in d_genocide()
2968 if (!locked && read_seqretry(&rename_lock, seq)) in d_genocide()
2970 if (locked) in d_genocide()
2975 if (locked) in d_genocide()
2977 locked = 1; in d_genocide()