File Index
Files and directories
Sign in
FILE

resource.rst

File preview with syntax highlighting.

linux-6.19.14/Documentation/dev-tools/kunit/api/resource.rst RESTRUCTUREDTEXT
 1.. SPDX-License-Identifier: GPL-2.0
 2
 3============
 4Resource API
 5============
 6
 7This file documents the KUnit resource API.
 8
 9Most users won't need to use this API directly, power users can use it to store
10state on a per-test basis, register custom cleanup actions, and more.
11
12.. kernel-doc:: include/kunit/resource.h
13   :internal:
14
15Managed Devices
16---------------
17
18Functions for using KUnit-managed struct device and struct device_driver.
19Include ``kunit/device.h`` to use these.
20
21.. kernel-doc:: include/kunit/device.h
22   :internal:
~/ Read-only file preview.