HomeFreeBSD

linuxkpi: Define `fd_file()`

Description

linuxkpi: Define fd_file()

This macro simply returns the file field of the struct fd.

The DRM generic code and the amdgpu driver started to use it in
Linux 6.12.

Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56440

Details

Provenance
dumbbellAuthored on Apr 11 2026, 3:18 PM
Reviewer
bz
Differential Revision
D56440: linuxkpi: Define `fd_file()`
Parents
rG84fc57a369df: linuxkpi: Add more `struct folio`-related functions
Branches
Unknown
Tags
Unknown