Lines Matching full:caller
173 /// * Using the unsafe [`File::from_raw_file`] means that it is up to the caller to ensure that the
209 // SAFETY: To call this method, the caller passes us ownership of a normal refcount, so we in dec_ref()
245 // SAFETY: To call this method, the caller passes us ownership of a normal refcount, so we in dec_ref()
278 /// * The caller must ensure that `ptr` points at a valid file and that the file's refcount is
280 /// * The caller must ensure that if there is an active call to `fdget_pos` that did not take
284 // SAFETY: The caller guarantees that the pointer is not dangling and stays valid for the in from_raw_file()
287 // INVARIANT: The caller guarantees that there are no problematic `fdget_pos` calls. in from_raw_file()
297 /// This method is intended to be used together with [`LocalFile::fget`] when the caller knows
327 // SAFETY: The signature of this function ensures that the caller will only access the in cred()
352 /// * The caller must ensure that `ptr` points at a valid file and that the file's refcount is
354 /// * The caller must ensure that if there are active `fdget_pos` calls on this file, then they
358 // SAFETY: The caller guarantees that the pointer is not dangling and stays valid for the in from_raw_file()
361 // INVARIANT: The caller guarantees that there are no problematic `fdget_pos` calls. in from_raw_file()
371 // SAFETY: The caller provides a `&File`, and since it is a reference, it must point at a in deref()