mirror of
				https://github.com/torvalds/linux.git
				synced 2025-10-31 08:38:45 +02:00 
			
		
		
		
	 ce735e73dd
			
		
	
	
		ce735e73dd
		
	
	
	
	
		
			
			Implement the basic auxiliary abstractions required to implement a driver matching an auxiliary device. The design and implementation is analogous to PCI and platform and is based on the generic device / driver abstractions. Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Link: https://lore.kernel.org/r/20250414131934.28418-4-dakr@kernel.org [ Fix typos, `let _ =` => `drop()`, use `kernel::ffi`. - Danilo ] Signed-off-by: Danilo Krummrich <dakr@kernel.org>
		
			
				
	
	
		
			40 lines
		
	
	
	
		
			908 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
	
		
			908 B
		
	
	
	
		
			C
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0
 | |
| /*
 | |
|  * Non-trivial C macros cannot be used in Rust. Similarly, inlined C functions
 | |
|  * cannot be called either. This file explicitly creates functions ("helpers")
 | |
|  * that wrap those so that they can be called from Rust.
 | |
|  *
 | |
|  * Sorted alphabetically.
 | |
|  */
 | |
| 
 | |
| #include "auxiliary.c"
 | |
| #include "blk.c"
 | |
| #include "bug.c"
 | |
| #include "build_assert.c"
 | |
| #include "build_bug.c"
 | |
| #include "cpumask.c"
 | |
| #include "cred.c"
 | |
| #include "device.c"
 | |
| #include "err.c"
 | |
| #include "fs.c"
 | |
| #include "io.c"
 | |
| #include "jump_label.c"
 | |
| #include "kunit.c"
 | |
| #include "mutex.c"
 | |
| #include "page.c"
 | |
| #include "platform.c"
 | |
| #include "pci.c"
 | |
| #include "pid_namespace.c"
 | |
| #include "rbtree.c"
 | |
| #include "rcu.c"
 | |
| #include "refcount.c"
 | |
| #include "security.c"
 | |
| #include "signal.c"
 | |
| #include "slab.c"
 | |
| #include "spinlock.c"
 | |
| #include "sync.c"
 | |
| #include "task.c"
 | |
| #include "uaccess.c"
 | |
| #include "vmalloc.c"
 | |
| #include "wait.c"
 | |
| #include "workqueue.c"
 |