mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	Right now the task_struct pointer is used as the key to match a task, but in preparation for some io_kiocb changes, move it to using struct io_uring_task instead. No functional changes intended in this patch. Signed-off-by: Jens Axboe <axboe@kernel.dk>
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			486 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			486 B
		
	
	
	
		
			C
		
	
	
	
	
	
// SPDX-License-Identifier: GPL-2.0
 | 
						|
 | 
						|
#include "../kernel/exit.h"
 | 
						|
 | 
						|
struct io_waitid_async {
 | 
						|
	struct io_kiocb *req;
 | 
						|
	struct wait_opts wo;
 | 
						|
};
 | 
						|
 | 
						|
int io_waitid_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
 | 
						|
int io_waitid(struct io_kiocb *req, unsigned int issue_flags);
 | 
						|
int io_waitid_cancel(struct io_ring_ctx *ctx, struct io_cancel_data *cd,
 | 
						|
		     unsigned int issue_flags);
 | 
						|
bool io_waitid_remove_all(struct io_ring_ctx *ctx, struct io_uring_task *tctx,
 | 
						|
			  bool cancel_all);
 |