Lines Matching full:target
43 * find the source and target
44 * decide which of the source and target need to be locked.
45 The source needs to be locked if it's a non-directory, target - if it's
48 if need to take both (that can happen only when both source and target
50 otherwise and the target because mixing directory and non-directory is
51 allowed only with RENAME_EXCHANGE, and that won't be removing the target).
59 * find the source and target.
60 * verify that the source is not a descendent of the target and
61 target is not a descendent of source; fail the operation otherwise.
62 * lock the subdirectories involved (exclusive), source before target.
242 parent of source, then try to lock the parent of target, only to have
244 descendent of the parent of target. At that point we have cross-directory
258 the source or, in case of exchange, possibly the target.
260 Since the operation has succeeded, neither source nor target could have
262 in the parent of source could not have passed through the target and
265 the operation. But everything other than source and target has kept
267 chains of ancestors of (ex-)parents of source and target. In particular,
271 source or target; the next node in the loop would be the ex-parent of
272 target or source resp. After that the loop would follow the chain of