1 // SPDX-License-Identifier: GPL-2.0-only
13 enum pid_type wo_type
;
17 struct waitid_info
*wo_info
;
19 struct rusage
*wo_rusage
;
21 wait_queue_entry_t child_wait
;
25 bool pid_child_should_wake(struct wait_opts
*wo
, struct task_struct
*p
);
26 long __do_wait(struct wait_opts
*wo
);
27 int kernel_waitid_prepare(struct wait_opts
*wo
, int which
, pid_t upid
,
28 struct waitid_info
*infop
, int options
,