Lines Matching full:safe
100 // runs. It is safe for that to happen on any thread, so it is ok for this type to be `Send`.
123 // SAFETY: Getting the current pointer is always safe. in current_raw()
130 /// [`current`] macro because it is safe.
164 /// safe.
203 // From system call context retrieving the `PidNamespace` for case (1) is always safe and in current_pid_ns()
225 // difficult to perform operations that are otherwise safe without holding a reference in current_pid_ns()
277 // SAFETY: It's always safe to call `task_uid` on a valid task. in uid()
283 // SAFETY: It's always safe to call `task_euid` on a valid task. in euid()
289 // SAFETY: It's always safe to call `signal_pending` on a valid task. in signal_pending()
316 // thus pass a null pointer. The underlying C function is safe to be used with NULL in tgid_nr_ns()
323 // SAFETY: It's always safe to call `wake_up_process` on a valid task, even if the task in wake_up()